aboutsummaryrefslogtreecommitdiffstats
path: root/comms/bforce
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-31 11:43:17 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-31 11:43:17 +0800
commitfd4b0bb7aa388b92f7055c34360fcad189ee0498 (patch)
treeeebfb97f44eaa9cb3e1637e9679e170741a31e9d /comms/bforce
parent6edb6a25fe8d4136a4c9030794af2d0b663048e3 (diff)
downloadfreebsd-ports-gnome-fd4b0bb7aa388b92f7055c34360fcad189ee0498.tar.gz
freebsd-ports-gnome-fd4b0bb7aa388b92f7055c34360fcad189ee0498.tar.zst
freebsd-ports-gnome-fd4b0bb7aa388b92f7055c34360fcad189ee0498.zip
- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142443 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (vk@vk.pp.ru; > 2 weeks)
Diffstat (limited to 'comms/bforce')
-rw-r--r--comms/bforce/Makefile3
-rw-r--r--comms/bforce/files/pkg-message.in (renamed from comms/bforce/pkg-message)0
2 files changed, 2 insertions, 1 deletions
diff --git a/comms/bforce/Makefile b/comms/bforce/Makefile
index 72d2f7b0e50c..77a887d7d8f4 100644
--- a/comms/bforce/Makefile
+++ b/comms/bforce/Makefile
@@ -20,6 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -fno-builtin"
WRKSRC= ${WRKDIR}/${DISTNAME}/source
+SUB_FILES= pkg-message
do-install:
${MKDIR} ${PREFIX}/etc/bforce
@@ -32,6 +33,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${PREFIX}/bin
- @${SED} "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/comms/bforce/pkg-message b/comms/bforce/files/pkg-message.in
index 1f0efd751fbc..1f0efd751fbc 100644
--- a/comms/bforce/pkg-message
+++ b/comms/bforce/files/pkg-message.in