aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/verlihub-plugins
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
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')
-rw-r--r--net-p2p/verlihub-plugins/Makefile7
-rw-r--r--net-p2p/verlihub-plugins/Makefile.plugins13
2 files changed, 7 insertions, 13 deletions
diff --git a/net-p2p/verlihub-plugins/Makefile b/net-p2p/verlihub-plugins/Makefile
index 3be4f06df302..3abea31e308d 100644
--- a/net-p2p/verlihub-plugins/Makefile
+++ b/net-p2p/verlihub-plugins/Makefile
@@ -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>
diff --git a/net-p2p/verlihub-plugins/Makefile.plugins b/net-p2p/verlihub-plugins/Makefile.plugins
index a6ecbf02a22d..df19a5204080 100644
--- a/net-p2p/verlihub-plugins/Makefile.plugins
+++ b/net-p2p/verlihub-plugins/Makefile.plugins
@@ -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}