pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/argon2 Install the manual page and the header...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/343bde05662b
branches:  trunk
changeset: 358952:343bde05662b
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Thu Feb 23 16:55:07 2017 +0000

description:
Install the manual page and the header file; throw in one buildlink3.mk
for good measure.

Bump PKGREVISION.

diffstat:

 security/argon2/Makefile      |   7 ++++++-
 security/argon2/PLIST         |   4 +++-
 security/argon2/buildlink3.mk |  13 +++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (60 lines):

diff -r 705189f151b1 -r 343bde05662b security/argon2/Makefile
--- a/security/argon2/Makefile  Thu Feb 23 14:47:57 2017 +0000
+++ b/security/argon2/Makefile  Thu Feb 23 16:55:07 2017 +0000
@@ -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 @@
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=P-H-C/}
 GITHUB_PROJECT=        phc-winner-argon2
 GITHUB_TAG=    20161029
+PKGREVISION=   1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://password-hashing.net/
@@ -23,8 +24,12 @@
 
 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 -r 705189f151b1 -r 343bde05662b security/argon2/PLIST
--- a/security/argon2/PLIST     Thu Feb 23 14:47:57 2017 +0000
+++ b/security/argon2/PLIST     Thu Feb 23 16:55:07 2017 +0000
@@ -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 -r 705189f151b1 -r 343bde05662b security/argon2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/argon2/buildlink3.mk     Thu Feb 23 16:55:07 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index