diff options
author | Renato Botelho <garga@FreeBSD.org> | 2009-05-08 15:42:19 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2009-05-08 15:42:19 +0000 |
commit | ffe8054cc0f1ffe934da7f43fd966c15671f026b (patch) | |
tree | 314fc35a1927cbef49dcc9c687bc0ac28a6ea4c9 /devel/lua-sysctl | |
parent | c14c4b82ae410c28936cbb756abe3a134f8a7aba (diff) | |
download | ports-ffe8054cc0f1ffe934da7f43fd966c15671f026b.tar.gz ports-ffe8054cc0f1ffe934da7f43fd966c15671f026b.zip |
Notes
Diffstat (limited to 'devel/lua-sysctl')
-rw-r--r-- | devel/lua-sysctl/Makefile | 9 |
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> |