aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2010-01-27 11:47:13 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2010-01-27 11:47:13 +0000
commitd3ee5617929f57c89dc6826b0f804b0ac27c5285 (patch)
tree4fac784c95a26e5735aec88964ee85810bd91cf4 /net-p2p
parentd36f01ba70b5ea10e0f7a9fe2910a572277cb639 (diff)
downloadports-d3ee5617929f57c89dc6826b0f804b0ac27c5285.tar.gz
ports-d3ee5617929f57c89dc6826b0f804b0ac27c5285.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/hrktorrent/Makefile9
-rw-r--r--net-p2p/hrktorrent/files/pkg-message.in (renamed from net-p2p/hrktorrent/pkg-message)2
2 files changed, 6 insertions, 5 deletions
diff --git a/net-p2p/hrktorrent/Makefile b/net-p2p/hrktorrent/Makefile
index d4bf92b99dcb..fbdfa7d08e88 100644
--- a/net-p2p/hrktorrent/Makefile
+++ b/net-p2p/hrktorrent/Makefile
@@ -19,15 +19,16 @@ USE_GNOME= pkgconfig
USE_BZIP2= yes
PLIST_FILES= bin/hrktorrent \
- share/examples/hrktorrent/hrktorrent.rc
-PLIST_DIRS= share/examples/hrktorrent
+ ${EXAMPLESDIR}/hrktorrent.rc
+PLIST_DIRS= ${EXAMPLESDIR}
MAN1= hrktorrent.1
MANCOMPRESSED= no
+SUB_FILES= pkg-message
+
post-install:
@${STRIP_CMD} ${PREFIX}/bin/hrktorrent
- @${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \
- ${PKGDIR}/pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/net-p2p/hrktorrent/pkg-message b/net-p2p/hrktorrent/files/pkg-message.in
index c799621667c5..8ec57fad6541 100644
--- a/net-p2p/hrktorrent/pkg-message
+++ b/net-p2p/hrktorrent/files/pkg-message.in
@@ -1,6 +1,6 @@
=================================================================
A default hrktorrent.rc config has been installed to:
- PREFIX/share/examples/hrktorrent.rc
+ %%EXAMPLESDIR%%/hrktorrent.rc
Copy it to ~/.hrktorrent/ and modify it.
To use the IPFilter, move the rulefile the same dir and name it:
ipfilter.dat.