aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3-devel/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-06-13 23:57:01 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-06-13 23:57:01 +0000
commit437cdc00bdaca43f183b3c29633dfcd7d28d8b9c (patch)
tree7fa37efec1ab6d4867541390d372c7c78e1ee981 /editors/openoffice.org-3-devel/files
parent01907911f7f530b3448c550cd96014bc5b922832 (diff)
Notes
Diffstat (limited to 'editors/openoffice.org-3-devel/files')
-rw-r--r--editors/openoffice.org-3-devel/files/Makefile.localized31
-rw-r--r--editors/openoffice.org-3-devel/files/oo_setup.resp2
-rw-r--r--editors/openoffice.org-3-devel/files/openoffice-wrapper4
3 files changed, 34 insertions, 3 deletions
diff --git a/editors/openoffice.org-3-devel/files/Makefile.localized b/editors/openoffice.org-3-devel/files/Makefile.localized
new file mode 100644
index 000000000000..f37d00f28198
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/Makefile.localized
@@ -0,0 +1,31 @@
+# localized makefile
+# Whom: Maho Nakata <maho@FreeBSD.org>
+# $FreeBSD$
+
+.if defined(LOCALIZED_LANG)
+.if ${LOCALIZED_LANG} == "de"
+
+CATEGORIES= german
+.if !defined (LANG) && !defined(USE_LANG)
+USE_LANG= de_DE.ISO8859-15
+.endif
+LANG_LIST= de_DE.ISO8859-15 de_AT.ISO8859-15 de_DE.ISO8859-15 \
+ de_DE.ISO8859-1 de_AT.ISO8859-1 de_DE.ISO8859-1
+LANG_PKGNAME= de
+LANG_EXT= 49
+L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
+LANG_CONFIGURE_ARG= GER
+COMMENT= Office-Suite mit Textverarbeitung, Tabellenkalkulation, Datenbank und Praesentationsprogramm
+
+.elseif ${LOCALIZED_LANG} == "ja"
+
+CATEGORIES= japanese
+LANG_PKGNAME= ja
+LANG_EXT= 81
+LANG_CONFIGURE_ARG= JAPN
+MASTER_SITES+= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/openoffice/stable/&,}
+RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf:${PORTSDIR}/japanese/kochi-ttfonts
+L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
+
+.endif
+.endif
diff --git a/editors/openoffice.org-3-devel/files/oo_setup.resp b/editors/openoffice.org-3-devel/files/oo_setup.resp
index a85c68b65d8a..6c6080103dbb 100644
--- a/editors/openoffice.org-3-devel/files/oo_setup.resp
+++ b/editors/openoffice.org-3-devel/files/oo_setup.resp
@@ -1,7 +1,7 @@
[Environment]
InstallationMode = INSTALL_NETWORK
InstallationType = STANDARD
-DestinationPath = %%PREFIX%%/OpenOffice.org%%FRELEASE_NR%%
+DestinationPath = %%PREFIX%%/OpenOffice.org%%RELEASE_NR%%
[Java]
JavaSupport = preinstalled_or_none
diff --git a/editors/openoffice.org-3-devel/files/openoffice-wrapper b/editors/openoffice.org-3-devel/files/openoffice-wrapper
index 086546f7cfad..ae2a03ef4408 100644
--- a/editors/openoffice.org-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice.org-3-devel/files/openoffice-wrapper
@@ -1,8 +1,8 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.12 2003-09-25 22:43:58 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.13 2004-06-13 23:57:01 maho Exp $
-oopath=%%PREFIX%%/OpenOffice.org%%FRELEASE_NR%%/program/
+oopath=%%PREFIX%%/OpenOffice.org%%RELEASE_NR%%/program/
program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
case $program in