openbsd-ports/devel/luacopas/Makefile

36 lines
1019 B
Makefile
Raw Normal View History

2005-08-02 13:31:30 -04:00
# $OpenBSD: Makefile,v 1.3 2005/08/02 17:31:30 pedro Exp $
COMMENT= "coroutine oriented portable asynchronous services for lua"
2005-05-24 18:34:47 -04:00
DISTNAME= copas-1.0
2005-08-02 13:31:30 -04:00
PKGNAME= luacopas-1.0p0
CATEGORIES= devel
2005-08-02 13:31:30 -04:00
MASTER_SITES= http://luaforge.net/frs/download.php/823/
HOMEPAGE= http://www.keplerproject.org/copas/
MAINTAINER= Pedro Martelletto <pedro@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS= ::lang/lua ::devel/luacompat ::net/luasocket
post-extract:
@sed -e "s:@copaspath@:${PREFIX}/lua/luacopas/?.lua:g" \
${FILESDIR}/init.lua > ${WRKSRC}/init.lua
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lua/luacopas
${INSTALL_DATA} ${WRKSRC}/init.lua ${PREFIX}/lua/luacopas
2005-08-02 13:31:30 -04:00
${INSTALL_DATA} ${WRKSRC}/src/copas/copas.lua ${PREFIX}/lua/luacopas
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luacopas
2005-08-02 13:31:30 -04:00
${INSTALL_DATA} ${WRKSRC}/doc/us/*.html ${WRKSRC}/doc/us/*.png \
${PREFIX}/share/doc/luacopas
.include <bsd.port.mk>