From d68b4bd7ca13f146581f71db04c65ed8dc2c144f Mon Sep 17 00:00:00 2001 From: garga Date: Fri, 8 May 2009 15:42:19 +0000 Subject: - Wrong version of the port was added, fixing now --- devel/lua-sysctl/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'devel/lua-sysctl') diff --git a/devel/lua-sysctl/Makefile b/devel/lua-sysctl/Makefile index c4fb2b513fad..f845a07cebc0 100644 --- a/devel/lua-sysctl/Makefile +++ b/devel/lua-sysctl/Makefile @@ -7,6 +7,7 @@ PORTNAME= lua-sysctl PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://files.kaworu.ch/ @@ -14,13 +15,17 @@ MAINTAINER= garga@FreeBSD.org COMMENT= A small sysctl(3) interface for lua USE_LUA= yes -PLIST_FILES= lib/lua-sysctl.so +PLIST_FILES= %%LUA_MODSHAREDIR%%/sysctl.lua \ + %%LUA_MODLIBDIR%%/sysctl/core.so +PLIST_DIRS= %%LUA_MODLIBDIR%%/sysctl post-patch: @${REINPLACE_CMD} -E '/^(C|LD)FLAGS/ s/=/+=/g' \ ${WRKSRC}/Makefile do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/sysctl/core.so ${PREFIX}/lib/lua-sysctl.so + ${MKDIR} ${LUA_MODLIBDIR}/sysctl + ${INSTALL_SCRIPT} ${WRKSRC}/sysctl.lua ${LUA_MODSHAREDIR}/sysctl.lua + ${INSTALL_SCRIPT} ${WRKSRC}/sysctl/core.so ${LUA_MODLIBDIR}/sysctl/core.so .include -- cgit