summaryrefslogtreecommitdiff
path: root/editors/openoffice-2.0-devel/files/generate.pl
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-01-10 12:28:20 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-01-10 12:28:20 +0000
commit242d41a6f0f736cee4d2f98fa9b1f9778af62026 (patch)
treefa44b06ae5910cd915369da1c99964e74a82fc58 /editors/openoffice-2.0-devel/files/generate.pl
parentAdd kasumi, a dictionary management tool for anthy kana-kanji conversion system. (diff)
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway They contributed for in many ways. Additional contributors. thank you very much for all: daichi, Eric Bachard, kan, lofi, Martin Hollmichel, nork, obrien, Sander Vesik, sem, and Stefan Taxhet
Notes
Notes: svn path=/head/; revision=126046
Diffstat (limited to 'editors/openoffice-2.0-devel/files/generate.pl')
-rw-r--r--editors/openoffice-2.0-devel/files/generate.pl21
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/openoffice-2.0-devel/files/generate.pl b/editors/openoffice-2.0-devel/files/generate.pl
new file mode 100644
index 000000000000..2356735d5755
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/generate.pl
@@ -0,0 +1,21 @@
+#!/usr/bin/perl
+
+# generate full build shell script for OpenOffice.org
+# Whom: Maho Nakata <maho@FreeBSD.org>
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/generate.pl,v 1.1 2005-01-10 12:28:19 maho Exp $
+
+print "#!/bin/csh\n";
+print "/usr/bin/time make WITH_CCACHE=yes package package-rename solver sdk deinstall languagepack clean >& log.en\n";
+print "/usr/bin/time make ALL_LOCALIZED_LANGS=yes >& log.all\n";
+
+open ( FILE, "< Makefile.localized") ;
+while(<FILE>){
+@tmp=split (' ',$_);
+@tmp2=split ('"',$tmp[3]);
+if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1];
+ print "make TWEAK_L10N=yes LOCALIZED_LANG=$LANG pre-everything\n";
+ print "/usr/bin/time make LOCALIZED_LANG=$LANG WITH_CCACHE=yes languagepack package package-rename deinstall >& log.$LANG\n";
+ }
+}
+close FILE;
+