34 lines
829 B
Makefile
34 lines
829 B
Makefile
# $OpenBSD: Makefile,v 1.17 2012/09/19 08:15:08 jasper Exp $
|
|
|
|
PKG_ARCH = *
|
|
|
|
COMMENT= coroutine oriented portable asynchronous services for lua
|
|
DISTNAME= copas-1.1.6
|
|
PKGNAME= lua${DISTNAME}
|
|
REVISION= 1
|
|
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
|
|
MODLUA_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>
|