-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
33 lines (26 loc) · 844 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME= passman
PORTVERSION= 2.4.2
CATEGORIES= security
MASTER_SITES= https://releases.passman.cc/
PKGNAMEPREFIX= nextcloud-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= nextcloud
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Full featured password manager for Nextcloud
WWW= https://passman.cc
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR}
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}
.include <bsd.port.mk>