aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/openoffice-3/Makefile24
-rw-r--r--editors/openoffice-3/files/Makefile.knobs7
-rw-r--r--editors/openoffice-3/files/Makefile.localized1
-rw-r--r--editors/openoffice.org-2/Makefile24
-rw-r--r--editors/openoffice.org-2/files/Makefile.knobs7
-rw-r--r--editors/openoffice.org-2/files/Makefile.localized1
-rw-r--r--editors/openoffice.org-3/Makefile24
-rw-r--r--editors/openoffice.org-3/files/Makefile.knobs7
-rw-r--r--editors/openoffice.org-3/files/Makefile.localized1
9 files changed, 90 insertions, 6 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index d109abf5093c..58f3061f8df4 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/Makefile
@@ -228,17 +228,37 @@ do-build:
.else
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; dmake"
.endif
+.if ${LOCALIZED_LANG} == "all"
+ @${MAKE} languagepack
+.endif
do-install:
+.if ${LOCALIZED_LANG} == "all"
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/ ; ${LS} */freebsd*/*.t?z > ${WRKDIR}/LANGPACKFILES
+ @${RM} -Rf ${WRKDIR}/tmp
+ @${MKDIR} ${WRKDIR}/tmp
+ @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/$$i ; \
+ done
+ @for i in `${CAT} ${WRKDIR}/LANGPACKFILES`; do \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/$$i ;\
+ done
+ @${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
+ @cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
+.else
@cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
@${RM} -Rf ${WRKDIR}/tmp
@${MKDIR} ${WRKDIR}/tmp
@for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
- ${CP} ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ${WRKDIR}/tmp ; \
- cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKDIR}/tmp/$$i ; \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ; \
done
@${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
@cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
+.endif
post-install:
@${ECHO_MSG} "===> Add wrapper scripts";
diff --git a/editors/openoffice-3/files/Makefile.knobs b/editors/openoffice-3/files/Makefile.knobs
index 87843d8a66bc..2c57827a5c12 100644
--- a/editors/openoffice-3/files/Makefile.knobs
+++ b/editors/openoffice-3/files/Makefile.knobs
@@ -132,12 +132,19 @@ pre-fetch:
@${ECHO} "You can compile OOo with evolution2 support by"
@${ECHO} "make -DWITH_EVOLUTION2"
.endif
+.if ${LOCALIZED_LANG} != "all"
+ @${ECHO}
+ @${ECHO} "You can compile OOo with full localized language support by"
+ @${ECHO} "make LOCALIZED_LANG=all"
+.endif
@${ECHO}
@${ECHO} "NOTICE:"
@${ECHO}
@${ECHO} "To build OOo, you should have a lot"
.if defined(WITH_DEBUG)
@${ECHO} "of free diskspace (~ 18GB) and memory (~ 2GB)."
+.elif ${LOCALIZED_LANG} == "all"
+ @${ECHO} "of free diskspace (~ 35GB) and memory (~ 2GB)."
.else
@${ECHO} "of free diskspace (~ 9GB) and memory (~ 2GB)."
.endif
diff --git a/editors/openoffice-3/files/Makefile.localized b/editors/openoffice-3/files/Makefile.localized
index 584a01df7b8b..ce9ac37a728c 100644
--- a/editors/openoffice-3/files/Makefile.localized
+++ b/editors/openoffice-3/files/Makefile.localized
@@ -343,5 +343,6 @@ LANG_PKGNAME= ${LOCALIZED_LANG}
################################################################
.if ${LOCALIZED_LANG} == "all"
ALL_LOCALIZED_LANGS=yes
+PKGNAMESUFFIX= -alllangs
.endif
.endif
diff --git a/editors/openoffice.org-2/Makefile b/editors/openoffice.org-2/Makefile
index d109abf5093c..58f3061f8df4 100644
--- a/editors/openoffice.org-2/Makefile
+++ b/editors/openoffice.org-2/Makefile
@@ -228,17 +228,37 @@ do-build:
.else
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; dmake"
.endif
+.if ${LOCALIZED_LANG} == "all"
+ @${MAKE} languagepack
+.endif
do-install:
+.if ${LOCALIZED_LANG} == "all"
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/ ; ${LS} */freebsd*/*.t?z > ${WRKDIR}/LANGPACKFILES
+ @${RM} -Rf ${WRKDIR}/tmp
+ @${MKDIR} ${WRKDIR}/tmp
+ @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/$$i ; \
+ done
+ @for i in `${CAT} ${WRKDIR}/LANGPACKFILES`; do \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/$$i ;\
+ done
+ @${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
+ @cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
+.else
@cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
@${RM} -Rf ${WRKDIR}/tmp
@${MKDIR} ${WRKDIR}/tmp
@for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
- ${CP} ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ${WRKDIR}/tmp ; \
- cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKDIR}/tmp/$$i ; \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ; \
done
@${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
@cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
+.endif
post-install:
@${ECHO_MSG} "===> Add wrapper scripts";
diff --git a/editors/openoffice.org-2/files/Makefile.knobs b/editors/openoffice.org-2/files/Makefile.knobs
index 87843d8a66bc..2c57827a5c12 100644
--- a/editors/openoffice.org-2/files/Makefile.knobs
+++ b/editors/openoffice.org-2/files/Makefile.knobs
@@ -132,12 +132,19 @@ pre-fetch:
@${ECHO} "You can compile OOo with evolution2 support by"
@${ECHO} "make -DWITH_EVOLUTION2"
.endif
+.if ${LOCALIZED_LANG} != "all"
+ @${ECHO}
+ @${ECHO} "You can compile OOo with full localized language support by"
+ @${ECHO} "make LOCALIZED_LANG=all"
+.endif
@${ECHO}
@${ECHO} "NOTICE:"
@${ECHO}
@${ECHO} "To build OOo, you should have a lot"
.if defined(WITH_DEBUG)
@${ECHO} "of free diskspace (~ 18GB) and memory (~ 2GB)."
+.elif ${LOCALIZED_LANG} == "all"
+ @${ECHO} "of free diskspace (~ 35GB) and memory (~ 2GB)."
.else
@${ECHO} "of free diskspace (~ 9GB) and memory (~ 2GB)."
.endif
diff --git a/editors/openoffice.org-2/files/Makefile.localized b/editors/openoffice.org-2/files/Makefile.localized
index 584a01df7b8b..ce9ac37a728c 100644
--- a/editors/openoffice.org-2/files/Makefile.localized
+++ b/editors/openoffice.org-2/files/Makefile.localized
@@ -343,5 +343,6 @@ LANG_PKGNAME= ${LOCALIZED_LANG}
################################################################
.if ${LOCALIZED_LANG} == "all"
ALL_LOCALIZED_LANGS=yes
+PKGNAMESUFFIX= -alllangs
.endif
.endif
diff --git a/editors/openoffice.org-3/Makefile b/editors/openoffice.org-3/Makefile
index d109abf5093c..58f3061f8df4 100644
--- a/editors/openoffice.org-3/Makefile
+++ b/editors/openoffice.org-3/Makefile
@@ -228,17 +228,37 @@ do-build:
.else
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; dmake"
.endif
+.if ${LOCALIZED_LANG} == "all"
+ @${MAKE} languagepack
+.endif
do-install:
+.if ${LOCALIZED_LANG} == "all"
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/ ; ${LS} */freebsd*/*.t?z > ${WRKDIR}/LANGPACKFILES
+ @${RM} -Rf ${WRKDIR}/tmp
+ @${MKDIR} ${WRKDIR}/tmp
+ @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/$$i ; \
+ done
+ @for i in `${CAT} ${WRKDIR}/LANGPACKFILES`; do \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/$$i ;\
+ done
+ @${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
+ @cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
+.else
@cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
@${RM} -Rf ${WRKDIR}/tmp
@${MKDIR} ${WRKDIR}/tmp
@for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
- ${CP} ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ${WRKDIR}/tmp ; \
- cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKDIR}/tmp/$$i ; \
+ ${ECHO_CMD} "extracting $$i" ; \
+ cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ; \
done
@${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
@cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
+.endif
post-install:
@${ECHO_MSG} "===> Add wrapper scripts";
diff --git a/editors/openoffice.org-3/files/Makefile.knobs b/editors/openoffice.org-3/files/Makefile.knobs
index 87843d8a66bc..2c57827a5c12 100644
--- a/editors/openoffice.org-3/files/Makefile.knobs
+++ b/editors/openoffice.org-3/files/Makefile.knobs
@@ -132,12 +132,19 @@ pre-fetch:
@${ECHO} "You can compile OOo with evolution2 support by"
@${ECHO} "make -DWITH_EVOLUTION2"
.endif
+.if ${LOCALIZED_LANG} != "all"
+ @${ECHO}
+ @${ECHO} "You can compile OOo with full localized language support by"
+ @${ECHO} "make LOCALIZED_LANG=all"
+.endif
@${ECHO}
@${ECHO} "NOTICE:"
@${ECHO}
@${ECHO} "To build OOo, you should have a lot"
.if defined(WITH_DEBUG)
@${ECHO} "of free diskspace (~ 18GB) and memory (~ 2GB)."
+.elif ${LOCALIZED_LANG} == "all"
+ @${ECHO} "of free diskspace (~ 35GB) and memory (~ 2GB)."
.else
@${ECHO} "of free diskspace (~ 9GB) and memory (~ 2GB)."
.endif
diff --git a/editors/openoffice.org-3/files/Makefile.localized b/editors/openoffice.org-3/files/Makefile.localized
index 584a01df7b8b..ce9ac37a728c 100644
--- a/editors/openoffice.org-3/files/Makefile.localized
+++ b/editors/openoffice.org-3/files/Makefile.localized
@@ -343,5 +343,6 @@ LANG_PKGNAME= ${LOCALIZED_LANG}
################################################################
.if ${LOCALIZED_LANG} == "all"
ALL_LOCALIZED_LANGS=yes
+PKGNAMESUFFIX= -alllangs
.endif
.endif