# Created by: Bernard Spil PORTNAME= contacts DISTVERSION= 4.0.8 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= https://github.com/nextcloud-releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DIST_SUBDIR= nextcloud WRKSRC= ${WRKDIR}/${PORTNAME} MAINTAINER= brnrd@FreeBSD.org COMMENT= Contacts app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR} USES= cpe php:flavors CPE_VENDOR= nextcloud NO_BUILD= yes NO_ARCH= yes 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