aboutsummaryrefslogtreecommitdiff
path: root/security/lua-argon2/Makefile
blob: 27a896d6399bfed2d096cb38d6d112f8c8cda6e7 (plain) (blame)
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
26
PORTNAME=	argon2
DISTVERSION=	3.0.1
CATEGORIES=	security
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}

MAINTAINER=	mdw@FreeBSD.org
COMMENT=	Lua C binding for the Argon2 password hashing function
WWW=		https://github.com/thibaultcha/lua-argon2

LICENSE=	MIT

LIB_DEPENDS+=	libargon2.so:security/libargon2

USES=		compiler:c11 lua:module

USE_GITHUB=	yes
GH_ACCOUNT=	thibaultcha
GH_PROJECT=	lua-argon2

PLIST_FILES=	${LUA_MODLIBDIR}/argon2.so

do-install:
	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
	${INSTALL_LIB} ${WRKSRC}/argon2.so ${STAGEDIR}${LUA_MODLIBDIR}

.include <bsd.port.mk>