summaryrefslogtreecommitdiff
path: root/security/lua-bcrypt/Makefile
blob: 320cdc90b333a055b3ab89c3d3662c87cffe0106 (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
PORTNAME=	bcrypt
DISTVERSIONPREFIX=	v
DISTVERSION=	2.1-4
PORTREVISION=	2
CATEGORIES=	security
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}

MAINTAINER=	mdw@FreeBSD.org
COMMENT=	Library providing OpenBSD's bcrypt hash function for Lua

LICENSE=	ISCL

USES=		compiler:c11 gmake lua:module

USE_GITHUB=	yes
GH_ACCOUNT=	mikejsavage
GH_PROJECT=	lua-bcrypt

PLIST_FILES=	${LUA_MODLIBDIR}/bcrypt.so

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

.include <bsd.port.mk>