2011-06-20 09:14:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2011/06/20 13:14:03 sthen 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
|
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/
|
|
|
|
|
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
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
|
|
|
|
|
2008-06-11 01:04:37 -04:00
|
|
|
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:
|
2009-09-06 11:39:21 -04:00
|
|
|
${CC} ${CFLAGS} -fPIC -I${LOCALBASE}/include -shared \
|
|
|
|
${WRKDIST}/lposix.c -o ${WRKDIST}/posix.so
|
2004-12-16 16:21:14 -05:00
|
|
|
|
|
|
|
do-install:
|
2010-06-15 18:05:58 -04:00
|
|
|
${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} && ${LOCALBASE}/bin/lua *.lua
|
|
|
|
|
2004-12-16 16:21:14 -05:00
|
|
|
.include <bsd.port.mk>
|