Honor PREFIX setting.
PR: 15120 Submitted by: Matt Behrens <matt@zigg.com>
This commit is contained in:
parent
459498b471
commit
7badbbe2b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23877
5 changed files with 19 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -5,12 +5,12 @@ feature-list=compose-send-offers-first-filter
|
|||
|
||||
# This variable takes a list of programs that message text is piped into
|
||||
# after MIME decoding, prior to display.
|
||||
display-filters="-----BEGIN PGP" /usr/local/bin/pgpdecode
|
||||
display-filters="-----BEGIN PGP" @@PREFIX@@/bin/pgpdecode
|
||||
|
||||
# This defines a program that message text is piped into before MIME
|
||||
# encoding, prior to sending
|
||||
sending-filters=/usr/local/bin/pgpsign,
|
||||
/usr/local/bin/pgpencrypt _RECIPIENTS_
|
||||
sending-filters=@@PREFIX@@/bin/pgpsign,
|
||||
@@PREFIX@@/bin/pgpencrypt _RECIPIENTS_
|
||||
|
||||
# hook, to get rid of the sucking 'quoted printable' ;-))
|
||||
# enable-8bit-esmtp-negotiation
|
||||
|
|
|
@ -32,7 +32,7 @@ fi
|
|||
|
||||
trap "rm -f $STDOUT $STDERR; exit" 0 1 2 15
|
||||
|
||||
if [ -x /usr/local/bin/pgpv ]
|
||||
if [ -x @@PREFIX@@/bin/pgpv ]
|
||||
then
|
||||
pgpv 2>&1 > $STDOUT |tee $STDERR > /dev/tty
|
||||
else
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# 21.03.96 Roland Rosenfeld <roland@spinnaker.rhein.de>
|
||||
# Wed 16 Sep 1998 23:46:43 WST Anthony Di Pietro <anthony@dino.omen.com.au>
|
||||
# Modified to work with both PGP v2 and PGP v5.
|
||||
if [ -x /usr/local/bin/pgpe ]
|
||||
if [ -x @@PREFIX@@/bin/pgpe ]
|
||||
then
|
||||
pgpe -s -a -r $*
|
||||
else
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# 21.03.96 Roland Rosenfeld <roland@spinnaker.rhein.de>
|
||||
# Wed 16 Sep 1998 23:48:51 WST Anthony Di Pietro <anthony@dino.omen.com.au>
|
||||
# Modified to work with both PGP v2 and PGP v5.
|
||||
if [ -x /usr/local/bin/pgps ]
|
||||
if [ -x @@PREFIX@@/bin/pgps ]
|
||||
then
|
||||
pgps -a -t
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue