freebsd-ports/security/lua-bcrypt/Makefile
Mathieu Arnold beb1c1fe19 USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored.  A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.

USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.

PR:		245038
Submitted by:	andrew tao11 riddles org uk
Reviewed by:	mat, kevans, russ haley gmail com
Approved by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D16494
2020-04-14 15:49:36 +00:00

28 lines
536 B
Makefile

# $FreeBSD$
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>