aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 02:18:46 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 02:18:46 +0000
commitabe5be7488d264e37ea040fe3dc6dd714f72ab7e (patch)
tree3b3626dc1c4aa714ec339736dc3f0bbf190b652a
parent56a2b74b2882bf2affd4938638b88f177e941610 (diff)
downloadports-abe5be7488d264e37ea040fe3dc6dd714f72ab7e.tar.gz
ports-abe5be7488d264e37ea040fe3dc6dd714f72ab7e.zip
- use $SUB_FILES to Update pkg-message
PR: ports/143148 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=248997
-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