blob: 51c4239c2bcc13593afbe85bc9e641bc07ef52fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}
|