freebsd-ports/security/nextcloud-passman/Makefile
2021-12-17 08:55:43 +00:00

33 lines
825 B
Makefile

# Created by: Bernard Spil <brnrd@freebsd.org>
PORTNAME= passman
PORTVERSION= 2.4.0
CATEGORIES= security
MASTER_SITES= https://releases.passman.cc/
PKGNAMEPREFIX= nextcloud-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Full featured password manager for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR}
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= php:flavors
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 <bsd.port.mk>