diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2001-04-11 09:09:31 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2001-04-11 09:09:31 +0000 |
commit | 547300e898aee2d6cb3c326d7bcf69fe96179443 (patch) | |
tree | d795415ddd62521f536646c8bc32109d2f9e4ad7 /portuguese/kde4-l10n | |
parent | fa4540e705bb87ca5e3992b501995e9c51f714f7 (diff) | |
download | ports-547300e898aee2d6cb3c326d7bcf69fe96179443.tar.gz ports-547300e898aee2d6cb3c326d7bcf69fe96179443.zip |
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.
Notes
Notes:
svn path=/head/; revision=41277
Diffstat (limited to 'portuguese/kde4-l10n')
-rw-r--r-- | portuguese/kde4-l10n/scripts/Configure | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/portuguese/kde4-l10n/scripts/Configure b/portuguese/kde4-l10n/scripts/Configure index 3d8958d60472..2b69520dcdc1 100644 --- a/portuguese/kde4-l10n/scripts/Configure +++ b/portuguese/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'` |