ports/143193: [PATCH] net-p2p/hrktorrent: use $SUB_FILES to update pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 24 23:00:19 UTC 2010
>Number: 143193
>Category: ports
>Synopsis: [PATCH] net-p2p/hrktorrent: use $SUB_FILES to update pkg-message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 24 23:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC
>Description:
switch to using EXAMPLESDIR in plist instead of share/examples/hrktorrent
Added file(s):
- files/pkg-message.in
Removed file(s):
- pkg-message
Port maintainer (hrkfdn at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- hrktorrent-0.3.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-p2p/hrktorrent/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 9 Sep 2009 12:55:15 -0000 1.5
+++ Makefile 24 Jan 2010 22:54:09 -0000
@@ -19,15 +19,16 @@
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>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 26 Aug 2008 14:23:07 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,7 +0,0 @@
-=================================================================
-A default hrktorrent.rc config has been installed to:
- PREFIX/share/examples/hrktorrent.rc
-Copy it to ~/.hrktorrent/ and modify it.
-To use the IPFilter, move the rulefile the same dir and name it:
- ipfilter.dat.
-=================================================================
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in 24 Jan 2010 22:54:09 -0000
@@ -0,0 +1,7 @@
+=================================================================
+A default hrktorrent.rc config has been installed to:
+ %%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.
+=================================================================
--- hrktorrent-0.3.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list