aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-01-26 11:01:25 +0800
committerwen <wen@FreeBSD.org>2010-01-26 11:01:25 +0800
commit4b5d6fba72f2f404d72d5bab9d4690ac07b07633 (patch)
tree289e3ecc6ca0270b11e20f0bf6c7ba719c7e040c
parentb337524465e3b48541d240141ba67f2d055f2dd5 (diff)
downloadfreebsd-ports-gnome-4b5d6fba72f2f404d72d5bab9d4690ac07b07633.tar.gz
freebsd-ports-gnome-4b5d6fba72f2f404d72d5bab9d4690ac07b07633.tar.zst
freebsd-ports-gnome-4b5d6fba72f2f404d72d5bab9d4690ac07b07633.zip
- Use $SUB_FILES to update pkg-message
PR: ports/143147 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer
-rw-r--r--net/proxy-suite/Makefile3
-rw-r--r--net/proxy-suite/files/pkg-message.in (renamed from net/proxy-suite/pkg-message)3
2 files changed, 4 insertions, 2 deletions
diff --git a/net/proxy-suite/Makefile b/net/proxy-suite/Makefile
index 11c74645ee8b..467745adcb82 100644
--- a/net/proxy-suite/Makefile
+++ b/net/proxy-suite/Makefile
@@ -57,6 +57,7 @@ ALL_TARGET= -C ftp-proxy
MAN8= ftp-proxy.8
MAN5= ftp-proxy.conf.5
+SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
@@ -64,6 +65,6 @@ pre-install:
@${STRIP_CMD} ${WRKSRC}/ftp-proxy/ftp-proxy
post-install:
- @${SED} 's|PREFIX|${PREFIX}|' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/net/proxy-suite/pkg-message b/net/proxy-suite/files/pkg-message.in
index 72438abdb567..eb01d12325c5 100644
--- a/net/proxy-suite/pkg-message
+++ b/net/proxy-suite/files/pkg-message.in
@@ -1,6 +1,7 @@
This port provides a configuration file at
-PREFIX/etc/proxy-suite/ftp-proxy.conf
+%%ETCDIR%%/ftp-proxy.conf
Edit to fit your needs.
+