aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-14 03:24:06 +0800
committerMartin Wilke <miwi@FreeBSD.org>2010-02-14 03:24:06 +0800
commit1674fb8d01fb7da12e3e2aaeb67eaa1a29f5b869 (patch)
tree6f8fbf6de5bad7b8041a80c00a6f43f94a9bc837 /net-mgmt
parent696d1e066386d058cba6bfe8a23a89934cdb73db (diff)
downloadfreebsd-ports-gnome-1674fb8d01fb7da12e3e2aaeb67eaa1a29f5b869.tar.gz
freebsd-ports-gnome-1674fb8d01fb7da12e3e2aaeb67eaa1a29f5b869.tar.zst
freebsd-ports-gnome-1674fb8d01fb7da12e3e2aaeb67eaa1a29f5b869.zip
- Use $SUB_FILES to dynamically adjust pkg-message
PR: 143168 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/aspathtree/Makefile3
-rw-r--r--net-mgmt/aspathtree/files/pkg-message.in (renamed from net-mgmt/aspathtree/pkg-message)2
2 files changed, 2 insertions, 3 deletions
diff --git a/net-mgmt/aspathtree/Makefile b/net-mgmt/aspathtree/Makefile
index 9bc7d694997e..f83d502e7e6d 100644
--- a/net-mgmt/aspathtree/Makefile
+++ b/net-mgmt/aspathtree/Makefile
@@ -23,7 +23,7 @@ RESTRICTED= not redistributable, license agreement required
NO_BUILD= yes
USE_PERL5= yes
SCRIPTS_ENV+= PERL5=${PERL5}
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
CONFIG_FILES= ASpath-tree.config
ICON_FILES= bnew.gif bold.gif e.gif h.gif l.gif p.gif t.gif v.gif
LIB_FILES= bgp-tree-changes.pl bgp-tree.pl create-homepage.pl elaborate-aspaths.pl getbgptable.pl history.pl ipv6prefix.pl odd-as.pl odd-routes.pl route-stability.pl utility.pl ASmain.pl
@@ -68,7 +68,6 @@ do-install:
.endif
post-install:
- @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${.CURDIR}/pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
@${ECHO}
@${CAT} ${PKGMESSAGE}
diff --git a/net-mgmt/aspathtree/pkg-message b/net-mgmt/aspathtree/files/pkg-message.in
index 1277ed90ff26..52a8ed9cb9bb 100644
--- a/net-mgmt/aspathtree/pkg-message
+++ b/net-mgmt/aspathtree/files/pkg-message.in
@@ -1,5 +1,5 @@
For to configuration information please look at
-%%PREFIX%%/share/doc/aspathtree/readme.txt.
+%%DOCSDIR%%/readme.txt.
Copy %%PREFIX%%/etc/ASpath-tree.config.dist to
%%PREFIX%%/etc/ASpath-tree.config