pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/passphrase



Module Name:    pkgsrc
Committed By:   nikita
Date:           Tue Jun 16 11:02:44 UTC 2020

Modified Files:
        pkgsrc/security/passphrase: Makefile

Log Message:
security/passphrase: simplify, use application.mk


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/passphrase/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/passphrase/Makefile
diff -u pkgsrc/security/passphrase/Makefile:1.1 pkgsrc/security/passphrase/Makefile:1.2
--- pkgsrc/security/passphrase/Makefile:1.1     Tue Jun 16 10:30:32 2020
+++ pkgsrc/security/passphrase/Makefile Tue Jun 16 11:02:44 2020
@@ -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/passph
 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 l
 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