aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2018-04-30 23:43:16 +0800
committerbrnrd <brnrd@FreeBSD.org>2018-04-30 23:43:16 +0800
commitfe5c46db75942ab2e63bc49f640f3e4bca18df9e (patch)
treebabc5affd1400420cab4e30d65d24593459e81f9 /mail
parentb54bc795c13c57c6a297006a7d02c309670ca265 (diff)
downloadfreebsd-ports-gnome-fe5c46db75942ab2e63bc49f640f3e4bca18df9e.tar.gz
freebsd-ports-gnome-fe5c46db75942ab2e63bc49f640f3e4bca18df9e.tar.zst
freebsd-ports-gnome-fe5c46db75942ab2e63bc49f640f3e4bca18df9e.zip
www/nextcloud: PHP-flavorize
- Create flavors for all PHP versions - Use releases dir (not pre-) PR: 227510 Approved by: mat Differential Revision: https://reviews.freebsd.org/D15235
Diffstat (limited to 'mail')
-rw-r--r--mail/nextcloud-mail/Makefile5
1 files changed, 3 insertions, 2 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