diff options
author | Maho Nakata <maho@FreeBSD.org> | 2005-07-17 02:50:51 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2005-07-17 02:50:51 +0000 |
commit | f65108718c786f83d10bf6f7e2d42c36262b39f1 (patch) | |
tree | bf150454da949c98393c84d97974e8326a0940cc /editors/openoffice.org-1.1 | |
parent | 40e664d9df0362151ed81acc590d0d3067caed51 (diff) | |
download | ports-f65108718c786f83d10bf6f7e2d42c36262b39f1.tar.gz ports-f65108718c786f83d10bf6f7e2d42c36262b39f1.zip |
Add note how to make localized packages
PR: 83502
Submitted by: Harald Schmalzbauer <harry@schmalzbauer.de>
Notes
Notes:
svn path=/head/; revision=139385
Diffstat (limited to 'editors/openoffice.org-1.1')
-rw-r--r-- | editors/openoffice.org-1.1/files/Makefile.knobs | 9 | ||||
-rw-r--r-- | editors/openoffice.org-1.1/files/Makefile.localized | 30 |
2 files changed, 25 insertions, 14 deletions
diff --git a/editors/openoffice.org-1.1/files/Makefile.knobs b/editors/openoffice.org-1.1/files/Makefile.knobs index cfc3757a9a31..1256edbb8a92 100644 --- a/editors/openoffice.org-1.1/files/Makefile.knobs +++ b/editors/openoffice.org-1.1/files/Makefile.knobs @@ -64,6 +64,15 @@ pre-fetch: @${ECHO} "make -DWITH_TTF_BYTECODE_ENABLED" @${ECHO} "See http://www.freetype.org/patents.html for details" .endif +.if !defined(LOCALIZED_LANG) + @${ECHO} + @${ECHO} "You can select the language for OOo by making it with 'make LOCALIZED_LANG=xx'" + @${ECHO} "while xx can be one of the following:" + @${ECHO} "af ar ca cs de dk el es et eu fi fr gl-ES he hi-IN" + @${ECHO} "hu it ja kn-IN ko lt nb nl nn ns pl pt pt-BR ru sk" + @${ECHO} "sl-SI sv th tn tr we zh-CN zh-TW zu" + @${ECHO} +.endif .if !defined(WITHOUT_JAVA) @${ECHO} @${ECHO} "You can compile OOo without Java support by" diff --git a/editors/openoffice.org-1.1/files/Makefile.localized b/editors/openoffice.org-1.1/files/Makefile.localized index d7368bf075be..9babefba515c 100644 --- a/editors/openoffice.org-1.1/files/Makefile.localized +++ b/editors/openoffice.org-1.1/files/Makefile.localized @@ -3,6 +3,8 @@ # $FreeBSD$ ################################################################ +# consult config_office/set_soenv.in for available languages +################################################################ .if defined(LOCALIZED_LANG) .if ${LOCALIZED_LANG} == "af" LANG_PKGNAME= af @@ -219,20 +221,6 @@ LANG_CONFIGURE_ARG= RUSS L10NHELP= helpcontent_${LANG_EXT}_unix.tgz .endif ################################################################ -.if ${LOCALIZED_LANG} == "es" -LANG_PKGNAME= es -LANG_EXT= 34 -L10NHELP= helpcontent_${LANG_EXT}_unix.tgz -LANG_CONFIGURE_ARG= SPAN -.endif -################################################################ -.if ${LOCALIZED_LANG} == "sv" -LANG_PKGNAME= sv -LANG_EXT= 46 -L10NHELP= helpcontent_${LANG_EXT}_unix.tgz -LANG_CONFIGURE_ARG= SWED -.endif -################################################################ .if ${LOCALIZED_LANG} == "sk" LANG_PKGNAME= sk LANG_EXT= 43 @@ -248,6 +236,20 @@ LANG_CONFIGURE_ARG= SLOVENIAN L10NHELP= helpcontent_${LANG_EXT}_unix.tgz .endif ################################################################ +.if ${LOCALIZED_LANG} == "es" +LANG_PKGNAME= es +LANG_EXT= 34 +L10NHELP= helpcontent_${LANG_EXT}_unix.tgz +LANG_CONFIGURE_ARG= SPAN +.endif +################################################################ +.if ${LOCALIZED_LANG} == "sv" +LANG_PKGNAME= sv +LANG_EXT= 46 +L10NHELP= helpcontent_${LANG_EXT}_unix.tgz +LANG_CONFIGURE_ARG= SWED +.endif +################################################################ .if ${LOCALIZED_LANG} == "th" LANG_PKGNAME= th LANG_EXT= 66 |