View | Details | Raw Unified | Return to bug 231769 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +6 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	nextcloud
3
PORTNAME=	nextcloud
4
DISTVERSION=	14.0.1
4
DISTVERSION=	14.0.1
5
PORTREVISION=	1
5
CATEGORIES=	www
6
CATEGORIES=	www
6
MASTER_SITES=	https://download.nextcloud.com/server/releases/
7
MASTER_SITES=	https://download.nextcloud.com/server/releases/
7
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
8
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
Lines 26-32 Link Here
26
PLIST_SUB=	NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
27
PLIST_SUB=	NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
27
		NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}
28
		NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}
28
29
29
OPTIONS_DEFINE=		EXIF IMAGICK LDAP PCNTL SMB SSL
30
OPTIONS_DEFINE=		EXIF IMAGICK INTL LDAP PCNTL SMB SSL
30
OPTIONS_GROUP=		CACHING
31
OPTIONS_GROUP=		CACHING
31
OPTIONS_GROUP_CACHING=	APCU MEMCACHED OPCACHE REDIS
32
OPTIONS_GROUP_CACHING=	APCU MEMCACHED OPCACHE REDIS
32
OPTIONS_MULTI=		DB
33
OPTIONS_MULTI=		DB
Lines 38-43 Link Here
38
DB_DESC=	Database backend(s)
39
DB_DESC=	Database backend(s)
39
EXIF_DESC=	Image rotation support
40
EXIF_DESC=	Image rotation support
40
IMAGICK_DESC=	Thumbnail support (recommended)
41
IMAGICK_DESC=	Thumbnail support (recommended)
42
INTL_DESC=	International character support (recommended)
41
MEMCACHED_DESC=	Distributed data caching using Memcached
43
MEMCACHED_DESC=	Distributed data caching using Memcached
42
OPCACHE_DESC=	Enable OPcode caching (recommended)
44
OPCACHE_DESC=	Enable OPcode caching (recommended)
43
PCNTL_DESC=	Long-running process control (recommended)
45
PCNTL_DESC=	Long-running process control (recommended)
Lines 45-50 Link Here
45
47
46
EXIF_USE=	PHP=exif
48
EXIF_USE=	PHP=exif
47
IMAGICK_RUN_DEPENDS=	${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR}
49
IMAGICK_RUN_DEPENDS=	${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR}
50
INTL_USE=	PHP=intl
48
LDAP_USE=	PHP=ldap
51
LDAP_USE=	PHP=ldap
49
MYSQL_USE=	PHP=pdo_mysql
52
MYSQL_USE=	PHP=pdo_mysql
50
OPCACHE_USE=	PHP=opcache
53
OPCACHE_USE=	PHP=opcache
Lines 58-66 Link Here
58
.include <bsd.port.pre.mk>
61
.include <bsd.port.pre.mk>
59
62
60
.if ${PHP_VER} >= 70
63
.if ${PHP_VER} >= 70
61
RUN_DEPENDS+=   ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
64
APCU_RUN_DEPENDS=   ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
62
.else
65
.else
63
RUN_DEPENDS+=   ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4@${PHP_FLAVOR}
66
APCU_RUN_DEPENDS=   ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4@${PHP_FLAVOR}
64
.endif
67
.endif
65
68
66
post-patch:
69
post-patch:

Return to bug 231769