summaryrefslogtreecommitdiff
path: root/mail/exmh2/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exmh2/scripts/build')
-rw-r--r--mail/exmh2/scripts/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/exmh2/scripts/build b/mail/exmh2/scripts/build
index 4ca3a47ec5c9..400d7e2a1bc9 100644
--- a/mail/exmh2/scripts/build
+++ b/mail/exmh2/scripts/build
@@ -17,7 +17,9 @@ EXPECT="{}"
EXPECTK="{}"
FACES="{}"
DOMAIN="{}"
+GPG="{}"
PGP="{}"
+PGP5="{}"
GLIMPSE="{}"
PLAY="{}"
@@ -37,10 +39,18 @@ if [ -d ${PREFIX}/share/faces ]; then
fi
fi
+if [ -f ${PREFIX}/bin/gpg ]; then
+ GPG=${PREFIX}/bin #bindir
+fi
+
if [ -f ${PREFIX}/bin/pgp ]; then
PGP=${PREFIX}/bin #bindir
fi
+if [ -f ${PREFIX}/bin/pgp5 ]; then
+ PGP5=${PREFIX}/bin #bindir
+fi
+
if [ -f ${PREFIX}/bin/glimpse ]; then
GLIMPSE=${PREFIX}/bin #bindir
fi
@@ -62,7 +72,9 @@ sed <${FILESDIR}/${CONFIGFILE} \
-e "s+!!EXPECTK!!+${EXPECTK}+g" \
-e "s+!!FACES!!+${FACES}+g" \
-e "s+!!DOMAIN!!+${DOMAIN}+g" \
+ -e "s+!!GPG!!+${GPG}+g" \
-e "s+!!PGP!!+${PGP}+g" \
+ -e "s+!!PGP5!!+${PGP5}+g" \
-e "s+!!GLIMPSE!!+${GLIMPSE}+g" \
-e "s+!!PLAY!!+${PLAY}+g" \
-e "s+!!VERSION!!+${VERSION}+g" \