From 00bfb66660a2857a9a42a7a69a95e9b1b47196ad Mon Sep 17 00:00:00 2001 From: maho Date: Sun, 17 Jul 2005 02:50:51 +0000 Subject: Add note how to make localized packages PR: 83502 Submitted by: Harald Schmalzbauer --- editors/openoffice-1.1-devel/files/Makefile.knobs | 11 +++++++- .../openoffice-1.1-devel/files/Makefile.localized | 32 ++++++++++++---------- 2 files changed, 27 insertions(+), 16 deletions(-) (limited to 'editors/openoffice-1.1-devel') diff --git a/editors/openoffice-1.1-devel/files/Makefile.knobs b/editors/openoffice-1.1-devel/files/Makefile.knobs index e6331c1a376d..07341cf2f750 100644 --- a/editors/openoffice-1.1-devel/files/Makefile.knobs +++ b/editors/openoffice-1.1-devel/files/Makefile.knobs @@ -1,6 +1,6 @@ # Makefile for knobs # Whom: Maho Nakata -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/Makefile.knobs,v 1.1 2005-04-25 12:32:33 maho Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/Makefile.knobs,v 1.2 2005-07-17 02:50:51 maho Exp $ .if defined(WITHOUT_JAVA) CONFIGURE_ARGS+= --disable-java @@ -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-1.1-devel/files/Makefile.localized b/editors/openoffice-1.1-devel/files/Makefile.localized index 871c8d9e7d22..5c5f9a2db18f 100644 --- a/editors/openoffice-1.1-devel/files/Makefile.localized +++ b/editors/openoffice-1.1-devel/files/Makefile.localized @@ -1,7 +1,9 @@ # localized makefile # Whom: Maho Nakata -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/Makefile.localized,v 1.5 2005-04-25 12:32:33 maho Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/Makefile.localized,v 1.6 2005-07-17 02:50:51 maho Exp $ +################################################################ +# consult config_office/set_soenv.in for available languages ################################################################ .if defined(LOCALIZED_LANG) .if ${LOCALIZED_LANG} == "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 -- cgit