aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/verlihub-plugins-luascript/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/verlihub-plugins-luascript/Makefile')
-rw-r--r--net-p2p/verlihub-plugins-luascript/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/net-p2p/verlihub-plugins-luascript/Makefile b/net-p2p/verlihub-plugins-luascript/Makefile
index fe6e40a82c3f..651424c80f4b 100644
--- a/net-p2p/verlihub-plugins-luascript/Makefile
+++ b/net-p2p/verlihub-plugins-luascript/Makefile
@@ -3,7 +3,7 @@
PORTNAME= luascript
PORTVERSION= 1.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p
PKGNAMEPREFIX= verlihub-plugins-
MASTER_SITES= SF/verlihub/VH_Lua/${DISTVERSION}
@@ -28,6 +28,7 @@ PLIST_DIRS= share/verlihub/scripts
OPTIONS_DEFINE= SOCKET
SOCKET_DESC= Build with LuaSocket support
+.include "../verlihub-plugins/Makefile.plugins"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSOCKET}
@@ -44,11 +45,6 @@ post-patch::
.endif
@${REINPLACE_CMD} -e 's|llua5\.1|llua-${LUA_VER}|g' \
${WRKSRC}/configure
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-
-post-patch::
@${REINPLACE_CMD} -e 's|for libpath in /|for libpath in ${PREFIX} /|g' ${WRKSRC}/config_lua
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>