summaryrefslogtreecommitdiff
path: root/mail/pine4/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-23 15:35:19 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-23 15:35:19 +0000
commit7badbbe2b32dd741b18425838d2b40387c4b6491 (patch)
tree03270d814cbc0f8772c44ad3dddb027adb42b4a8 /mail/pine4/Makefile
parentCorrect MD5 checksum (diff)
Honor PREFIX setting.
PR: 15120 Submitted by: Matt Behrens <matt@zigg.com>
Notes
Notes: svn path=/head/; revision=23877
Diffstat (limited to 'mail/pine4/Makefile')
-rw-r--r--mail/pine4/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile
index c7b22074f562..c3e3ae471a46 100644
--- a/mail/pine4/Makefile
+++ b/mail/pine4/Makefile
@@ -46,10 +46,19 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine
- ${INSTALL_SCRIPT} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/pgpencrypt
- ${INSTALL_SCRIPT} ${FILESDIR}/pgpdecode ${PREFIX}/bin/pgpdecode
- ${INSTALL_SCRIPT} ${FILESDIR}/pgpsign ${PREFIX}/bin/pgpsign
- ${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample \
+ ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
+ < ${FILESDIR}/pgpdecode > ${WRKSRC}/bin/pgpdecode
+ ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
+ < ${FILESDIR}/pgpencrypt > ${WRKSRC}/bin/pgpencrypt
+ ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
+ < ${FILESDIR}/pgpsign > ${WRKSRC}/bin/pgpsign
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpencrypt ${PREFIX}/bin/pgpencrypt
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpdecode ${PREFIX}/bin/pgpdecode
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpsign ${PREFIX}/bin/pgpsign
+ ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
+ < ${FILESDIR}/dot.pinerc.pgp.sample \
+ > ${WRKSRC}/dot.pinerc.pgp.sample
+ ${INSTALL_DATA} ${WRKSRC}/dot.pinerc.pgp.sample \
${PREFIX}/etc/dot.pinerc.pgp.sample
${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1
${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1