head	1.10;
access;
symbols
	old_old_RELEASE_5_0_DP1:1.9
	old_old_RELEASE_4_5_0:1.9
	old_old_RELEASE_4_4_0:1.7
	old_old_RELEASE_4_3_0:1.4;
locks; strict;
comment	@# @;


1.10
date	2002.04.21.23.47.14;	author will;	state dead;
branches;
next	1.9;

1.9
date	2001.12.12.17.54.14;	author demon;	state Exp;
branches;
next	1.8;

1.8
date	2001.10.27.08.50.15;	author demon;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.20.05.30.10;	author demon;	state Exp;
branches;
next	1.6;

1.6
date	2001.08.16.15.00.01;	author demon;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.05.08.05.06;	author demon;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.17.09.25.35;	author demon;	state Exp;
branches;
next	1.3;

1.3
date	2001.04.13.09.18.41;	author demon;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.11.09.09.31;	author demon;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.09.20.48.48;	author demon;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Please welcome Qt3/KDE3 to our ports tree.  This includes work since the
original versions of these ports, so some PORTREVISIONs were bumped.  See
http://freebsd.kde.org/ and mailing lists linked to from there for info
on the packages generated to test these ports.

bsd.kde.mk has already been updated a few days ago to work with these.

Some patches applied to fix a few bugs were:

deskutils/kdepim3:
        [1] Remove kpilot from build because it wasn't ready at release.
editors/koffice-kde3:
        [2] Fix compile time bugs for FreeBSD.
misc/kdeedu3:
        [3] Fix compile problem with kvoctrain.
x11/kdebase3:
        [4] Fix KDM CPU usage and login bug.

Some caveats:
        * All PLISTs are broken for deinstall due to script bug that I
          didn't notice until very recently.  This will be fixed when I
          commit an update tomorrow.  These ports should still install
          perfectly fine though.  They should also deinstall without
          giving errors, but will leave directories behind.
        * You can't install this with any other version of QT or KDE
          already installed.  I am not sure the checks are 100% working,
          but fixes for these will be forthcoming.  This is mainly due
          to a policy decision made by kde@@ to make QT/KDE ports install
          the way the rest of the world expects it to while also still
          conforming to FreeBSD's hier(7).  For reference on this decision,
          please consult the KDE/FreeBSD mailing list archives.  This
          decision fixes 2-year-old bug reports relating to how we handled
          this for KDE2 vs KDE1.

Submitted by:   [1] Adrian de Groot <adridg@@cs.kun.nl>,
                [2] David Faure <faure@@kde.org>,
                    Andy Fawcett <andy@@athame.co.uk>
                    Lauri Watts <lauri@@kde.org>
                [3] Lauri Watts <lauri@@kde.org>
                [4] Alan Eldridge <alane@@geeksrus.net>
                    Oswald Buddenhagen <ossi@@kde.org>
Reviewed by:    kde
@
text
@#! /bin/sh
# $FreeBSD: ports/misc/kde3-i18n-pt/scripts/Configure,v 1.9 2001/12/12 17:54:14 demon Exp $

/bin/rm -f ${PLIST} ${PLIST}.dirs

if [ "${LINGUAS}" ]; then
	set `echo $LINGUAS`
else
if [ "${BATCH}" ]; then
	set \"af\" \"az\" \"bg\" \"cs\" \"da\" \"el\" \"en_GB\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"lt\" \"lv\" \"mt\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"ta\" \"th\" \"tr\" \"xh\" \"zh_TW.Big5\"
else
	/usr/bin/dialog --title "Select languages" --clear \
		--checklist "\n\
Please select desired languages:" -1 -1 16 \
af		"Afrikaans" OFF \
az		"Azerbaijani Turkish" OFF \
bg		"Bulgarisch" OFF \
cs		"Czech" OFF \
da		"Danish" OFF \
nl		"Dutch" OFF \
eo		"Esperanto" OFF \
et		"Estonian" OFF \
fi		"Finnish" ON \
fr		"French" ON \
de		"German" ON \
el		"Greek" OFF \
he		"Hebrew" OFF \
hu		"Hungarian" OFF \
is		"Icelandic" OFF \
it		"Italian" OFF \
ja		"Japanese" ON \
ko		"Korean" ON \
lt		"Lithuanian" ON \
lv		"Latvian" ON \
mt		"Maltese" ON \
no		"Norwegian" OFF \
no_NY		"Norwegian (Nynorsk)" OFF \
pl		"Polish" OFF \
pt		"Portuguese" OFF \
pt_BR		"Portuguese (Brazil)" OFF \
ro		"Romanian" OFF \
ru		"Russian" ON \
sr		"Serbian" OFF \
zh_CN.GB2312	"Simplified Chinese" ON \
sk		"Slovak" OFF \
sl		"Slovenian" OFF \
es		"Spanish" OFF \
sv		"Swedish" OFF \
ta		"Tamil" OFF \
th		"Thai" OFF \
zh_TW.Big5	"Traditional Chinese" ON \
tr		"Turkish" OFF \
en_GB		"UK English" OFF \
uk		"Ukrainian" ON \
xh		"Xhosa" OFF \
2> /tmp/chklist.tmp.$$

	retval=$?

	if [ -s /tmp/chklist.tmp.$$ ]; then
		set `cat /tmp/chklist.tmp.$$`
	fi
	rm -f /tmp/chklist.tmp.$$

	case $retval in
		0)	if [ -z "$*" ]; then
				echo "Nothing selected"
			fi
			;;
		1)	echo "Cancel pressed."
			exit 1
			;;
	esac
