diff options
Diffstat (limited to 'devel/lua-posix/Makefile')
-rw-r--r-- | devel/lua-posix/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/devel/lua-posix/Makefile b/devel/lua-posix/Makefile index 238bcaf406ba..37ec1872664c 100644 --- a/devel/lua-posix/Makefile +++ b/devel/lua-posix/Makefile @@ -5,23 +5,24 @@ # $FreeBSD$ # -PORTNAME= lua50-posix +PORTNAME= posix PORTVERSION= 5.0 CATEGORIES= devel MASTER_SITES= http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.0/ +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} DISTFILES= lposix.tar.gz MAINTAINER= andrew+ports@fubar.geek.nz COMMENT= A POSIX layer for Lua -BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua50 - +USE_LUA= 5.0 WRKSRC= ${WRKDIR}/posix +PLIST_FILES= %%LUA_MODSHAREDIR%%/posix.lua \ + %%LUA_MODLIBDIR%%/lposix.so + do-install: - @ ${MKDIR} ${PREFIX}/share/lua/5.0 - @ ${INSTALL_DATA} ${WRKSRC}/posix.lua ${PREFIX}/share/lua/5.0 - @ ${MKDIR} ${PREFIX}/lib/lua/5.0 - @ ${INSTALL_PROGRAM} ${WRKSRC}/lposix.so ${PREFIX}/lib/lua/5.0 + @${INSTALL_DATA} ${WRKSRC}/posix.lua ${LUA_MODSHAREDIR} + @${INSTALL_PROGRAM} ${WRKSRC}/lposix.so ${LUA_MODLIBDIR} .include <bsd.port.mk> |