aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/verlihub-plugins-luascript
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-06-25 09:56:15 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-06-25 09:56:15 +0000
commitbb4db2752a5bce17b66f08a58f0d7448784158cc (patch)
tree42baf50680d39db4dc1bf7c9548c70a31635790e /net-p2p/verlihub-plugins-luascript
parent3fcff410e09899aee60ad19d7581f643b01dad47 (diff)
downloadports-bb4db2752a5bce17b66f08a58f0d7448784158cc.tar.gz
ports-bb4db2752a5bce17b66f08a58f0d7448784158cc.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
Notes
Notes: svn path=/head/; revision=359214
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/