head	1.4;
access;
symbols
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.2;
locks; strict;
comment	@# @;


1.4
date	2002.10.14.13.50.21;	author trevor;	state dead;
branches;
next	1.3;

1.3
date	2002.05.23.13.00.10;	author trevor;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.04.06.12.50;	author trevor;	state Exp;
branches;
next	1.1;

1.1
date	2002.01.26.11.53.00;	author trevor;	state Exp;
branches;
next	;


desc
@@


1.4
log
@I remove the linux-netscape6 ports from ports/french, ports/german,
ports/japanese and ports/www.  In their place, I add corresponding netscape7
ports, after repo copies.  Now ports/www/netscape7 will no longer be a slave
port.  Instead it is the master port for the others.

The French, German, and Japanese ports now have AIM, because I had trouble
getting them to work without it.

I add a security warning to all these ports, about the "forward referrer" bug
(Mozilla bug 145579).
@
text
@#!/bin/sh
#
# $FreeBSD: ports/www/linux-netscape6/scripts/configure,v 1.3 2002/05/23 13:00:10 trevor Exp $

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 6 component selection" --clear \
	--checklist "\n\
Choose components of Netscape 6 to download and install. \n\
Press the space bar to toggle selections." -1 -1 12 \
"browser"	"Web browser (6576 kB)"				ON \
"deflenus"	"American English profile defaults (26 kB)"	ON \
"flash"		"Flash plugin (576 kB)"				ON \
"jre"		"Java plugin (13808 kB)"			ON \
"langenus"	"American English language pack (608 kB)"	ON \
"mail"		"e-mail and news (1824 kB)"			ON \
"regca"		"regional settings for Canada (56 kB)"		ON \
"reges"		"regional settings for Latin America (54 kB)"	ON \
"reggb"		"regional settings for the UK (58 kB)"		ON \
"regus"		"regional settings for the USA (56 kB)"		ON \
"spellchecker"	"spell-checker (544 kB)"			ON \
"talkback"	"sends bug reports to Netscape staff (832 kB)"	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/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
@


1.3
log
@Remove some unused code.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-netscape6/scripts/configure,v 1.2 2002/03/04 06:12:50 trevor Exp $
@


1.2
log
@Install the browser component if the mail component is requested.
Install the psm and xpcom components if and only if the browser
component is to be installed.

Describe the talkback component.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-netscape6/scripts/configure,v 1.1 2002/01/26 11:53:00 trevor Exp $
d12 1
a12 7
if [ "${BATCH}" ]; then
	if [ "${NETSCAPE6_OPTIONS}" ]; then
		set ${NETSCAPE6_OPTIONS}
	else
		set \"zlib\" \"MySQL\"
	fi
else
@


1.1
log
@Add dialog(1) technology, cribbed from the ghostscript-gnu and
mod_php4 ports.
@
text
@d3 1
a3 1
# $FreeBSD$
d23 2
a24 2
Press the space bar to toggle selections." -1 -1 16 \
"browser"	"browser (6576 kB)"				ON \
a29 1
"psm"		"Personal Security Manager (592 kB)"		ON \
d35 1
a35 2
"talkback"	"talkback (832 kB)"				ON \
"xpcom"		"xpcom (720 kB)"				ON \
d56 3
@

