openbsd-ports/security/luacrypto/Makefile
jasper bc72675e29 - correctly update to 0.2.0
with gleydson soares
2011-04-18 18:12:47 +00:00

36 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/04/18 18:12:47 jasper Exp $
COMMENT= Lua binding for the OpenSSL crypto libraries
SHARED_ONLY= Yes
DISTNAME= luacrypto-0.2.0
REVISION= 0
CATEGORIES= security
MASTER_SITES= http://luaforge.net/frs/download.php/1722/
HOMEPAGE= http://luacrypto.luaforge.net/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
WANTLIB= crypto ssl
REGRESS_DEPENDS=security/luacrypto
CFLAGS+= -fPIC -DPIC
MODULES= lang/lua
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luacrypto
${INSTALL_DATA} ${WRKSRC}/doc/us/{*.html,*.png} \
${PREFIX}/share/doc/luacrypto
do-regress:
cd ${WRKDIST}/tests && \
${LOCALBASE}/bin/lua test.lua message
.include <bsd.port.mk>