aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-02-14 03:24:06 +0800
committermiwi <miwi@FreeBSD.org>2010-02-14 03:24:06 +0800
commitae9cd322caeb452e78b211529354249f388a4fe2 (patch)
tree95bcf2a4ed1f75e771421c60bfb756ea1feef7b0 /net-mgmt
parente3d18f27849e36758523d91b758f2abc08e309df (diff)
downloadfreebsd-ports-gnome-ae9cd322caeb452e78b211529354249f388a4fe2.tar.gz
freebsd-ports-gnome-ae9cd322caeb452e78b211529354249f388a4fe2.tar.zst
freebsd-ports-gnome-ae9cd322caeb452e78b211529354249f388a4fe2.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