aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-04-03 15:58:44 +0800
committermaho <maho@FreeBSD.org>2008-04-03 15:58:44 +0800
commit14b4f5ff30d3af874683abe6bca45e8f0cd3dd88 (patch)
tree92482c3a1cd9b3205d62a333571d532ddb9a5e5e
parent0f555772b6f46dfbf503eb86c50b1cdfdded287e (diff)
downloadfreebsd-ports-gnome-14b4f5ff30d3af874683abe6bca45e8f0cd3dd88.tar.gz
freebsd-ports-gnome-14b4f5ff30d3af874683abe6bca45e8f0cd3dd88.tar.zst
freebsd-ports-gnome-14b4f5ff30d3af874683abe6bca45e8f0cd3dd88.zip
Better generate.pl
-rw-r--r--editors/openoffice-3/files/generate.pl6
-rw-r--r--editors/openoffice.org-2/files/generate.pl6
-rw-r--r--editors/openoffice.org-3/files/generate.pl6
3 files changed, 9 insertions, 9 deletions
diff --git a/editors/openoffice-3/files/generate.pl b/editors/openoffice-3/files/generate.pl
index 8f9ccd56785d..124964e0509d 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.8 2008-04-02 21:54:06 maho Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/generate.pl,v 1.9 2008-04-03 07:58:44 maho Exp $
print "#!/bin/csh\n";
print "make deinstall clean\n";
@@ -25,5 +25,5 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1];
}
close FILE;
print "md5 OOo* > MD5SUMS.log\n";
-#print "ssh mkdir -p build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/tmp/\n";
-#print "scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/tmp/\n";
+print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/FreeBSD/`make -V PORTVERSION`/`uname -r`/`uname -m`\n";
+print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/`make -V PORTVERSION`/`uname -r`/`uname -m`\n";
diff --git a/editors/openoffice.org-2/files/generate.pl b/editors/openoffice.org-2/files/generate.pl
index 2b59b4d0c50c..fd37df585746 100644
--- a/editors/openoffice.org-2/files/generate.pl
+++ b/editors/openoffice.org-2/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-2/files/Attic/generate.pl,v 1.8 2008-04-02 21:54:06 maho Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/generate.pl,v 1.9 2008-04-03 07:58:44 maho Exp $
print "#!/bin/csh\n";
print "make deinstall clean\n";
@@ -25,5 +25,5 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1];
}
close FILE;
print "md5 OOo* > MD5SUMS.log\n";
-#print "ssh mkdir -p build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/tmp/\n";
-#print "scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/tmp/\n";
+print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/FreeBSD/`make -V PORTVERSION`/`uname -r`/`uname -m`\n";
+print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/`make -V PORTVERSION`/`uname -r`/`uname -m`\n";
diff --git a/editors/openoffice.org-3/files/generate.pl b/editors/openoffice.org-3/files/generate.pl
index 209fce32ed98..e79121577d76 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.8 2008-04-02 21:54:06 maho Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/generate.pl,v 1.9 2008-04-03 07:58:44 maho Exp $
print "#!/bin/csh\n";
print "make deinstall clean\n";
@@ -25,5 +25,5 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1];
}
close FILE;
print "md5 OOo* > MD5SUMS.log\n";
-#print "ssh mkdir -p build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/tmp/\n";
-#print "scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/tmp/\n";
+print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/FreeBSD/`make -V PORTVERSION`/`uname -r`/`uname -m`\n";
+print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/`make -V PORTVERSION`/`uname -r`/`uname -m`\n";