summaryrefslogtreecommitdiff
path: root/security/argon2/Makefile
blob: 06174aab8241ce160f421b5b1f3e06fa558b78b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.1 2015/11/05 08:50:33 wiz Exp $

DISTNAME=	phc-winner-argon2-20151102
PKGNAME=	${DISTNAME:S/phc-winner-//}
CATEGORIES=	security
MASTER_SITES=	https://password-hashing.net/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/p-h-c/phc-winner-argon2
COMMENT=	Password hash Argon2
LICENSE=	cc0-1.0-universal

WRKSRC=	${WRKDIR}/${DISTNAME:C/-2[0-9]*//}
USE_TOOLS+=	gmake
TEST_TARGET=	test
INSTALLATION_DIRS=	bin lib share/doc/argon2

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${DESTDIR}${PREFIX}/bin
	${INSTALL_LIB} ${WRKSRC}/libargon2.* ${DESTDIR}${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/argon2-specs.pdf ${DESTDIR}${PREFIX}/share/doc/argon2
	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/argon2

.include "../../mk/bsd.pkg.mk"