diff options
author | kleink <kleink@pkgsrc.org> | 2017-02-23 16:55:07 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 2017-02-23 16:55:07 +0000 |
commit | 12da661264f0c2893b3ec7aecba20ddf9e087958 (patch) | |
tree | 9c5a888fbed3738a1e016af2f7f89c289c5a6745 /security | |
parent | 85cf10bafd93380e86beba7763708c724263c365 (diff) | |
download | pkgsrc-12da661264f0c2893b3ec7aecba20ddf9e087958.tar.gz |
Install the manual page and the header file; throw in one buildlink3.mk
for good measure.
Bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r-- | security/argon2/Makefile | 7 | ||||
-rw-r--r-- | security/argon2/PLIST | 4 | ||||
-rw-r--r-- | security/argon2/buildlink3.mk | 13 |
3 files changed, 22 insertions, 2 deletions
diff --git a/security/argon2/Makefile b/security/argon2/Makefile index 7f55bafc745..863fbaf14b1 100644 --- a/security/argon2/Makefile +++ b/security/argon2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2017/02/21 22:00:51 kleink Exp $ +# $NetBSD: Makefile,v 1.3 2017/02/23 16:55:07 kleink Exp $ DISTNAME= ${GITHUB_PROJECT} PKGNAME= ${DISTNAME:S/phc-winner-//}-${GITHUB_TAG} @@ -6,6 +6,7 @@ CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GITHUB:=P-H-C/} GITHUB_PROJECT= phc-winner-argon2 GITHUB_TAG= 20161029 +PKGREVISION= 1 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://password-hashing.net/ @@ -23,8 +24,12 @@ PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX:Q} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/include/argon2.h ${DESTDIR}${PREFIX}/include ${INSTALL_LIB} ${WRKSRC}/libargon2.a ${DESTDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/libargon2.${SO_SUFFIX} ${DESTDIR}${PREFIX}/lib + ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/man/argon2.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_DATA} ${WRKSRC}/argon2-specs.pdf ${DESTDIR}${PREFIX}/share/doc/argon2 ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/argon2 diff --git a/security/argon2/PLIST b/security/argon2/PLIST index 15affb79869..5e97b6e4678 100644 --- a/security/argon2/PLIST +++ b/security/argon2/PLIST @@ -1,6 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2017/02/21 22:00:51 kleink Exp $ +@comment $NetBSD: PLIST,v 1.3 2017/02/23 16:55:07 kleink Exp $ bin/argon2 +include/argon2.h lib/libargon2.a lib/libargon2.${SO_SUFFIX} +man/man1/argon2.1 share/doc/argon2/README.md share/doc/argon2/argon2-specs.pdf diff --git a/security/argon2/buildlink3.mk b/security/argon2/buildlink3.mk new file mode 100644 index 00000000000..d93ceee6e60 --- /dev/null +++ b/security/argon2/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/02/23 16:55:07 kleink Exp $ + +BUILDLINK_TREE+= argon2 + +.if !defined(ARGON2_BUILDLINK3_MK) +ARGON2_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.argon2+= argon2>=20161029nb1 +BUILDLINK_ABI_DEPENDS.argon2+= argon2>=20161029nb1 +BUILDLINK_PKGSRCDIR.argon2?= ../../security/argon2 +.endif # ARGON2_BUILDLINK3_MK + +BUILDLINK_TREE+= -argon2 |