fi
fi

/bin/rm -f ${WRKSRC}/subdirs
#/usr/bin/grep "^[^@@].*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}
#/usr/bin/grep "^@@.*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}.dirs

while [ "$1" ]; do
	a=`echo -n $1 | /usr/bin/sed -e 's#\"##g'`
	echo $a >> ${WRKSRC}/subdirs
	/usr/bin/grep "^[^@@].*/$a/.*" ${CURDIR}/pkg-plist >> ${PLIST}
	/usr/bin/grep "^[^@@].*-$a\$" ${CURDIR}/pkg-plist >> ${PLIST}
	/usr/bin/grep "^@@.*/$a/.*" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
	/usr/bin/grep "^@@.*/$a$" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
	shift
done

/bin/cat ${PLIST}.dirs >> ${PLIST}
/bin/cat ${FILESDIR}/pkg-plist.sub >> ${PLIST}
@


1.9
log
@Update to 2.2.2.

Submitted by:	SASAKI Katuhiro <sahiro@@crest.ocn.ne.jp>
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.8 2001/10/27 08:50:15 demon Exp $
@


1.8
log
@Upgrade to 2.2.1.

Submitted by:		SASAKI Katuhiro <sahiro@@crest.ocn.ne.jp>
(with slight modifications)
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.7 2001/08/20 05:30:10 demon Exp $
a87 6
	if [ x$a = xzh_TW.Big5 ]; then
	    /usr/bin/grep "^[^@@].*/zh_TW/.*" ${CURDIR}/pkg-plist >> ${PLIST}
	    /usr/bin/grep "^[^@@].*-zh_TW\$" ${CURDIR}/pkg-plist >> ${PLIST}
	    /usr/bin/grep "^@@.*/zh_TW/.*" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
	    /usr/bin/grep "^@@.*/zh_TW$" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
	fi
@


1.7
log
@Remove two languages not presented in new version.
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.6 2001/08/16 15:00:01 demon Exp $
d10 1
a10 1
	set \"az\" \"bg\" \"cs\" \"da\" \"el\" \"en_GB\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"lt\" \"lv\" \"mt\" \"nl\" \"no_NY\" \"pl\" \"pt\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"ta\" \"tr\"
d15 1
d32 1
d36 1
d40 1
d49 3
d54 2
a55 1
uk		"Ukrainian" OFF \
d87 7
d98 1
@


1.6
log
@Upgrade to 2.2.
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.5 2001/07/05 08:05:06 demon Exp $
d10 1
a10 1
	set \"az\" \"bg\" \"ca\" \"cs\" \"da\" \"el\" \"en_GB\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"lt\" \"lv\" \"mt\" \"nl\" \"no_NY\" \"pl\" \"pt\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"ta\" \"tr\"
a16 1
ca		"Canada" OFF \
a30 1
ko		"Korean" ON \
@


1.5
log
@Remove Ukrainian from BATCH builds.
It is available as a separate package.
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.4 2001/04/17 09:25:35 demon Exp $
d10 1
a10 1
	set \"ca\" \"cs\" \"da\" \"el\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"tr\"
d15 2
a16 1
pt_BR		"Brazil portuguese" OFF \
a17 1
zh_TW.Big5	"Chinese" ON \
d33 3
a35 1
no		"Norwegian (Bokmaal)" OFF \
d48 1
@


1.4
log
@Exclude de, fr, ja, ru, zh_CN, zh_TW from bento's package.
These translations are available as separate packages.
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.3 2001/04/13 09:18:41 demon Exp $
d10 1
a10 1
	set \"ca\" \"cs\" \"da\" \"el\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"tr\" \"uk\"
@


1.3
log
@Sort languages by name.
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.2 2001/04/11 09:09:31 demon Exp $
d10 1
a10 1
	set \"ca\" \"cs\" \"da\" \"de\" \"el\" \"eo\" \"es\" \"et\" \"fi\" \"fr\" \"he\" \"hu\" \"ja\" \"is\" \"ko\" \"it\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"ru\" \"sk\" \"sl\" \"sr\" \"sv\" \"tr\" \"uk\" \"zh_CN.GB2312\" \"zh_TW.Big5\"
@


1.2
log
@Examine LINGUAS variable before BATCH.
After this change slave ports (russian/kde2-i18n and japanese/kde2-i18n)
should work as expected.

Comment out files in .../en/ directory.
It seems they are not being installed by this port.
@
text
@d2 1
a2 1
# $FreeBSD: ports/misc/kde2-i18n/scripts/Configure,v 1.1 2001/04/09 20:48:48 demon Exp $
d15 1
d17 1
d20 1
a20 2
de		"German" ON \
el		"Greek" OFF \
a21 1
es		"Spanish" OFF \
d25 2
d29 2
a31 1
is		"Icelandic" OFF \
a32 2
it		"Italian" OFF \
nl		"Dutch" OFF \
a36 1
pt_BR		"Brazil portuguese" OFF \
d39 2
d43 1
a43 1
sr		"Serbian" OFF \
a46 2
zh_CN.GB2312	"Simplified Chinese" ON \
zh_TW.Big5	"Chinese" ON \
@


1.1
log
@Add the ability to select which languages to install via dialog(1)-based
menu.
Sort pkg-plist.
@
text
@d2 1
a2 1
# $FreeBSD$
d6 3
a11 3
if [ "${LINGUAS}" ]; then
	set `echo $LINGUAS`
else
d69 2
a70 2
/usr/bin/grep "^[^@@].*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}
/usr/bin/grep "^@@.*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}.dirs
@

