- 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
This commit is contained in:
Alexey Dokuchaev 2014-06-25 09:56:15 +00:00
parent 3fcff410e0
commit bb4db2752a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359214
18 changed files with 27 additions and 43 deletions

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= chatroom
@ -11,7 +11,6 @@ MAINTAINER= me@skylord.ru
PLUGIN_DESC= Chatroom
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
.include <bsd.port.post.mk>

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= floodprotect
@ -12,7 +12,6 @@ MAINTAINER= me@skylord.ru
PLUGIN_NAME= floodprot
PLUGIN_DESC= Floodprotect
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
DISTNAME= ${PLUGIN_NAME}

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= forbid
@ -11,7 +11,6 @@ MAINTAINER= me@skylord.ru
PLUGIN_DESC= ForbiddenWords
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
.include <bsd.port.post.mk>

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= iplog
@ -11,7 +11,6 @@ MAINTAINER= me@skylord.ru
PLUGIN_DESC= IPLog
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
.include <bsd.port.post.mk>

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= isp
@ -12,7 +12,6 @@ PLUGIN_DESC= ISP
PLIST_FILES= share/verlihub/default_pi_isp.sql
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
.include <bsd.port.post.mk>

View file

@ -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/

View file

@ -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>

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= messanger
@ -11,7 +11,6 @@ MAINTAINER= me@skylord.ru
PLUGIN_DESC= Messanger
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
.include <bsd.port.post.mk>

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= stats
@ -11,7 +11,6 @@ MAINTAINER= me@skylord.ru
PLUGIN_DESC= Statistics
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
.include <bsd.port.post.mk>

View file

@ -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/

View file

@ -1,4 +1,4 @@
# Created by: Skylord
# Created by: Mikle Davidkin <skylord@vt.net.ru>
# $FreeBSD$
PORTNAME= verlihub
@ -24,9 +24,6 @@ RUN_DEPENDS= \
${LOCALBASE}/lib/libstats_pi.so:${PORTSDIR}/net-p2p/verlihub-plugins-stats
NO_BUILD= yes
NO_STAGE= yes
do-install:
@${DO_NADA}
NO_INSTALL= yes
.include <bsd.port.mk>

View file

@ -31,15 +31,12 @@ post-patch::
@${REINPLACE_CMD} -e 's,echo aout,echo elf,' ${WRKSRC}/configure
post-build::
@${SED} -e 's,%%PLUGIN_DESC%%,${PLUGIN_DESC},' < ${PKGMESSAGE_TEMPLATE} \
> ${PKGMESSAGE}
@${SED} -e 's,%%PLUGIN_DESC%%,${PLUGIN_DESC},' < \
${PKGMESSAGE_TEMPLATE} > ${PKGMESSAGE}
post-install::
@${MKDIR} ${PREFIX}/etc/verlihub/plugins
@${LN} -sf ${PREFIX}/lib/lib${PLUGIN_NAME}_pi.so \
${PREFIX}/etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so
@if [ -f ${PKGMESSAGE} ]; then \
${CAT} ${PKGMESSAGE}; \
fi
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/verlihub/plugins
${LN} -sf ../../../lib/lib${PLUGIN_NAME}_pi.so \
${STAGEDIR}${PREFIX}/etc/verlihub/plugins
@${ECHO_CMD} '@unexec rmdir %D/etc/verlihub/plugins 2>/dev/null || true' >> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/etc/verlihub 2>/dev/null || true' >> ${TMPPLIST}