aboutsummaryrefslogtreecommitdiffstats
path: root/net/gutenfetch
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-01-28 08:32:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-01-28 08:32:04 +0800
commit97c5eb96b690f9eac7044d5943ca3a13b15aa161 (patch)
tree0b1f48c633bac8540823268b63623410842d7a2e /net/gutenfetch
parent518142bafb54ce12bfcb1ff65b510cee28c44e53 (diff)
downloadfreebsd-ports-gnome-97c5eb96b690f9eac7044d5943ca3a13b15aa161.tar.gz
freebsd-ports-gnome-97c5eb96b690f9eac7044d5943ca3a13b15aa161.tar.zst
freebsd-ports-gnome-97c5eb96b690f9eac7044d5943ca3a13b15aa161.zip
- Use $SUB_FILES to dynamically adjust pkg-message
PR: 143100 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: Russ Francis <russell.francis@gmail.com> (maintainer)
Diffstat (limited to 'net/gutenfetch')
-rw-r--r--net/gutenfetch/Makefile3
-rw-r--r--net/gutenfetch/files/pkg-message.in (renamed from net/gutenfetch/pkg-message)0
2 files changed, 2 insertions, 1 deletions
diff --git a/net/gutenfetch/Makefile b/net/gutenfetch/Makefile
index 9ce1aa641249..1fdf88326a8b 100644
--- a/net/gutenfetch/Makefile
+++ b/net/gutenfetch/Makefile
@@ -23,9 +23,10 @@ USE_BZIP2= yes
MAN1= gutenfetch.1
PLIST_FILES= bin/gutenfetch
+SUB_FILES= pkg-message
post-install:
${STRIP_CMD} ${PREFIX}/bin/gutenfetch
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/net/gutenfetch/pkg-message b/net/gutenfetch/files/pkg-message.in
index 10b24ddd8a9c..10b24ddd8a9c 100644
--- a/net/gutenfetch/pkg-message
+++ b/net/gutenfetch/files/pkg-message.in