1996-10-10 15:00:53 +00:00
|
|
|
#! /bin/sh
|
|
|
|
#
|
1998-07-08 10:49:32 +00:00
|
|
|
# $Id: install,v 1.2 1996/12/31 21:27:03 peter Exp $
|
1996-10-10 15:00:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
|
|
|
|
|
|
|
|
# Rename while installing..
|
1996-12-31 21:27:03 +00:00
|
|
|
for i in exmh
|
1996-10-10 15:00:53 +00:00
|
|
|
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
|
|
|
|
|
1998-07-08 10:49:32 +00:00
|
|
|
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'
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
1996-12-31 21:27:03 +00:00
|
|
|
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
|