2012-05-15 16:36:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2012/05/15 20:36:28 jasper Exp $
|
2009-09-06 10:29:32 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= lua binding to OpenSSL to provide TLS/SSL communication
|
2011-06-10 11:04:23 -04:00
|
|
|
DISTNAME= luasec-0.4.1
|
2012-05-15 16:36:28 -04:00
|
|
|
REVISION= 1
|
2009-09-06 10:29:32 -04:00
|
|
|
CATEGORIES= security
|
2012-05-11 17:24:22 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/
|
2009-09-06 10:29:32 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.inf.puc-rio.br/~brunoos/luasec/
|
|
|
|
|
2011-06-10 11:04:23 -04:00
|
|
|
MAINTAINER= Gleydson Soares <gsoares@openbsd.org>
|
2009-09-06 10:29:32 -04:00
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= lang/lua
|
2010-07-25 19:36:15 -04:00
|
|
|
NO_REGRESS= Yes
|
2010-11-20 12:22:40 -05:00
|
|
|
RUN_DEPENDS+= net/luasocket
|
2009-09-06 10:29:32 -04:00
|
|
|
WANTLIB+= crypto ssl
|
|
|
|
|
|
|
|
MAKE_ENV+= INCDIR="-I${LOCALBASE}/include/" SAVECFLAGS="${CFLAGS}"
|
|
|
|
ALL_TARGET= bsd
|
|
|
|
|
|
|
|
do-install:
|
2012-05-15 11:15:19 -04:00
|
|
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR} ${MODLUA_EXAMPLEDIR}
|
2011-05-16 14:24:19 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/ssl.so ${MODLUA_LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/ssl.lua ${MODLUA_DATADIR}
|
2009-09-06 10:29:32 -04:00
|
|
|
cd ${WRKSRC}/samples && \
|
|
|
|
find . -type d \
|
2012-05-15 11:15:19 -04:00
|
|
|
-exec ${INSTALL_DATA_DIR} ${MODLUA_EXAMPLEDIR}/{} \; && \
|
2009-09-06 10:29:32 -04:00
|
|
|
find . ! -type d \
|
2012-05-15 11:15:19 -04:00
|
|
|
-exec ${INSTALL_DATA} -m 644 {} ${MODLUA_EXAMPLEDIR}/{} \;
|
2009-09-06 10:29:32 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|