blob: 702edcb1347e1eb902be86ef179e01698b006e31 (
plain) (
tree)
|
|
PORTNAME= twofactor_webauthn
PORTVERSION= 0.2.10
CATEGORIES= security
PKGNAMEPREFIX= nextcloud-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= rosenke@dssgmbh.de
COMMENT= U2F webauthn app for Nextcloud
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=16:www/nextcloud@${PHP_FLAVOR}
USES= php:flavors
MASTER_SITES= https://github.com/michib/nextcloud_twofactor_webauthn/releases/download/v${PORTVERSION}/
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME}
PLIST_DIRS= ${WWWDIR}/vendor/bin \
${WWWDIR}/vendor/ramsey/collection/bin
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>
|