| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.10 2018/09/19 09:45:18 leot Exp $ | | 1 | # $NetBSD: Makefile,v 1.11 2018/09/23 12:39:19 leot Exp $ |
2 | | | 2 | |
3 | DISTNAME= password-store-1.7.3 | | 3 | DISTNAME= password-store-1.7.3 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 2 |
5 | CATEGORIES= security | | 5 | CATEGORIES= security |
6 | MASTER_SITES= http://git.zx2c4.com/password-store/snapshot/ | | 6 | MASTER_SITES= http://git.zx2c4.com/password-store/snapshot/ |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= imil@NetBSD.org | | 9 | MAINTAINER= imil@NetBSD.org |
10 | HOMEPAGE= https://www.passwordstore.org/ | | 10 | HOMEPAGE= https://www.passwordstore.org/ |
11 | COMMENT= Standard UNIX password manager | | 11 | COMMENT= Standard UNIX password manager |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | USE_LANGUAGES= # none | | 14 | USE_LANGUAGES= # none |
15 | NO_BUILD= yes | | 15 | NO_BUILD= yes |
16 | USE_TOOLS+= gmake pax bash:run | | 16 | USE_TOOLS+= gmake pax bash:run |
17 | | | 17 | |
| @@ -22,26 +22,27 @@ DEPENDS+= tree>=1.7.0:../../sysutils/tre | | | @@ -22,26 +22,27 @@ DEPENDS+= tree>=1.7.0:../../sysutils/tre |
22 | EGDIR= share/examples/password-store | | 22 | EGDIR= share/examples/password-store |
23 | INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 | | 23 | INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 |
24 | INSTALLATION_DIRS+= ${EGDIR}/contrib ${EGDIR}/completion | | 24 | INSTALLATION_DIRS+= ${EGDIR}/contrib ${EGDIR}/completion |
25 | | | 25 | |
26 | REPLACE_BASH+= src/password-store.sh | | 26 | REPLACE_BASH+= src/password-store.sh |
27 | REPLACE_BASH+= tests/*.sh | | 27 | REPLACE_BASH+= tests/*.sh |
28 | | | 28 | |
29 | SUBST_CLASSES+= fixsh | | 29 | SUBST_CLASSES+= fixsh |
30 | SUBST_STAGE.fixsh= pre-configure | | 30 | SUBST_STAGE.fixsh= pre-configure |
31 | SUBST_MESSAGE.fixsh= Fixing shell script | | 31 | SUBST_MESSAGE.fixsh= Fixing shell script |
32 | SUBST_FILES.fixsh= src/password-store.sh | | 32 | SUBST_FILES.fixsh= src/password-store.sh |
33 | SUBST_SED.fixsh+= -e 's,GETOPT="getopt",GETOPT="${PREFIX}/bin/getopt",' | | 33 | SUBST_SED.fixsh+= -e 's,GETOPT="getopt",GETOPT="${PREFIX}/bin/getopt",' |
34 | SUBST_SED.fixsh+= -e "s,SHRED=\"shred -f -z\",SHRED=\"${RM} -f -P\"," | | 34 | SUBST_SED.fixsh+= -e "s,SHRED=\"shred -f -z\",SHRED=\"${RM} -f -P\"," |
| | | 35 | SUBST_SED.fixsh+= -e 's,BASE64="base64",BASE64="${PREFIX}/bin/base64",' |
35 | | | 36 | |
36 | TEST_TARGET= test | | 37 | TEST_TARGET= test |
37 | | | 38 | |
38 | .include "options.mk" | | 39 | .include "options.mk" |
39 | | | 40 | |
40 | do-install: | | 41 | do-install: |
41 | ${INSTALL_SCRIPT} ${WRKSRC}/src/password-store.sh \ | | 42 | ${INSTALL_SCRIPT} ${WRKSRC}/src/password-store.sh \ |
42 | ${DESTDIR}${PREFIX}/bin/pass | | 43 | ${DESTDIR}${PREFIX}/bin/pass |
43 | ${INSTALL_SCRIPT} ${WRKSRC}/man/example-filter.sh \ | | 44 | ${INSTALL_SCRIPT} ${WRKSRC}/man/example-filter.sh \ |
44 | ${DESTDIR}${PREFIX}/${EGDIR} | | 45 | ${DESTDIR}${PREFIX}/${EGDIR} |
45 | ${INSTALL_MAN} ${WRKSRC}/man/pass.1 \ | | 46 | ${INSTALL_MAN} ${WRKSRC}/man/pass.1 \ |
46 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pass.1 | | 47 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pass.1 |
47 | cd ${WRKSRC}/contrib && \ | | 48 | cd ${WRKSRC}/contrib && \ |