Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/passphrase security/passphrase: simplify, use...
details: https://anonhg.NetBSD.org/pkgsrc/rev/265aaeb7279a
branches: trunk
changeset: 434422:265aaeb7279a
user: nikita <nikita%pkgsrc.org@localhost>
date: Tue Jun 16 11:02:44 2020 +0000
description:
security/passphrase: simplify, use application.mk
diffstat:
security/passphrase/Makefile | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (35 lines):
diff -r 6e679894d8db -r 265aaeb7279a security/passphrase/Makefile
--- a/security/passphrase/Makefile Tue Jun 16 11:01:42 2020 +0000
+++ b/security/passphrase/Makefile Tue Jun 16 11:02:44 2020 +0000
@@ -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 @@
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_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"
Home |
Main Index |
Thread Index |
Old Index