diff options
author | Maho Nakata <maho@FreeBSD.org> | 2011-02-10 02:01:47 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2011-02-10 02:01:47 +0000 |
commit | 89bba589abc9382a04c0ccfcd79573c99b7afb36 (patch) | |
tree | 3030f2a08102ba8851c9ba2f60347e25cd1cb777 | |
parent | de933eed96c2967946a04c0fd21d8b0bfa999413 (diff) | |
download | ports-89bba589abc9382a04c0ccfcd79573c99b7afb36.tar.gz ports-89bba589abc9382a04c0ccfcd79573c99b7afb36.zip |
Notes
-rw-r--r-- | editors/openoffice-3/files/generate.pl | 15 | ||||
-rw-r--r-- | editors/openoffice.org-3-RC/files/generate.pl | 15 | ||||
-rw-r--r-- | editors/openoffice.org-3/files/generate.pl | 15 |
3 files changed, 27 insertions, 18 deletions
diff --git a/editors/openoffice-3/files/generate.pl b/editors/openoffice-3/files/generate.pl index 7d1279a80b2d..c52a9fe9aae4 100644 --- a/editors/openoffice-3/files/generate.pl +++ b/editors/openoffice-3/files/generate.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # generate full build shell script for OpenOffice.org # Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/generate.pl,v 1.12 2010-11-30 11:08:00 maho Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/generate.pl,v 1.13 2011-02-10 02:01:16 maho Exp $ print "#!/bin/csh\n"; print "make deinstall clean\n"; @@ -25,13 +25,16 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1]; } } close FILE; -print "md5 OOo* > MD5SUMS.log\n"; +$oootag= `cd ..; make -V OOOTAG2`; +chomp($oootag); +$md5sumname = "$oootag" . "_md5sums.txt"; +print "md5 OOo* > $md5sumname\n"; $arc= `uname -m`; if ($arc == "amd64" ) { -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* $md5sumname build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/\n"; } else { -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* $md5sumname build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/\n"; } diff --git a/editors/openoffice.org-3-RC/files/generate.pl b/editors/openoffice.org-3-RC/files/generate.pl index 1911a081f29b..d6f95e2e512a 100644 --- a/editors/openoffice.org-3-RC/files/generate.pl +++ b/editors/openoffice.org-3-RC/files/generate.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # generate full build shell script for OpenOffice.org # Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/generate.pl,v 1.10 2010-11-30 11:08:00 maho Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/generate.pl,v 1.11 2011-02-10 02:01:47 maho Exp $ print "#!/bin/csh\n"; print "make deinstall clean\n"; @@ -25,13 +25,16 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1]; } } close FILE; -print "md5 OOo* > MD5SUMS.log\n"; +$oootag= `cd ..; make -V OOOTAG2`; +chomp($oootag); +$md5sumname = "$oootag" . "_md5sums.txt"; +print "md5 OOo* > $md5sumname\n"; $arc= `uname -m`; if ($arc == "amd64" ) { -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* $md5sumname build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/\n"; } else { -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* $md5sumname build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/\n"; } diff --git a/editors/openoffice.org-3/files/generate.pl b/editors/openoffice.org-3/files/generate.pl index e5901ea88c42..7afa9d65ce40 100644 --- a/editors/openoffice.org-3/files/generate.pl +++ b/editors/openoffice.org-3/files/generate.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # generate full build shell script for OpenOffice.org # Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/generate.pl,v 1.12 2010-11-30 11:08:00 maho Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/generate.pl,v 1.13 2011-02-10 02:01:16 maho Exp $ print "#!/bin/csh\n"; print "make deinstall clean\n"; @@ -25,13 +25,16 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1]; } } close FILE; -print "md5 OOo* > MD5SUMS.log\n"; +$oootag= `cd ..; make -V OOOTAG2`; +chomp($oootag); +$md5sumname = "$oootag" . "_md5sums.txt"; +print "md5 OOo* > $md5sumname\n"; $arc= `uname -m`; if ($arc == "amd64" ) { -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* $md5sumname build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/\n"; } else { -print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n"; -print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* $md5sumname build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/\n"; } |