aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/verlihub-plugins
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
parent3fcff410e09899aee60ad19d7581f643b01dad47 (diff)
downloadports-bb4db2752a5bce17b66f08a58f0d7448784158cc.tar.gz
ports-bb4db2752a5bce17b66f08a58f0d7448784158cc.zip
Notes
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}