aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kde3-i18n
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-04-22 07:47:50 +0800
committerwill <will@FreeBSD.org>2002-04-22 07:47:50 +0800
commit9a055e87611beb41b98be5a2fe9e0206e33101e8 (patch)
treec06250f8a52c1d8b199e541cd41068fe11b11219 /misc/kde3-i18n
parentb471bb2de2ef8435ad3f5071b5ba82d535385f85 (diff)
downloadfreebsd-ports-gnome-9a055e87611beb41b98be5a2fe9e0206e33101e8.tar.gz
freebsd-ports-gnome-9a055e87611beb41b98be5a2fe9e0206e33101e8.tar.zst
freebsd-ports-gnome-9a055e87611beb41b98be5a2fe9e0206e33101e8.zip
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
Diffstat (limited to 'misc/kde3-i18n')
-rw-r--r--misc/kde3-i18n/Makefile62
-rw-r--r--misc/kde3-i18n/distinfo1
-rw-r--r--misc/kde3-i18n/files/pkg-plist.sub3
-rw-r--r--misc/kde3-i18n/pkg-comment2
-rw-r--r--misc/kde3-i18n/pkg-descr2
-rw-r--r--misc/kde3-i18n/pkg-plist1
-rw-r--r--misc/kde3-i18n/scripts/Configure92
7 files changed, 31 insertions, 132 deletions
diff --git a/misc/kde3-i18n/Makefile b/misc/kde3-i18n/Makefile
index b20c579ae4b6..ec30827de3d7 100644
--- a/misc/kde3-i18n/Makefile
+++ b/misc/kde3-i18n/Makefile
@@ -6,40 +6,34 @@
#
PORTNAME= kde-i18n
-PORTVERSION= 2.2.2
-PORTREVISION= 1
-CATEGORIES?= misc kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
-DIST_SUBDIR= KDE
-
-MAINTAINER?= kde@FreeBSD.org
-
-BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
- automake14:${PORTSDIR}/devel/automake14
-LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
-
-USE_KDELIBS_VER=2
-USE_BZIP2= yes
-USE_GMAKE= yes
-
-GNU_CONFIGURE= yes
-
-PLIST= ${WRKDIR}/PLIST
-SCRIPTS_ENV+= PLIST=${PLIST}
-
-.include <bsd.port.pre.mk>
-
-pre-configure:
- ${MKDIR} ${WRKSRC}/auto-bin
-.for AC in autoconf autoheader
- ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+PORTVERSION= 3.0
+CATEGORIES= misc kde
+MASTER_SITES= # none
+DISTFILES= # none
+EXTRACT_ONLY= # none
+
+MAINTAINER= kde@FreeBSD.org
+
+RUN_DEPENDS+=\
+ ${PREFIX}/share/locale/ja/entry.desktop:${PORTSDIR}/japanese/kde3-i18n \
+ ${PREFIX}/share/locale/fr/entry.desktop:${PORTSDIR}/french/kde3-i18n \
+ ${PREFIX}/share/locale/de/entry.desktop:${PORTSDIR}/german/kde3-i18n \
+ ${PREFIX}/share/locale/ko/entry.desktop:${PORTSDIR}/korean/kde3-i18n \
+ ${PREFIX}/share/locale/ru/entry.desktop:${PORTSDIR}/russian/kde3-i18n \
+ ${PREFIX}/share/locale/uk/entry.desktop:${PORTSDIR}/ukrainian/kde3-i18n
+
+.for LANG in af ar az bg bs ca cs da el en_GB eo es et fi he hr hu id is it \
+ lt lv mt nb nl nn pl pt pt_BR ro sk sl sr sv ta th tr ven vi xh zu
+RUN_DEPENDS+=\
+${PREFIX}/share/locale/${LANG}/entry.desktop:${PORTSDIR}/misc/kde3-i18n-${LANG}
.endfor
-.for AM in automake aclocal
- ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.for ZH in zh_CN zh_TW
+RUN_DEPENDS+=\
+${PREFIX}/share/locale/${ZH}/entry.desktop:${PORTSDIR}/chinese/kde3-i18n-${ZH}
.endfor
- cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
- ${GMAKE} -f Makefile.cvs
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/Configure
-.include <bsd.port.post.mk>
+NO_BUILD= yes
+
+do-install: # none
+
+.include <bsd.port.mk>
diff --git a/misc/kde3-i18n/distinfo b/misc/kde3-i18n/distinfo
deleted file mode 100644
index b0328cc8ebfa..000000000000
--- a/misc/kde3-i18n/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (KDE/kde-i18n-2.2.2.tar.bz2) = 69d54ce59f459c3d428f2946239d1ff2
diff --git a/misc/kde3-i18n/files/pkg-plist.sub b/misc/kde3-i18n/files/pkg-plist.sub
deleted file mode 100644
index ef7e2981b1bc..000000000000
--- a/misc/kde3-i18n/files/pkg-plist.sub
+++ /dev/null
@@ -1,3 +0,0 @@
-@dirrm share/apps/ktuberling/sounds
-@dirrm share/apps/ktuberling
-@dirrm share/apps/amor
diff --git a/misc/kde3-i18n/pkg-comment b/misc/kde3-i18n/pkg-comment
index c24e7300ef3b..b6c98f1b6763 100644
--- a/misc/kde3-i18n/pkg-comment
+++ b/misc/kde3-i18n/pkg-comment
@@ -1 +1 @@
-Localized messages and documentation for KDE2
+Localized messages and documentation for KDE
diff --git a/misc/kde3-i18n/pkg-descr b/misc/kde3-i18n/pkg-descr
index 608caea3ad64..6401fc5109d0 100644
--- a/misc/kde3-i18n/pkg-descr
+++ b/misc/kde3-i18n/pkg-descr
@@ -1,3 +1,3 @@
-Localized messages and documentation for KDE2.
+Localized messages and documentation for KDE.
WWW: http://i18n.kde.org/
diff --git a/misc/kde3-i18n/pkg-plist b/misc/kde3-i18n/pkg-plist
new file mode 100644
index 000000000000..60acb5b59a6b
--- /dev/null
+++ b/misc/kde3-i18n/pkg-plist
@@ -0,0 +1 @@
+@comment This pkg-plist intentionally left blank.
diff --git a/misc/kde3-i18n/scripts/Configure b/misc/kde3-i18n/scripts/Configure
deleted file mode 100644
index a5fb3164b9e5..000000000000
--- a/misc/kde3-i18n/scripts/Configure
+++ /dev/null
@@ -1,92 +0,0 @@
-#! /bin/sh
-# $FreeBSD$
-
-/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}