32 lines
803 B
Makefile
32 lines
803 B
Makefile
# $OpenBSD: Makefile,v 1.15 2012/05/15 15:16:29 jasper Exp $
|
|
|
|
COMMENT= coroutine oriented portable asynchronous services for lua
|
|
DISTNAME= copas-1.1.6
|
|
PKGNAME= lua${DISTNAME}
|
|
REVISION= 0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://github.com/downloads/keplerproject/copas/
|
|
|
|
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+= devel/coxpcall \
|
|
net/luasocket
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/copas/copas.lua ${MODLUA_DATADIR}
|
|
${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/us/*.html ${WRKSRC}/doc/us/*.png \
|
|
${MODLUA_DOCDIR}
|
|
|
|
.include <bsd.port.mk>
|