openbsd-ports/net/luasocket/Makefile

43 lines
1.5 KiB
Makefile
Raw Normal View History

2012-05-15 16:36:28 -04:00
# $OpenBSD: Makefile,v 1.21 2012/05/15 20:36:28 jasper Exp $
SHARED_ONLY= Yes
COMMENT= network support for the lua language
2009-09-06 09:46:58 -04:00
DISTNAME= luasocket-2.0.2
2012-05-15 16:36:28 -04:00
REVISION= 1
CATEGORIES= net
2009-09-06 09:46:58 -04:00
MASTER_SITES= http://luaforge.net/frs/download.php/2664/
HOMEPAGE= http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/lua
NO_REGRESS= Yes
2005-11-25 10:09:44 -05:00
MAKE_FILE= makefile
do-install:
2010-06-18 13:59:06 -04:00
${INSTALL_DATA_DIR} ${MODLUA_DATADIR}/socket ${MODLUA_DATADIR}/mime
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}/socket ${MODLUA_LIBDIR}/mime
2012-05-15 11:15:19 -04:00
${INSTALL_DATA_DIR} ${MODLUA_DOCDIR} ${MODLUA_EXAMPLEDIR}
2010-06-18 13:59:06 -04:00
${INSTALL_DATA} ${WRKSRC}/src/socket.so ${MODLUA_LIBDIR}/socket/core.so
${INSTALL_DATA} ${WRKSRC}/src/unix.so ${MODLUA_LIBDIR}/socket/unix.so
${INSTALL_DATA} ${WRKSRC}/src/mime.so ${MODLUA_LIBDIR}/mime/core.so
${INSTALL_DATA} ${WRKSRC}/src/socket.lua ${MODLUA_DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/ltn12.lua ${MODLUA_DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/mime.lua ${MODLUA_DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/ftp.lua ${MODLUA_DATADIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/http.lua ${MODLUA_DATADIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/smtp.lua ${MODLUA_DATADIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/tp.lua ${MODLUA_DATADIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/url.lua ${MODLUA_DATADIR}/socket
2012-05-15 11:15:19 -04:00
${INSTALL_DATA} ${WRKSRC}/doc/* ${MODLUA_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${MODLUA_EXAMPLEDIR}
.include <bsd.port.mk>