aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/verlihub-plugins-luascript
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-06-25 17:56:15 +0800
committerdanfe <danfe@FreeBSD.org>2014-06-25 17:56:15 +0800
commit7679cef65aac6043620ebd1c56b00498f910e81b (patch)
tree42baf50680d39db4dc1bf7c9548c70a31635790e /net-p2p/verlihub-plugins-luascript
parentd321422d910f02aa2c9da7acbb9e08698d8d0599 (diff)
downloadfreebsd-ports-gnome-7679cef65aac6043620ebd1c56b00498f910e81b.tar.gz
freebsd-ports-gnome-7679cef65aac6043620ebd1c56b00498f910e81b.tar.zst
freebsd-ports-gnome-7679cef65aac6043620ebd1c56b00498f910e81b.zip
- Fix the build of verlihub-plugins-luascript: careless patching with sed(1)
resulted in wrong HAVE_LUA_5_0 (instead of correct HAVE_LUA_5_1) macro to be defined in generated `config.h' header file - Stagify and cleanup all verlihub-plugins* ports while I'm at here
Diffstat (limited to 'net-p2p/verlihub-plugins-luascript')
-rw-r--r--net-p2p/verlihub-plugins-luascript/Makefile13
-rw-r--r--net-p2p/verlihub-plugins-luascript/pkg-descr2
2 files changed, 6 insertions, 9 deletions
diff --git a/net-p2p/verlihub-plugins-luascript/Makefile b/net-p2p/verlihub-plugins-luascript/Makefile
index deb8099011b1..e0e4be422e47 100644
--- a/net-p2p/verlihub-plugins-luascript/Makefile
+++ b/net-p2p/verlihub-plugins-luascript/Makefile
@@ -1,4 +1,4 @@
-# Created by: Skylord
+# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= luascript
@@ -9,8 +9,6 @@ MASTER_SITES= SF/verlihub/VH_Lua/${DISTVERSION}
MAINTAINER= me@skylord.ru
-BROKEN= Fails to build
-
PLUGIN_NAME= lua
PLUGIN_DESC= LuaScript
@@ -21,15 +19,14 @@ CXXFLAGS+= ${LDFLAGS}
CPPFLAGS+= -I${LUA_INCDIR}
LDFLAGS+= -L${LUA_LIBDIR}
-OPTIONS_DEFINE= SOCKET
-SOCKET_DESC= Build with LuaSocket support
-
PLIST_FILES= share/verlihub/scripts/ptokax.lua.inc \
share/verlihub/scripts/ptokaxtest.lua \
share/verlihub/scripts/script.lua
PLIST_DIRS= share/verlihub/scripts
-NO_STAGE= yes
+OPTIONS_DEFINE= SOCKET
+SOCKET_DESC= Build with LuaSocket support
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSOCKET}
@@ -44,7 +41,7 @@ post-patch::
-e 's|-lluamime|${LUA_MODLIBDIR}/mime/core.so|g' \
${WRKSRC}/configure
.endif
- @${REINPLACE_CMD} -e 's|llua50|llua-${LUA_VER}|g' \
+ @${REINPLACE_CMD} -e 's|llua5\.1|llua-${LUA_VER}|g' \
${WRKSRC}/configure
.include <bsd.port.pre.mk>
diff --git a/net-p2p/verlihub-plugins-luascript/pkg-descr b/net-p2p/verlihub-plugins-luascript/pkg-descr
index 56c1010425f6..bf26d1ea8eb7 100644
--- a/net-p2p/verlihub-plugins-luascript/pkg-descr
+++ b/net-p2p/verlihub-plugins-luascript/pkg-descr
@@ -5,5 +5,5 @@ It is written in c++, has relatively low CPU and RAM usage,
and has many useful features. It also uses a MySQL Database.
Additional functionality is available through a versatile
'plugin' system.
-
+
WWW: http://www.verlihub-project.org/