diff options
author | dhn <dhn@FreeBSD.org> | 2010-01-27 19:47:13 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2010-01-27 19:47:13 +0800 |
commit | be2674d2a5d6bed985e468a3f692cc5df6d7e9c1 (patch) | |
tree | 49a7059f2f09966dc35037251db17a191cb8b528 | |
parent | 66e408c62279f0672d2512c0e5590ea81622a6d7 (diff) | |
download | freebsd-ports-gnome-be2674d2a5d6bed985e468a3f692cc5df6d7e9c1.tar.gz freebsd-ports-gnome-be2674d2a5d6bed985e468a3f692cc5df6d7e9c1.tar.zst freebsd-ports-gnome-be2674d2a5d6bed985e468a3f692cc5df6d7e9c1.zip |
- Use $SUB_FILES to update pkg-message
PR: ports/143193
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Approved by: Henrik Friedrichsen <hrkfdn@gmail.com> (maintainer)
-rw-r--r-- | net-p2p/hrktorrent/Makefile | 9 | ||||
-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. |