diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2023-01-14 19:30:14 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2023-01-14 19:30:14 +0000 |
commit | 4784a824f3164ddfe15b1b52a06a7b6273a048ff (patch) | |
tree | 91d86e36821bdba2a91a69c3790671a230c5ea9e /mail/nextcloud-mail | |
parent | net-mgmt/ocsinventory-{server,ocsreports}: Update to 2.11.1 (diff) |
Mk/Uses/nextcloud.mk: Introduce USES= nextcloud
* Simplify's port creation for Nextcloud apps
* Convert existing ports to USES= nextcloud
Diffstat (limited to 'mail/nextcloud-mail')
-rw-r--r-- | mail/nextcloud-mail/Makefile | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/mail/nextcloud-mail/Makefile b/mail/nextcloud-mail/Makefile index 6e060b2eb81f..21b6a208ac2d 100644 --- a/mail/nextcloud-mail/Makefile +++ b/mail/nextcloud-mail/Makefile @@ -2,36 +2,18 @@ PORTNAME= mail PORTVERSION= 2.2.2 DISTVERSIONPREFIX= v CATEGORIES= mail -MASTER_SITES= https://github.com/nextcloud-releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ -PKGNAMEPREFIX= nextcloud- -PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -DIST_SUBDIR= nextcloud MAINTAINER= brnrd@FreeBSD.org COMMENT= Mail app for Nextcloud WWW= https://apps.nextcloud.com/apps/mail -LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=25:www/nextcloud@${PHP_FLAVOR} +NEXTCLOUD_RUN_DEPENDS= 25 -USES= cpe gettext php:flavors +USES= cpe gettext nextcloud php:flavors USE_PHP= imap -IGNORE_WITH_PHP= 82 CPE_VENDOR= nextcloud -NO_BUILD= yes -NO_ARCH= yes - -WRKSRC= ${WRKDIR}/${PORTNAME} -WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} - -do-install: - ${MKDIR} ${STAGEDIR}${WWWDIR} - (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) - (cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ - ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} - .include <bsd.port.mk> |