diff options
-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> |