summaryrefslogtreecommitdiff
path: root/www/navigator3/scripts
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1999-07-21 23:09:01 +0000
committergarbled <garbled@pkgsrc.org>1999-07-21 23:09:01 +0000
commit3a578d7f4ee9a5857d8641059c34865b611e8937 (patch)
tree2e1a862f14134a2c97924069cb79a4200cb1237f /www/navigator3/scripts
parent981fe9f0cab1b19b1eaa746a342a065d5a53dea9 (diff)
downloadpkgsrc-3a578d7f4ee9a5857d8641059c34865b611e8937.tar.gz
Netscape Navigator 3.x pkg. Currently for i386 only, but someone
with the proper hardware could probably get this working on sparc with very little work.
Diffstat (limited to 'www/navigator3/scripts')
-rw-r--r--www/navigator3/scripts/configure25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/navigator3/scripts/configure b/www/navigator3/scripts/configure
new file mode 100644
index 00000000000..51c4239c2bc
--- /dev/null
+++ b/www/navigator3/scripts/configure
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+case "${MACHINE_ARCH}" in
+sparc) NSBINARY=netscape_dns ;;
+i386) NSBINARY=netscape ;;
+*) NSBINARY=foobar ;;
+esac
+
+if [ ! -f ${WRKSRC}/netscape.bin ] ; then
+ mv ${WRKSRC}/${NSBINARY} ${WRKSRC}/netscape.bin
+fi
+if [ ! -f ${WRKSRC}/movemail.bin ] ; then
+ mv ${WRKSRC}/movemail ${WRKSRC}/movemail.bin
+fi
+
+sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@LIBDIR@;${LIBDIR};g" \
+ -e "s;@EXECDIR@;${X11BASE}/bin;g" \
+ ${FILESDIR}/netscape.sh >${WRKSRC}/netscape
+chmod +x ${WRKSRC}/netscape
+sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@LIBDIR@;${LIBDIR};g" \
+ -e "s;@EXECDIR@;${X11BASE}/bin;g" \
+ ${FILESDIR}/movemail.sh >${WRKSRC}/movemail
+chmod +x ${WRKSRC}/movemail
+
+cp ${FILESDIR}/mailcap ${WRKSRC}