summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-09-01 15:16:24 +0000
committertaca <taca@pkgsrc.org>2008-09-01 15:16:24 +0000
commit5d2abc01d8e32be51da8c43711033550d4d0a18b (patch)
treeca887529e19089471307bf42cee252ca3ee47012 /www
parent17ab70f636b6ac0b29d4d10cec6c4715b613df3e (diff)
downloadpkgsrc-5d2abc01d8e32be51da8c43711033550d4d0a18b.tar.gz
Update drupal6-translations to 20080901.
* pkgsrc changes: Now intdoruce options framework to select translation files. (All languages are selected if no option specified.) * 20080901 changes: - Enable gu (Gujarati language) support since 1.0 was released. - Update pt-br (Brazilian Portuguese) to 1.0-rc5.
Diffstat (limited to 'www')
-rw-r--r--www/drupal6-translations/Makefile22
-rw-r--r--www/drupal6-translations/PLIST.gu42
-rw-r--r--www/drupal6-translations/PLIST.zh-cn (renamed from www/drupal6-translations/PLIST.zh-hans)2
-rw-r--r--www/drupal6-translations/PLIST.zh-tw (renamed from www/drupal6-translations/PLIST.zh-hant)2
-rw-r--r--www/drupal6-translations/distinfo11
-rw-r--r--www/drupal6-translations/options.mk43
6 files changed, 98 insertions, 24 deletions
diff --git a/www/drupal6-translations/Makefile b/www/drupal6-translations/Makefile
index 7d6f05550e7..7ec778c8b0f 100644
--- a/www/drupal6-translations/Makefile
+++ b/www/drupal6-translations/Makefile
@@ -1,15 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2008/08/25 12:50:52 taca Exp $
+# $NetBSD: Makefile,v 1.4 2008/09/01 15:16:24 taca Exp $
#
-DISTNAME= drupal6-translations-20080826
+DISTNAME= drupal6-translations-20080901
CATEGORIES= www
MASTER_SITES= http://ftp.drupal.org/files/projects/
-DISTFILES= zh-hans-6.x-1.0.tar.gz zh-hant-6.x-1.1.tar.gz \
- cs-6.x-1.8.tar.gz nl-6.x-1.1.tar.gz fi-6.x-1.0-rc.tar.gz \
- de-6.x-1.0-rc1.tar.gz el-6.x-1.0-beta1.tar.gz \
- he-6.x-1.0.tar.gz hu-6.x-1.0.tar.gz ja-6.x-1.2.tar.gz \
- lt-6.x-1.2.tar.gz pt-br-6.x-1.0-rc1.tar.gz ro-6.x-1.1.tar.gz \
- sk-6.x-1.0-beta5.tar.gz es-6.x-1.0.tar.gz
+DISTFILES= ${DL_DISTFILES}
DIST_SUBDIR= drupal6-${STAMP}
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -29,18 +24,9 @@ WRKSRC= ${WRKDIR}/drupal
PKG_DESTDIR_SUPPORT= user-destdir
-# Broken directory structure: eo vi
-# development version only: ar da fr gu nb nn pt-pt sv th tr
-LANG_SUPPORTED= cs de el es fi he hu ja lt nl nn \
- pt-br ro sk sv th tr zh-hans zh-hant
PLIST_SUBST+= DRUPAL_BASE=${DRUPAL_BASE:Q}
-.for l in ${LANG_SUPPORTED}
-PLIST_SRC+= PLIST.${l}
-.endfor
-PLIST_SRC+= PLIST.common_end
-
-.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
DRUPAL_BASE?= share/drupal
diff --git a/www/drupal6-translations/PLIST.gu b/www/drupal6-translations/PLIST.gu
new file mode 100644
index 00000000000..9784225bc84
--- /dev/null
+++ b/www/drupal6-translations/PLIST.gu
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST.gu,v 1.3 2008/09/01 15:16:24 taca Exp $
+${DRUPAL_BASE}/LICENSE.gu.txt
+${DRUPAL_BASE}/README.gu.txt
+${DRUPAL_BASE}/STATUS.gu.txt
+${DRUPAL_BASE}/modules/system/translations/general.gu.po
+${DRUPAL_BASE}/modules/system/translations/gu.gu.po
+${DRUPAL_BASE}/modules/system/translations/includes.gu.po
+${DRUPAL_BASE}/profiles/default/translations/gu.po
+${DRUPAL_BASE}/modules/system/translations/misc.gu.po
+${DRUPAL_BASE}/modules/aggregator/translations/modules-aggregator.gu.po
+${DRUPAL_BASE}/modules/block/translations/modules-block.gu.po
+${DRUPAL_BASE}/modules/blog/translations/modules-blog.gu.po
+${DRUPAL_BASE}/modules/blogapi/translations/modules-blogapi.gu.po
+${DRUPAL_BASE}/modules/book/translations/modules-book.gu.po
+${DRUPAL_BASE}/modules/color/translations/modules-color.gu.po
+${DRUPAL_BASE}/modules/comment/translations/modules-comment.gu.po
+${DRUPAL_BASE}/modules/contact/translations/modules-contact.gu.po
+${DRUPAL_BASE}/modules/dblog/translations/modules-dblog.gu.po
+${DRUPAL_BASE}/modules/filter/translations/modules-filter.gu.po
+${DRUPAL_BASE}/modules/forum/translations/modules-forum.gu.po
+${DRUPAL_BASE}/modules/help/translations/modules-help.gu.po
+${DRUPAL_BASE}/modules/menu/translations/modules-menu.gu.po
+${DRUPAL_BASE}/modules/node/translations/modules-node.gu.po
+${DRUPAL_BASE}/modules/openid/translations/modules-openid.gu.po
+${DRUPAL_BASE}/modules/path/translations/modules-path.gu.po
+${DRUPAL_BASE}/modules/php/translations/modules-php.gu.po
+${DRUPAL_BASE}/modules/ping/translations/modules-ping.gu.po
+${DRUPAL_BASE}/modules/poll/translations/modules-poll.gu.po
+${DRUPAL_BASE}/modules/profile/translations/modules-profile.gu.po
+${DRUPAL_BASE}/modules/search/translations/modules-search.gu.po
+${DRUPAL_BASE}/modules/statistics/translations/modules-statistics.gu.po
+${DRUPAL_BASE}/modules/syslog/translations/modules-syslog.gu.po
+${DRUPAL_BASE}/modules/system/translations/modules-system.gu.po
+${DRUPAL_BASE}/modules/taxonomy/translations/modules-taxonomy.gu.po
+${DRUPAL_BASE}/modules/throttle/translations/modules-throttle.gu.po
+${DRUPAL_BASE}/modules/tracker/translations/modules-tracker.gu.po
+${DRUPAL_BASE}/modules/translation/translations/modules-translation.gu.po
+${DRUPAL_BASE}/modules/trigger/translations/modules-trigger.gu.po
+${DRUPAL_BASE}/modules/update/translations/modules-update.gu.po
+${DRUPAL_BASE}/themes/chameleon/translations/themes-chameleon.gu.po
+${DRUPAL_BASE}/themes/garland/translations/themes-garland.gu.po
+${DRUPAL_BASE}/themes/pushbutton/translations/themes-pushbutton.gu.po
diff --git a/www/drupal6-translations/PLIST.zh-hans b/www/drupal6-translations/PLIST.zh-cn
index 00626897593..9ab76c6adfe 100644
--- a/www/drupal6-translations/PLIST.zh-hans
+++ b/www/drupal6-translations/PLIST.zh-cn
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.zh-hans,v 1.1.1.1 2008/08/17 05:35:07 taca Exp $
+@comment $NetBSD: PLIST.zh-cn,v 1.1 2008/09/01 15:16:25 taca Exp $
${DRUPAL_BASE}/LICENSE.zh-hans.txt
${DRUPAL_BASE}/Readme.zh-hans.txt
${DRUPAL_BASE}/STATUS.zh-hans.txt
diff --git a/www/drupal6-translations/PLIST.zh-hant b/www/drupal6-translations/PLIST.zh-tw
index 50f8e33b6fa..577887f4521 100644
--- a/www/drupal6-translations/PLIST.zh-hant
+++ b/www/drupal6-translations/PLIST.zh-tw
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.zh-hant,v 1.1.1.1 2008/08/17 05:35:07 taca Exp $
+@comment $NetBSD: PLIST.zh-tw,v 1.1 2008/09/01 15:16:25 taca Exp $
${DRUPAL_BASE}/LICENSE.zh-hant.txt
${DRUPAL_BASE}/STATUS.zh-hant.txt
${DRUPAL_BASE}/modules/system/translations/general.zh-hant.po
diff --git a/www/drupal6-translations/distinfo b/www/drupal6-translations/distinfo
index 3964760d8fb..ec29b8deb09 100644
--- a/www/drupal6-translations/distinfo
+++ b/www/drupal6-translations/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2008/08/25 12:50:52 taca Exp $
+$NetBSD: distinfo,v 1.4 2008/09/01 15:16:25 taca Exp $
SHA1 (drupal6-20080816/cs-6.x-1.8.tar.gz) = 9c91966431b805e6f8e934ff3a6622b85954d941
RMD160 (drupal6-20080816/cs-6.x-1.8.tar.gz) = cb954a82bd65fa3e794a559d9def62bc2f32b2d3
@@ -15,6 +15,9 @@ Size (drupal6-20080816/es-6.x-1.0.tar.gz) = 349846 bytes
SHA1 (drupal6-20080816/fi-6.x-1.0-rc.tar.gz) = cbcd2eada80faaa47c7159d0307ba5e22e75b7c6
RMD160 (drupal6-20080816/fi-6.x-1.0-rc.tar.gz) = df69c5f602e28b62f63c3c79a12095f9c117cdef
Size (drupal6-20080816/fi-6.x-1.0-rc.tar.gz) = 214953 bytes
+SHA1 (drupal6-20080816/gu-6.x-1.0.tar.gz) = 888163c897487ea39e6b1f05f9b3c7156dd532bb
+RMD160 (drupal6-20080816/gu-6.x-1.0.tar.gz) = 86ab95c9b1d1e0573081a7e442c66389bdfa7a79
+Size (drupal6-20080816/gu-6.x-1.0.tar.gz) = 213121 bytes
SHA1 (drupal6-20080816/he-6.x-1.0.tar.gz) = 932690643afa483dd6060da9273a6ba9af8832a8
RMD160 (drupal6-20080816/he-6.x-1.0.tar.gz) = 75514cbc1c682aed401eb4e4b7c23742d691b32b
Size (drupal6-20080816/he-6.x-1.0.tar.gz) = 139027 bytes
@@ -30,9 +33,9 @@ Size (drupal6-20080816/lt-6.x-1.2.tar.gz) = 187876 bytes
SHA1 (drupal6-20080816/nl-6.x-1.1.tar.gz) = bb44e83a73c6351665ba7f13cd908f92ff815464
RMD160 (drupal6-20080816/nl-6.x-1.1.tar.gz) = a856a8f235dceaf10313d13f6dc30e9e186aee5e
Size (drupal6-20080816/nl-6.x-1.1.tar.gz) = 209571 bytes
-SHA1 (drupal6-20080816/pt-br-6.x-1.0-rc1.tar.gz) = 9b789074fb860769e8f31f6c7e19320220903bce
-RMD160 (drupal6-20080816/pt-br-6.x-1.0-rc1.tar.gz) = 5985a79521b1b51798a6258c3c0c01f7ec8124da
-Size (drupal6-20080816/pt-br-6.x-1.0-rc1.tar.gz) = 137188 bytes
+SHA1 (drupal6-20080816/pt-br-6.x-1.0-rc5.tar.gz) = 243a6c412a626584f88a22debe4d3a8888da3565
+RMD160 (drupal6-20080816/pt-br-6.x-1.0-rc5.tar.gz) = f6377399499160fcb29f311e42f76b8c794998b2
+Size (drupal6-20080816/pt-br-6.x-1.0-rc5.tar.gz) = 199484 bytes
SHA1 (drupal6-20080816/ro-6.x-1.1.tar.gz) = 42c2a605bdd414a8ea7e11654cc2b2b77c1d2fb7
RMD160 (drupal6-20080816/ro-6.x-1.1.tar.gz) = 0391bcd1e0e74e642200ca0256cf41f3b4b5e0cd
Size (drupal6-20080816/ro-6.x-1.1.tar.gz) = 134248 bytes
diff --git a/www/drupal6-translations/options.mk b/www/drupal6-translations/options.mk
new file mode 100644
index 00000000000..75ba20a4db4
--- /dev/null
+++ b/www/drupal6-translations/options.mk
@@ -0,0 +1,43 @@
+# $NetBSD: options.mk,v 1.1 2008/09/01 15:16:25 taca Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.drupal-translations
+
+# Broken directory structure: eo vi
+# development version only: ar fr nb nn pt sv th tr
+DL_SUPPORTED_LANGUAGES= cs de el es fi gu he hu ja lt nl pt-br ro sk \
+ zh-cn zh-tw
+
+DL_TRANSLATIONS.cs= cs-6.x-1.8.tar.gz
+DL_TRANSLATIONS.da= da-6.x-1.0.tar.gz
+DL_TRANSLATIONS.de= de-6.x-1.0-rc1.tar.gz
+DL_TRANSLATIONS.el= el-6.x-1.0-beta1.tar.gz
+DL_TRANSLATIONS.es= es-6.x-1.0.tar.gz
+DL_TRANSLATIONS.fi= fi-6.x-1.0-rc.tar.gz
+DL_TRANSLATIONS.gu= gu-6.x-1.0.tar.gz
+DL_TRANSLATIONS.he= he-6.x-1.0.tar.gz
+DL_TRANSLATIONS.hu= hu-6.x-1.0.tar.gz
+DL_TRANSLATIONS.ja= ja-6.x-1.2.tar.gz
+DL_TRANSLATIONS.lt= lt-6.x-1.2.tar.gz
+DL_TRANSLATIONS.nl= nl-6.x-1.1.tar.gz
+DL_TRANSLATIONS.pt-br= pt-br-6.x-1.0-rc5.tar.gz
+DL_TRANSLATIONS.ro= ro-6.x-1.1.tar.gz
+DL_TRANSLATIONS.sk= sk-6.x-1.0-beta5.tar.gz
+DL_TRANSLATIONS.zh-cn= zh-hans-6.x-1.0.tar.gz
+DL_TRANSLATIONS.zh-tw= zh-hant-6.x-1.1.tar.gz
+
+.for l in ${DL_SUPPORTED_LANGUAGES}
+PKG_SUPPORTED_OPTIONS+= lang-${l}
+PKG_SUGGESTED_OPTIONS+= lang-${l}
+.endfor
+
+.include "../../mk/bsd.options.mk"
+
+.for l in ${PKG_OPTIONS:Mlang-*}
+DL_LANGUAGES+= ${l:S/^lang-//1}
+.endfor
+
+.for l in ${DL_LANGUAGES}
+DL_DISTFILES+= ${DL_TRANSLATIONS.${l}}
+PLIST_SRC+= PLIST.${l}
+.endfor
+PLIST_SRC+= PLIST.common_end