2007-09-15 22:52:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2007/09/16 02:53:01 merdely 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
|
2007-08-05 08:34:33 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
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
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
2006-10-11 17:03:24 -04:00
|
|
|
SHARED_ONLY= Yes
|
2006-12-17 06:56:56 -05:00
|
|
|
RUN_DEPENDS= ::lang/lua
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
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>
|