diff options
Diffstat (limited to 'misc/kde3-i18n')
-rw-r--r-- | misc/kde3-i18n/Makefile | 62 | ||||
-rw-r--r-- | misc/kde3-i18n/distinfo | 1 | ||||
-rw-r--r-- | misc/kde3-i18n/files/pkg-plist.sub | 3 | ||||
-rw-r--r-- | misc/kde3-i18n/pkg-comment | 2 | ||||
-rw-r--r-- | misc/kde3-i18n/pkg-descr | 2 | ||||
-rw-r--r-- | misc/kde3-i18n/pkg-plist | 1 | ||||
-rw-r--r-- | misc/kde3-i18n/scripts/Configure | 92 |
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} |