2011-04-18 14:12:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2011/04/18 18:12:47 jasper Exp $
|
2006-09-20 10:08:47 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= Lua binding for the OpenSSL crypto libraries
|
2007-07-04 15:18:45 -04:00
|
|
|
SHARED_ONLY= Yes
|
2006-09-20 10:08:47 -04:00
|
|
|
|
2011-04-16 07:58:43 -04:00
|
|
|
DISTNAME= luacrypto-0.2.0
|
2011-04-18 14:12:47 -04:00
|
|
|
REVISION= 0
|
2006-09-20 10:08:47 -04:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2011-04-18 14:12:47 -04:00
|
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/1722/
|
2006-09-20 10:08:47 -04:00
|
|
|
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
|
2011-04-18 14:12:47 -04:00
|
|
|
WANTLIB= crypto ssl
|
|
|
|
REGRESS_DEPENDS=security/luacrypto
|
2006-09-20 10:08:47 -04:00
|
|
|
CFLAGS+= -fPIC -DPIC
|
|
|
|
|
2008-06-11 01:04:37 -04:00
|
|
|
MODULES= lang/lua
|
2006-09-20 10:08:47 -04:00
|
|
|
|
2011-04-16 07:58:43 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luacrypto
|
2011-04-18 14:12:47 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/us/{*.html,*.png} \
|
2011-04-16 07:58:43 -04:00
|
|
|
${PREFIX}/share/doc/luacrypto
|
|
|
|
|
2011-04-18 14:12:47 -04:00
|
|
|
do-regress:
|
|
|
|
cd ${WRKDIST}/tests && \
|
|
|
|
${LOCALBASE}/bin/lua test.lua message
|
|
|
|
|
2006-09-20 10:08:47 -04:00
|
|
|
.include <bsd.port.mk>
|