freebsd-ports/mail/exmh2/scripts/install
Peter Wemm e108e11e60 Port for build exmh-1.6.9
NOTE: this does not use the GUI build/install, it does the equivalent
work with some scripts.
1996-10-10 15:00:53 +00:00

30 lines
884 B
Bash

#! /bin/sh
#
# $Id$
#
VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
# Rename while installing..
for i in exmh-custom exmh-ref exmh-use 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/*.FAQ lib/tclIndex lib/app-defaults* lib/*.mask lib/*.exp lib/mime.types lib/*.au'
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}