convert to new MULTI_PACKAGES. use static DESCR-sub files...

"should be okay" bernd@
This commit is contained in:
steven 2006-11-22 07:40:24 +00:00
parent cf9b0dbefe
commit 8e39eaf378
34 changed files with 137 additions and 23 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.5 2006/11/10 20:55:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.6 2006/11/22 07:40:24 steven Exp $
PKG_ARCH= *
COMMENT= "${MAINLANG} language pack for Firefox"
COMMENT-main= "${MAINLANG} language pack for Firefox"
V= 1.5.0.8
NAME= firefox-i18n
PKGNAME= ${NAME}-${MAINLANG}-$V
PKGNAME-main= ${PKGNAME}p1
CATEGORIES= www
@ -38,29 +39,21 @@ NO_REGRESS= Yes
DISTFILES= ${MAINLANG}.xpi
LPACKDIR-${MAINLANG}=${PREFIX}/mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org
MULTI_PACKAGES= -main
.for i in ${OTHERLANGS}
MULTI_PACKAGES+=-$i
DISTFILES+= $i.xpi
PKGNAME-$i= ${NAME}-$i-${V}p0
PKGNAME-$i= ${NAME}-$i-${V}p1
COMMENT-$i= $i language pack for Firefox
LPACKDIR-$i= ${PREFIX}/mozilla-firefox/extensions/langpack-$i@firefox.mozilla.org
.endfor
SUBST_VARS= MAINLANG
# use the same for all subpackages
DESCR= ${PKGDIR}/DESCR
MESSAGE= ${PKGDIR}/MESSAGE
SUBST_VARS= LANG
SUBPACKAGE?=
.if defined(PACKAGING)
. if !empty(SUBPACKAGE)
LANG= ${SUBPACKAGE:C/^-//}
. else
LANG= ${MAINLANG}
. endif
.endif
do-extract:
.for i in ${MAINLANG} ${OTHERLANGS}
@mkdir -p ${WRKDIR}/$i

View File

@ -1,4 +1,4 @@
Language pack (${LANG}) for Firefox by MLP.
Language pack (ar) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (bg) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (ca) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (cs) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (da) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (de) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (el) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (es-AR) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (es-ES) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (eu) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (fi) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (fr) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (ga-IE) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (gu-IN) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (he) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (hu) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (it) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (ja) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (${MAINLANG}) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (nb-NO) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (nl) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (pl) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (pt-BR) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (ro) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (ru) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (sk) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (sl) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (sv-SE) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (tr) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (zh-CN) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -0,0 +1,4 @@
Language pack (zh-TW) for Firefox by MLP.
Mozilla Localization Project, abbreviated as MLP, tries to help and ease
the availability of mozilla.org products toward different world cultures
and languages through the support of the open source community.

View File

@ -1,7 +0,0 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/25 21:25:44 steven Exp $
mozilla-firefox/extensions/langpack-en-GB@firefox.mozilla.org/
mozilla-firefox/extensions/langpack-en-GB@firefox.mozilla.org/chrome/
mozilla-firefox/extensions/langpack-en-GB@firefox.mozilla.org/chrome.manifest
mozilla-firefox/extensions/langpack-en-GB@firefox.mozilla.org/chrome/chromelist.txt
mozilla-firefox/extensions/langpack-en-GB@firefox.mozilla.org/chrome/en-GB.jar
mozilla-firefox/extensions/langpack-en-GB@firefox.mozilla.org/install.rdf

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/22 07:40:24 steven Exp $
@pkgpath www/firefox-i18n
mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org/
mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org/chrome/
mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org/chrome.manifest
mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org/chrome/chromelist.txt
mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org/chrome/${MAINLANG}.jar
mozilla-firefox/extensions/langpack-${MAINLANG}@firefox.mozilla.org/install.rdf