2008-06-11 01:04:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2008/06/11 05:04:37 landry Exp $
|
2004-12-16 16:21:14 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= posix library for the lua language
|
2004-12-16 16:21:14 -05:00
|
|
|
|
2006-10-11 17:03:24 -04:00
|
|
|
DISTNAME= luaposix-20060408
|
2008-06-11 01:04:37 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2004-12-16 16:21:14 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2006-10-11 17:03:24 -04:00
|
|
|
MASTER_SITES= http://mirrors.protection.cx/~pedro/
|
2004-12-16 16:21:14 -05:00
|
|
|
HOMEPAGE= http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
|
|
|
|
|
|
|
|
# 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
|
2004-12-16 16:21:14 -05:00
|
|
|
NO_REGRESS= Yes
|
2006-10-11 17:03:24 -04:00
|
|
|
SHARED_ONLY= Yes
|
2004-12-16 16:21:14 -05:00
|
|
|
|
2006-10-11 17:03:24 -04:00
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} -fPIC -I${LOCALBASE}/include -shared\
|
|
|
|
${WRKDIST}/luaposix.c -o ${WRKDIST}/posix.so
|
2004-12-16 16:21:14 -05:00
|
|
|
|
|
|
|
do-install:
|
2006-10-11 17:03:24 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/posix.so ${PREFIX}/lib/lua/5.1
|
2004-12-16 16:21:14 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|