aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/verlihub-plugins
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-07-09 08:20:00 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-07-09 08:20:00 +0000
commitcf97b73c4044ae2d831e0eab70403c72d02cbdf4 (patch)
tree8c5761359fabd9b619f7d5f549d0cc315e847d81 /net-p2p/verlihub-plugins
parent6a50aaabf7b36bcf30c1a8c9b7352c39d9f487f8 (diff)
Notes
Diffstat (limited to 'net-p2p/verlihub-plugins')
-rw-r--r--net-p2p/verlihub-plugins/Makefile.plugins9
-rw-r--r--net-p2p/verlihub-plugins/pkg-message.plugins10
2 files changed, 19 insertions, 0 deletions
diff --git a/net-p2p/verlihub-plugins/Makefile.plugins b/net-p2p/verlihub-plugins/Makefile.plugins
index 8bde69bfbeb5..11bb8cd016fe 100644
--- a/net-p2p/verlihub-plugins/Makefile.plugins
+++ b/net-p2p/verlihub-plugins/Makefile.plugins
@@ -10,6 +10,8 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= verlihub
DISTNAME= ${PLUGIN_NAME}
+COMMENT?= ${PLUGIN_DESC} plugin for the VerliHub - a Direct Connect protocol server
+
BUILD_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub
RUN_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub
@@ -21,6 +23,13 @@ PLIST_FILES+= lib/lib${PLUGIN_NAME}_pi.a \
lib/lib${PLUGIN_NAME}_pi.so.0 \
etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so
+PKGMESSAGE= ${WRKDIR}/pkg-message
+PKGMESSAGE_TEMPLATE= ${PORTSDIR}/net-p2p/verlihub-plugins/pkg-message.plugins
+
+post-build::
+ @${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 \
diff --git a/net-p2p/verlihub-plugins/pkg-message.plugins b/net-p2p/verlihub-plugins/pkg-message.plugins
new file mode 100644
index 000000000000..f072803beb0a
--- /dev/null
+++ b/net-p2p/verlihub-plugins/pkg-message.plugins
@@ -0,0 +1,10 @@
+--------------------------------------------------------------------
+
+This port installs the %%PLUGIN_DESC%% VerliHub plugin.
+You need to restart your hub or manually load plugin with
+plugman commands.
+
+Visit http://www.verlihub-project.org/ for online manuals or
+http://www.verlihubforums.com/ for the project's forums.
+
+-------------------------------------------------------------------