openbsd-ports/devel/luaposix/Makefile

35 lines
756 B
Makefile
Raw Normal View History

2012-07-13 08:36:41 -04:00
# $OpenBSD: Makefile,v 1.18 2012/07/13 12:36:41 jasper 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
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/lua
2010-11-15 14:45:56 -05:00
REGRESS_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
2009-09-06 11:39:21 -04:00
do-regress:
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>