diff options
author | Will Andrews <will@FreeBSD.org> | 2002-04-21 23:47:50 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-04-21 23:47:50 +0000 |
commit | d1c2f0dddd4a74a79847b017915f3482671e055c (patch) | |
tree | 31ccd02a7c0d295ec66bf2eefa0f980fbb92cb91 /misc/kde4-l10n-nn/scripts/Configure | |
parent | 98cff2373c59f930df3569d05871d0343d443fd8 (diff) | |
download | ports-d1c2f0dddd4a74a79847b017915f3482671e055c.tar.gz ports-d1c2f0dddd4a74a79847b017915f3482671e055c.zip |
Notes
Diffstat (limited to 'misc/kde4-l10n-nn/scripts/Configure')
-rw-r--r-- | misc/kde4-l10n-nn/scripts/Configure | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/misc/kde4-l10n-nn/scripts/Configure b/misc/kde4-l10n-nn/scripts/Configure deleted file mode 100644 index a5fb3164b9e5..000000000000 --- a/misc/kde4-l10n-nn/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} |