openbsd-ports/security/luacrypto/Makefile

36 lines
788 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.14 2013/03/11 11:41:25 espie Exp $
COMMENT= Lua binding for the OpenSSL crypto libraries
SHARED_ONLY= Yes
DISTNAME= luacrypto-0.2.0
2012-09-19 04:15:08 -04:00
REVISION= 3
CATEGORIES= security
MASTER_SITES= http://luaforge.net/frs/download.php/1722/
HOMEPAGE= http://luacrypto.luaforge.net/
# MIT
PERMIT_PACKAGE_CDROM= Yes
USE_GMAKE= Yes
WANTLIB= crypto ssl
2013-03-11 07:35:43 -04:00
MODLUA_TEST_DEPENDS=security/luacrypto
CFLAGS+= -fPIC -DPIC
MODULES= lang/lua
pre-configure:
${SUBST_CMD} ${WRKSRC}/config
do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/src/crypto.so ${MODLUA_LIBDIR}
2012-05-15 11:15:19 -04:00
${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/us/{*.html,*.png} ${MODLUA_DOCDIR}
2013-03-11 07:35:43 -04:00
do-test:
cd ${WRKDIST}/tests && ${MODLUA_BIN} test.lua message
.include <bsd.port.mk>