diff options
author | nikita <nikita@pkgsrc.org> | 2020-06-16 11:02:44 +0000 |
---|---|---|
committer | nikita <nikita@pkgsrc.org> | 2020-06-16 11:02:44 +0000 |
commit | aaba75e3b974e3043fe7e1d836655c38934e9560 (patch) | |
tree | 49f2c61d2289c310087458ba6136ba978e3df810 /security | |
parent | 53303e33990e967eb026645aa43d220a6ffce4a1 (diff) | |
download | pkgsrc-aaba75e3b974e3043fe7e1d836655c38934e9560.tar.gz |
security/passphrase: simplify, use application.mk
Diffstat (limited to 'security')
-rw-r--r-- | security/passphrase/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/security/passphrase/Makefile b/security/passphrase/Makefile index 60b9042525b..a035e6cd69d 100644 --- a/security/passphrase/Makefile +++ b/security/passphrase/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2020/06/16 10:30:32 nikita Exp $ +# $NetBSD: Makefile,v 1.2 2020/06/16 11:02:44 nikita Exp $ DISTNAME= 1.0.0 PKGNAME= passphrase-1.0.0 @@ -11,10 +11,6 @@ HOMEPAGE= https://git.sr.ht/~alva/passphrase COMMENT= Zero-dependency passphrase generator LICENSE= mit -USE_LANGUAGES= c - -BUILD_DEPENDS+= zig>=0.6:../../lang/zig - WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} SUBST_CLASSES+= mandir @@ -23,13 +19,5 @@ SUBST_MESSAGE.mandir= replacing mandir location SUBST_FILES.mandir= build.zig SUBST_SED.mandir+= -e 's,"share" ++ sep ++ "man","${PKGMANDIR}",g' -do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build -Drelease-fast - -do-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build install -Drelease-fast --prefix ${DESTDIR}${PREFIX} - -do-test: - cd ${WRKSRC} && ${SETENV} ${TEST_ENV} zig build test - +.include "../../lang/zig/application.mk" .include "../../mk/bsd.pkg.mk" |