# Created by: Michael Reifenberger PORTNAME= cospend PORTVERSION= 1.4.5 DISTVERSIONPREFIX= v CATEGORIES= finance www editors MASTER_SITES= https://github.com/eneiluj/${PORTNAME}-nc/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-${PORTVERSION} DIST_SUBDIR= nextcloud MAINTAINER= mr@FreeBSD.org COMMENT= cospend app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=22:www/nextcloud@${PHP_FLAVOR} USES= php:flavors 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