openbsd-ports/devel/luacopas/Makefile
2008-06-11 05:04:37 +00:00

31 lines
796 B
Makefile

# $OpenBSD: Makefile,v 1.8 2008/06/11 05:04:37 landry Exp $
COMMENT= coroutine oriented portable asynchronous services for lua
V= 1.1.0
DISTNAME= copas-${V}
PKGNAME= luacopas-${V}p1
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/1768/
HOMEPAGE= http://www.keplerproject.org/copas/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/lua
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS+= ::net/luasocket
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/lua/5.1
${INSTALL_DATA} ${WRKSRC}/src/copas/copas.lua ${PREFIX}/share/lua/5.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luacopas
${INSTALL_DATA} ${WRKSRC}/doc/us/*.html ${WRKSRC}/doc/us/*.png \
${PREFIX}/share/doc/luacopas
.include <bsd.port.mk>