summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/nextcloud-mail/Makefile5
-rw-r--r--security/nextcloud-passman/Makefile5
-rw-r--r--security/nextcloud-twofactor_totp/Makefile5
-rw-r--r--security/nextcloud-twofactor_u2f/Makefile5
-rw-r--r--www/nextcloud-calendar/Makefile5
-rw-r--r--www/nextcloud-contacts/Makefile5
-rw-r--r--www/nextcloud-notes/Makefile5
-rw-r--r--www/nextcloud-tasks/Makefile5
-rw-r--r--www/nextcloud/Makefile5
9 files changed, 27 insertions, 18 deletions
diff --git a/mail/nextcloud-mail/Makefile b/mail/nextcloud-mail/Makefile
index 1c770483e909..94e4aee58213 100644
--- a/mail/nextcloud-mail/Makefile
+++ b/mail/nextcloud-mail/Makefile
@@ -8,6 +8,7 @@ DISTVERSIONPREFIX= v
CATEGORIES= mail
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -16,9 +17,9 @@ COMMENT= Mail app for Nextcloud
LICENSE= AGPLv3
-RUN_DEPENDS= nextcloud>=13:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=13:www/nextcloud@${PHP_FLAVOR}
-USES= gettext php
+USES= gettext php:flavors
USE_PHP= imap
NO_BUILD= yes
diff --git a/security/nextcloud-passman/Makefile b/security/nextcloud-passman/Makefile
index 082f0a796d7f..c5afbe015874 100644
--- a/security/nextcloud-passman/Makefile
+++ b/security/nextcloud-passman/Makefile
@@ -7,6 +7,7 @@ PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://releases.passman.cc/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= brnrd@freebsd.org
@@ -15,11 +16,11 @@ COMMENT= Full featured password manager for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= nextcloud>=9:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=9:www/nextcloud@${PHP_FLAVOR}
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/security/nextcloud-twofactor_totp/Makefile b/security/nextcloud-twofactor_totp/Makefile
index 30ad80acead0..9b9e739de3de 100644
--- a/security/nextcloud-twofactor_totp/Makefile
+++ b/security/nextcloud-twofactor_totp/Makefile
@@ -7,6 +7,7 @@ PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -16,9 +17,9 @@ COMMENT= TOTP multi-factor auth app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= nextcloud>=13:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=13:www/nextcloud@${PHP_FLAVOR}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/security/nextcloud-twofactor_u2f/Makefile b/security/nextcloud-twofactor_u2f/Makefile
index dbc60e33808d..771d447c5583 100644
--- a/security/nextcloud-twofactor_u2f/Makefile
+++ b/security/nextcloud-twofactor_u2f/Makefile
@@ -7,6 +7,7 @@ PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -16,9 +17,9 @@ COMMENT= U2F multi-factor auth app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= nextcloud>=13.0.1:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=13.0.1:www/nextcloud@${PHP_FLAVOR}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/nextcloud-calendar/Makefile b/www/nextcloud-calendar/Makefile
index a42476832d32..279e1507c3e0 100644
--- a/www/nextcloud-calendar/Makefile
+++ b/www/nextcloud-calendar/Makefile
@@ -8,6 +8,7 @@ DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -16,9 +17,9 @@ COMMENT= Calendar app for Nextcloud
LICENSE= AGPLv3
-RUN_DEPENDS= nextcloud>=13:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=13:www/nextcloud@${PHP_FLAVOR}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/nextcloud-contacts/Makefile b/www/nextcloud-contacts/Makefile
index 032ca073425a..c2973f326290 100644
--- a/www/nextcloud-contacts/Makefile
+++ b/www/nextcloud-contacts/Makefile
@@ -8,6 +8,7 @@ DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -16,9 +17,9 @@ COMMENT= Contacts app for Nextcloud
LICENSE= AGPLv3
-RUN_DEPENDS= nextcloud>=12:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=12:www/nextcloud@${PHP_FLAVOR}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/nextcloud-notes/Makefile b/www/nextcloud-notes/Makefile
index b6ac8875e8a0..72411df1aae5 100644
--- a/www/nextcloud-notes/Makefile
+++ b/www/nextcloud-notes/Makefile
@@ -8,6 +8,7 @@ DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -17,9 +18,9 @@ COMMENT= Notes app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= nextcloud>=9:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=9:www/nextcloud@${PHP_FLAVOR}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/nextcloud-tasks/Makefile b/www/nextcloud-tasks/Makefile
index 9f2497e23ba1..2656835c60db 100644
--- a/www/nextcloud-tasks/Makefile
+++ b/www/nextcloud-tasks/Makefile
@@ -8,6 +8,7 @@ DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
PKGNAMEPREFIX= nextcloud-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}
@@ -17,9 +18,9 @@ COMMENT= Tasks app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= nextcloud>=12:www/nextcloud
+RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=12:www/nextcloud@${PHP_FLAVOR}
-USES= php
+USES= php:flavors
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile
index 89bc5b409a07..d4ccadea05f8 100644
--- a/www/nextcloud/Makefile
+++ b/www/nextcloud/Makefile
@@ -3,14 +3,15 @@
PORTNAME= nextcloud
DISTVERSION= 13.0.2
CATEGORIES= www
-MASTER_SITES= https://download.nextcloud.com/server/prereleases/
+MASTER_SITES= https://download.nextcloud.com/server/releases/
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Personal cloud which runs on your own server
LICENSE= AGPLv3
-USES= cpe gettext-runtime php:web tar:bzip2 ssl
+USES= cpe gettext-runtime php:flavors,web tar:bzip2 ssl
USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv json \
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
xsl wddx zip zlib