freebsd-ports/portuguese/netscape7/scripts/configure
Trevor Johnson b2b32546c4 Security fix: update to the latest versions: 7.1 for American
English; and 7.02 for French, German, Japanese, and Brazilian
Portuguese.  These are reportedly free of the onunload referrer bug
(#145579 in bugzilla).

The Sun Java plugin is no longer available from the same places.
AIM is needed by the 7.02 versions.  The DOM inspector and "venkman"
JavaScript debugger are available for 7.1.

Compress generated files with bzip2; omit "linux-" from their names.

The RDF files provided by the ports are no longer needed.

Update references to Netscape 6.

Run chmod to fix permissions on extracted files (for the Portuguese
slave port).

Remove unneeded XXXchecksum target.

Change the configuration process, so that extraneous files are not
downloaded.  This resolves PR 44101, submitted by Fernan Aguero.
2003-07-03 09:55:03 +00:00

57 lines
1.3 KiB
Bash

#!/bin/sh
#
# $FreeBSD$
echo ${WRKSRC}/components.conf
if [ -f ${WRKSRC}/components.conf ]; then
exit
fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ -z "${BATCH}" ]; then
/usr/bin/dialog --title "Netscape 7 component selection" --clear \
--checklist "\n\
Choose components of Netscape 7 to download and install. \n\
Press the space bar to toggle selections." -1 -1 11 \
"browser" "browser" ON \
"deflptbr" "Brazilian Portuguese profile defaults" ON \
"flash" "Flash plugin" ON \
"langptbr" "Brazilian Portuguese language pack" ON \
"mail" "e-mail and news" ON \
"regbr" "regional settings for Brazil" ON \
"spellchecker" "spell-checker" ON \
"talkback" "sends bug reports to Netscape staff" ON \
2> /tmp/checklist.tmp.$$
retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
case $retval in
0) if [ -z "$choice" ]; then
echo "Nothing selected"
exit 1;
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
echo "$choice" \
| sed -e "s/\"//g" \
| sed -e "s/mail/mail browser/g" \
| sed -e "s/browser/AIM browser psm xpcom/g" \
| sort -u \
| sed -e "s/ /.xpi /g" \
| sed -e "s/$/.xpi/g" \
| perl -pi -e "s/ /\n/g" \
> ${WRKSRC}/components.conf
fi
echo "* Your choices are saved. You must run the \"make\" command again to"
echo "* complete the build. Ignore the \"Error code 1\" below."
exit 1