diff options
author | rafan <rafan@FreeBSD.org> | 2007-07-09 16:20:00 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-07-09 16:20:00 +0800 |
commit | d1d6c1eea94d8c43023469d4e313647f3a6d23b7 (patch) | |
tree | 94d41d520df7b1053c48d350379b66a86bce77be /net-p2p/verlihub-plugins/Makefile.plugins | |
parent | d80c222c5d4bf93f9c3e77095b92e9f0150dface (diff) | |
download | freebsd-ports-gnome-d1d6c1eea94d8c43023469d4e313647f3a6d23b7.tar.gz freebsd-ports-gnome-d1d6c1eea94d8c43023469d4e313647f3a6d23b7.tar.zst freebsd-ports-gnome-d1d6c1eea94d8c43023469d4e313647f3a6d23b7.zip |
- Make pkg-message shared between these plugin ports
- Share COMMENT setting
Suggested by: sat
Reviewed by: sat
Approved by: Mikle Davidkin (maintainer)
Diffstat (limited to 'net-p2p/verlihub-plugins/Makefile.plugins')
-rw-r--r-- | net-p2p/verlihub-plugins/Makefile.plugins | 9 |
1 files changed, 9 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 \ |