aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2023-01-14 19:30:14 +0000
committerBernard Spil <brnrd@FreeBSD.org>2023-01-14 19:30:14 +0000
commit4784a824f3164ddfe15b1b52a06a7b6273a048ff (patch)
tree91d86e36821bdba2a91a69c3790671a230c5ea9e /finance
parent0f63b7fec4d06588b49635bab46da189ab2b4668 (diff)
downloadports-4784a824f3164ddfe15b1b52a06a7b6273a048ff.tar.gz
ports-4784a824f3164ddfe15b1b52a06a7b6273a048ff.zip
Diffstat (limited to 'finance')
-rw-r--r--finance/nextcloud-cospend/Makefile20
1 files changed, 2 insertions, 18 deletions
diff --git a/finance/nextcloud-cospend/Makefile b/finance/nextcloud-cospend/Makefile
index e8b9a77e80e4..b5b150cbfa1e 100644
--- a/finance/nextcloud-cospend/Makefile
+++ b/finance/nextcloud-cospend/Makefile
@@ -2,31 +2,15 @@ PORTNAME= cospend
PORTVERSION= 1.5.4
CATEGORIES= finance www editors
MASTER_SITES= https://github.com/eneiluj/${PORTNAME}-nc/releases/download/v${PORTVERSION}/
-PKGNAMEPREFIX= nextcloud-
-PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
-DIST_SUBDIR= nextcloud
MAINTAINER= mr@FreeBSD.org
COMMENT= Cospend app for Nextcloud
WWW= https://apps.nextcloud.com/apps/cospend
-LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=25:www/nextcloud@${PHP_FLAVOR}
+NEXTCLOUD_RUN_DEPENDS= 25
-USES= php:flavors
-IGNORE_WITH_PHP= 82
-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}
+USES= nextcloud php:flavors
.include <bsd.port.mk>