diff options
author | demon <demon@FreeBSD.org> | 2001-04-11 09:09:31 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2001-04-11 09:09:31 +0000 |
commit | f4626037ee70d717de37c7aa65a679c594127216 (patch) | |
tree | 07bcde61f7913386094cdeece23aaad92a46c00e /arabic | |
parent | f1aa469f04030647c65085389f8bce8fa49fb5e1 (diff) | |
download | FreeBSD-ports-f4626037ee70d717de37c7aa65a679c594127216.zip FreeBSD-ports-f4626037ee70d717de37c7aa65a679c594127216.tar.gz |
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.
Diffstat (limited to 'arabic')
-rw-r--r-- | arabic/kde3-i18n/scripts/Configure | 10 | ||||
-rw-r--r-- | arabic/kde4-l10n/scripts/Configure | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/arabic/kde3-i18n/scripts/Configure b/arabic/kde3-i18n/scripts/Configure index 3d8958d..2b69520 100644 --- a/arabic/kde3-i18n/scripts/Configure +++ b/arabic/kde3-i18n/scripts/Configure @@ -3,12 +3,12 @@ /bin/rm -f ${PLIST} ${PLIST}.dirs -if [ "${BATCH}" ]; then - 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\" -else if [ "${LINGUAS}" ]; then set `echo $LINGUAS` else +if [ "${BATCH}" ]; then + 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\" +else /usr/bin/dialog --title "Select languages" --clear \ --checklist "\n\ Please select desired languages:" -1 -1 16 \ @@ -66,8 +66,8 @@ fi fi /bin/rm -f ${WRKSRC}/subdirs -/usr/bin/grep "^[^@].*/en/.*" ${CURDIR}/pkg-plist > ${PLIST} -/usr/bin/grep "^@.*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}.dirs +#/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'` diff --git a/arabic/kde4-l10n/scripts/Configure b/arabic/kde4-l10n/scripts/Configure index 3d8958d..2b69520 100644 --- a/arabic/kde4-l10n/scripts/Configure +++ b/arabic/kde4-l10n/scripts/Configure @@ -3,12 +3,12 @@ /bin/rm -f ${PLIST} ${PLIST}.dirs -if [ "${BATCH}" ]; then - 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\" -else if [ "${LINGUAS}" ]; then set `echo $LINGUAS` else +if [ "${BATCH}" ]; then + 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\" +else /usr/bin/dialog --title "Select languages" --clear \ --checklist "\n\ Please select desired languages:" -1 -1 16 \ @@ -66,8 +66,8 @@ fi fi /bin/rm -f ${WRKSRC}/subdirs -/usr/bin/grep "^[^@].*/en/.*" ${CURDIR}/pkg-plist > ${PLIST} -/usr/bin/grep "^@.*/en/.*" ${CURDIR}/pkg-plist > ${PLIST}.dirs +#/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'` |