forked from Lainports/freebsd-ports
vulnerability reported to bugtraq. Mostly a bugfix release although a few new features (filtering in sedit, optional expect-based inc wrapper, optional bitmap buttons) have been added. FreeBSD-specific parts to this commit: Removed patchfiles that were imported from the exmh CVS repository as they are now a part of the exmh-2.3.1 release. Fixed pkg-descr to quiet a few portlint warnings. Changed port to use wish-8.3 rather than wish-8.2 (suggested by markm).
49 lines
1.6 KiB
Bash
49 lines
1.6 KiB
Bash
#! /bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
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 inc.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/*.gif lib/*.ppm 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/* lib/html/*.gif ${PREFIX}/lib/exmh-${VERSION}/html"
|
|
install -c -o bin -g bin -m 444 lib/html/*.html lib/html/*.gif ${PREFIX}/lib/exmh-${VERSION}/html
|
|
|
|
if [ ! -d ${PREFIX}/lib/exmh-${VERSION}/bitmaps ]
|
|
then
|
|
echo "mkdir ${PREFIX}/lib/exmh-${VERSION}/bitmaps"
|
|
mkdir ${PREFIX}/lib/exmh-${VERSION}/bitmaps
|
|
fi
|
|
|
|
echo "install -c -o bin -g bin -m 444 lib/bitmaps/bitmaps.defaults lib/bitmaps/*.xbm ${PREFIX}/lib/exmh-${VERSION}/bitmaps"
|
|
install -c -o bin -g bin -m 444 lib/bitmaps/bitmaps.defaults lib/bitmaps/*.xbm ${PREFIX}/lib/exmh-${VERSION}/bitmaps
|
|
|
|
|