mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
8a4bfb5b16
Also, install a missing file needed for running pgp in expectk mode (which is much nicer BTW since it can figure out the correct decrypt key). Tweak expectk mode so that it copes with a slight output variation on a non-US version of pgp (2.6.3ia). It appears the US version prints: Key for user ID "Peter Wemm <peter@netplex.com.au>" while the international version prints: Key for user ID: Peter Wemm <peter@netplex.com.au> I cannot follow tcl syntax very well, so this is my best guess..
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
#! /bin/sh
|
|
#
|
|
# $Id: install,v 1.2 1996/12/31 21:27:03 peter Exp $
|
|
#
|
|
|
|
VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
|
|
|
|
# Rename while installing..
|
|
for i in exmh
|
|
do
|
|
echo "install -c -o bin -g bin -m 444 $i.l ${PREFIX}/man/man1/$i.1"
|
|
install -c -o bin -g bin -m 444 $i.l ${PREFIX}/man/man1/$i.1
|
|
done
|
|
|
|
BINS="exmh-async exmh-bg exmh ftp.expect"
|
|
|
|
echo "install -c -o bin -g bin -m 755 ${BINS} ${PREFIX}/bin"
|
|
install -c -o bin -g bin -m 755 ${BINS} ${PREFIX}/bin
|
|
|
|
if [ ! -d ${PREFIX}/lib/exmh-${VERSION} ]
|
|
then
|
|
echo "mkdir ${PREFIX}/lib/exmh-${VERSION}"
|
|
mkdir ${PREFIX}/lib/exmh-${VERSION}
|
|
fi
|
|
|
|
LIBFILES='lib/*.tcl lib/*.bitmap lib/help.* lib/tclIndex lib/app-defaults lib/app-defaults-* lib/*.mask lib/*.exp lib/mime.types lib/*.au lib/PgpDecryptExpect'
|
|
|
|
echo "install -c -o bin -g bin -m 444 ${LIBFILES} ${PREFIX}/lib/exmh-${VERSION}"
|
|
install -c -o bin -g bin -m 444 ${LIBFILES} ${PREFIX}/lib/exmh-${VERSION}
|
|
|
|
if [ ! -d ${PREFIX}/lib/exmh-${VERSION}/html ]
|
|
then
|
|
echo "mkdir ${PREFIX}/lib/exmh-${VERSION}/html"
|
|
mkdir ${PREFIX}/lib/exmh-${VERSION}/html
|
|
fi
|
|
|
|
echo "install -c -o bin -g bin -m 444 lib/html/* ${PREFIX}/lib/exmh-${VERSION}/html"
|
|
install -c -o bin -g bin -m 444 lib/html/* ${PREFIX}/lib/exmh-${VERSION}/html
|