1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

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
This commit is contained in:
Bernard Spil 2018-04-30 15:43:16 +00:00
parent 8768d9b13a
commit e1b6c2773f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468708
9 changed files with 27 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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