aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-02-01 10:18:46 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-02-01 10:18:46 +0800
commit301ff60ebecf32b70aa1c3fbe405510159898b45 (patch)
treee904f5593485bb1bca67504a6154498dc499edad
parentec4a29ac693fcb8cc34cc59810c74414fff008b2 (diff)
downloadfreebsd-ports-gnome-301ff60ebecf32b70aa1c3fbe405510159898b45.tar.gz
freebsd-ports-gnome-301ff60ebecf32b70aa1c3fbe405510159898b45.tar.zst
freebsd-ports-gnome-301ff60ebecf32b70aa1c3fbe405510159898b45.zip
- use $SUB_FILES to Update pkg-message
PR: ports/143148 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
-rw-r--r--net/pvm/Makefile4
-rw-r--r--net/pvm/files/pkg-message.in (renamed from net/pvm/pkg-message)0
2 files changed, 3 insertions, 1 deletions
diff --git a/net/pvm/Makefile b/net/pvm/Makefile
index 7a5adbfbd963..81832faeb9b2 100644
--- a/net/pvm/Makefile
+++ b/net/pvm/Makefile
@@ -110,6 +110,8 @@ MLINKS= pvm_intro.1 PVM.1 pvmd3.1 pvmd.1 \
pvm_trecv.3 pvmftrecv.3 pvm_unpack.3 pvmfunpack.3 \
pvm_pkmesg.3 pvmfupkmesg.3
+SUB_FILES= pkg-message
+
.include <bsd.port.pre.mk>
pre-patch:
@@ -142,6 +144,6 @@ do-install:
cd ${WRKSRC}/man/man3 && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3
post-install:
- @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/net/pvm/pkg-message b/net/pvm/files/pkg-message.in
index ddc4f1ef8393..ddc4f1ef8393 100644
--- a/net/pvm/pkg-message
+++ b/net/pvm/files/pkg-message.in