diff options
Diffstat (limited to 'mail/exmh2/scripts')
-rw-r--r-- | mail/exmh2/scripts/build | 15 | ||||
-rw-r--r-- | mail/exmh2/scripts/install | 14 |
2 files changed, 20 insertions, 9 deletions
diff --git a/mail/exmh2/scripts/build b/mail/exmh2/scripts/build index c7a301040b31..9a1f98158e98 100644 --- a/mail/exmh2/scripts/build +++ b/mail/exmh2/scripts/build @@ -1,6 +1,6 @@ #! /bin/sh # -# $Id$ +# $Id: build,v 1.1.1.1 1996/10/10 15:00:53 peter Exp $ # VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`" @@ -19,10 +19,10 @@ if [ -f ${PREFIX}/bin/expect ]; then EXPECT=${PREFIX}/bin/expect #executable fi -if [ -f ${PREFIX}/faces/faces ]; then - FACES=${PREFIX}/faces/faces #dir +if [ -d ${PREFIX}/share/faces ]; then + FACES=${PREFIX}/share/faces #dir shortname="`hostname -s`" - domain="`hostname | sed -e s/^${shortname}// -e s/^.//`" + domain="`hostname | sed -e s/^${shortname}// -e s/^.// | tr A-Z a-z`" if [ "${domain}" != "" ]; then DOMAIN="{${domain}}" fi @@ -36,11 +36,14 @@ if [ -f ${PREFIX}/bin/glimpse ]; then GLIMPSE=${PREFIX}/bin #bindir fi -if [ -f ${PREFIX}/bin/play ]; then - PLAY=${PREFIX}/bin/play #executable +if [ -f ${PREFIX}/bin/rplay ]; then + PLAY=${PREFIX}/bin/rplay #executable fi echo "s@^#!wish@#!${WISH}@" >${SEDFILE} +if [ "${EXPECT}" != "{}" ]; then + echo "s@^#!expect@#!${EXPECT}@" >>${SEDFILE} +fi echo "/^#CONFIGURATION/a\\" >>${SEDFILE} sed <${FILESDIR}/config \ diff --git a/mail/exmh2/scripts/install b/mail/exmh2/scripts/install index 72d8f603b1df..796553a06b82 100644 --- a/mail/exmh2/scripts/install +++ b/mail/exmh2/scripts/install @@ -1,12 +1,12 @@ #! /bin/sh # -# $Id$ +# $Id: install,v 1.1.1.1 1996/10/10 15:00:53 peter Exp $ # VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`" # Rename while installing.. -for i in exmh-custom exmh-ref exmh-use exmh +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 @@ -23,8 +23,16 @@ then 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' +LIBFILES='lib/*.tcl lib/*.bitmap lib/help.* 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} +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 |