openbsd-ports/net/luasocket/Makefile
merdely 241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00

48 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2007/09/15 22:36:55 merdely Exp $
SHARED_ONLY= Yes
COMMENT= network support for the lua language
DISTNAME= luasocket-2.0.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
MASTER_SITES= http://luaforge.net/frs/download.php/1589/
HOMEPAGE= http://www.cs.princeton.edu/~diego/professional/luasocket/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
RUN_DEPENDS= :lua->=5.1:lang/lua
BUILD_DEPENDS= ${RUN_DEPENDS}
MAKE_FILE= makefile
SHAREDIR= ${PREFIX}/share/lua/5.1
LIBDIR= ${PREFIX}/lib/lua/5.1
do-install:
${INSTALL_DATA_DIR} ${SHAREDIR}/socket ${SHAREDIR}/mime
${INSTALL_DATA_DIR} ${LIBDIR}/socket ${LIBDIR}/mime
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luasocket
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/luasocket
${INSTALL_DATA} ${WRKSRC}/src/socket.so ${LIBDIR}/socket/core.so
${INSTALL_DATA} ${WRKSRC}/src/unix.so ${LIBDIR}/socket/unix.so
${INSTALL_DATA} ${WRKSRC}/src/mime.so ${LIBDIR}/mime/core.so
${INSTALL_DATA} ${WRKSRC}/src/socket.lua ${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/src/ltn12.lua ${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/src/mime.lua ${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/src/ftp.lua ${SHAREDIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/http.lua ${SHAREDIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/smtp.lua ${SHAREDIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/tp.lua ${SHAREDIR}/socket
${INSTALL_DATA} ${WRKSRC}/src/url.lua ${SHAREDIR}/socket
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/luasocket
${INSTALL_DATA} ${WRKSRC}/samples/* ${PREFIX}/share/examples/luasocket
.include <bsd.port.mk>