1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/editors/openoffice.org-1.1/files/generate.pl
Maho Nakata dc106744f9 Update to 1.1.3
a) remove patches which not needed anymore
b) security vulnerablity by mozilla doesn't affect
   this port (remove WITHOUT_MOZILLA by default)
   see: http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=12093
c) add files/geneate.pl, which generates shell script does
   build complete localized packages
d) Use CONFIGURE_WRKSRC. no longer need .. for patches.
e) Still weird though, WITH_CCACHE works.
f) Fix: if you build without X, Makefile invokes build twice.
2004-10-12 07:20:54 +00:00

22 lines
790 B
Perl

#!/usr/bin/perl
# generate full build shell script for OpenOffice.org
# Whom: Maho Nakata <maho@FreeBSD.org>
# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/generate.pl,v 1.1 2004-10-12 07:20:54 maho Exp $
print "#!/bin/csh\n";
print "/usr/bin/time make WITH_CCACHE=yes package package-rename solver sdk deinstall 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[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 package package-rename deinstall >& log.$LANG\n";
}
}
close FILE;