aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lua-sysctl
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2009-05-08 23:42:19 +0800
committergarga <garga@FreeBSD.org>2009-05-08 23:42:19 +0800
commitd68b4bd7ca13f146581f71db04c65ed8dc2c144f (patch)
tree1163796d40c403d70531403c837db03cfd8f66ea /devel/lua-sysctl
parent0e4222e79b364d1f91a86b63735f6ec54e86e4bd (diff)
downloadfreebsd-ports-gnome-d68b4bd7ca13f146581f71db04c65ed8dc2c144f.tar.gz
freebsd-ports-gnome-d68b4bd7ca13f146581f71db04c65ed8dc2c144f.tar.zst
freebsd-ports-gnome-d68b4bd7ca13f146581f71db04c65ed8dc2c144f.zip
- Wrong version of the port was added, fixing now
Diffstat (limited to 'devel/lua-sysctl')
-rw-r--r--devel/lua-sysctl/Makefile9
1 files changed, 7 insertions, 2 deletions
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 <bsd.port.mk>