openbsd-ports/devel/luaposix/Makefile

32 lines
671 B
Makefile
Raw Normal View History

2013-03-11 06:50:00 -04:00
# $OpenBSD: Makefile,v 1.19 2013/03/11 10:50:11 espie Exp $
2004-12-16 16:21:14 -05:00
2009-09-06 11:39:21 -04:00
SHARED_ONLY= Yes
2004-12-16 16:21:14 -05:00
2009-09-06 11:39:21 -04:00
COMMENT= posix library for the lua language
DISTNAME= luaposix-5.1.4
2011-06-20 09:14:03 -04:00
EPOCH= 0
2012-07-13 08:36:41 -04:00
REVISION= 1
2004-12-16 16:21:14 -05:00
CATEGORIES= devel
2009-09-06 11:39:21 -04:00
MASTER_SITES= http://luaforge.net/frs/download.php/3572/
2004-12-16 16:21:14 -05:00
2009-09-06 11:39:21 -04:00
HOMEPAGE= http://luaforge.net/projects/luaposix/
2004-12-16 16:21:14 -05:00
# Public domain
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/lua
2013-03-11 06:50:00 -04:00
TEST_DEPENDS=${BUILD_PKGPATH}
2004-12-16 16:21:14 -05:00
2006-10-11 17:03:24 -04:00
do-build:
${CC} ${CFLAGS} -fPIC -I${MODLUA_INCL_DIR} -shared \
2009-09-06 11:39:21 -04:00
${WRKDIST}/lposix.c -o ${WRKDIST}/posix.so
2004-12-16 16:21:14 -05:00
do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/posix.so ${MODLUA_LIBDIR}
2004-12-16 16:21:14 -05:00
2013-03-11 06:50:00 -04:00
do-test:
cd ${WRKSRC} && ${MODLUA_BIN} *.lua
2009-09-06 11:39:21 -04:00
2004-12-16 16:21:14 -05:00
.include <bsd.port.mk>