[134275] trunk/dports/textproc/cowsay
ionic at macports.org
ionic at macports.org
Fri Mar 20 14:55:15 PDT 2015
Revision: 134275
https://trac.macports.org/changeset/134275
Author: ionic at macports.org
Date: 2015-03-20 14:55:15 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
cowsay: reformat Portfile, rename patchfiles, add modeline. No functional changes. Maintainer upload via IRC.
Modified Paths:
--------------
trunk/dports/textproc/cowsay/Portfile
Added Paths:
-----------
trunk/dports/textproc/cowsay/files/patch-cowsay.diff
trunk/dports/textproc/cowsay/files/patch-install.sh.diff
Removed Paths:
-------------
trunk/dports/textproc/cowsay/files/patch-cowsay
trunk/dports/textproc/cowsay/files/patch-install.sh
Modified: trunk/dports/textproc/cowsay/Portfile
===================================================================
--- trunk/dports/textproc/cowsay/Portfile 2015-03-20 21:28:11 UTC (rev 134274)
+++ trunk/dports/textproc/cowsay/Portfile 2015-03-20 21:55:15 UTC (rev 134275)
@@ -1,25 +1,33 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name cowsay
-version 3.03
-revision 1
-categories textproc amusements games
-license {Artistic-1 GPL}
-platforms darwin freebsd
-maintainers eitanadler.com:lists
-supported_archs noarch
-description Configurable talking characters in ASCII art
-long_description ${description}
-homepage http://www.nog.net/~tony/warez/
-master_sites ftp://ftp.nog.net/pub/tony/cowsay/
-checksums md5 b29169797359420dadb998079021a494
-patchfiles patch-cowsay patch-install.sh
-use_configure no
-build {}
-destroot {system "cd $worksrcpath && sh install.sh ${destroot}${prefix}"
- reinplace s,${destroot}${prefix},${prefix}, ${destroot}${prefix}/bin/cowsay }
+name cowsay
+version 3.03
+revision 1
+categories textproc amusements games
+license {Artistic-1 GPL}
+platforms darwin freebsd
+maintainers eitanadler.com:lists
+supported_archs noarch
+description Configurable talking characters in ASCII art
+long_description ${description}
+homepage http://www.nog.net/~tony/warez/
+master_sites ftp://ftp.nog.net/pub/tony/cowsay/
+checksums md5 b29169797359420dadb998079021a494
-livecheck.type regex
-livecheck.regex ${name}-(\[0-9.\]+)\\.tar
+patchfiles patch-cowsay.diff \
+ patch-install.sh.diff
+
+use_configure no
+
+build {}
+
+destroot {
+ system "cd $worksrcpath && sh install.sh ${destroot}${prefix}"
+ reinplace "s,${destroot}${prefix},${prefix}," "${destroot}${prefix}/bin/cowsay"
+}
+
+livecheck.type regex
+livecheck.regex ${name}-(\[0-9.\]+)\\.tar
Deleted: trunk/dports/textproc/cowsay/files/patch-cowsay
===================================================================
--- trunk/dports/textproc/cowsay/files/patch-cowsay 2015-03-20 21:28:11 UTC (rev 134274)
+++ trunk/dports/textproc/cowsay/files/patch-cowsay 2015-03-20 21:55:15 UTC (rev 134275)
@@ -1,11 +0,0 @@
---- cowsay.orig Sat May 20 03:29:49 2000
-+++ cowsay Fri Oct 24 22:43:31 2003
-@@ -16,7 +16,7 @@
- $progname = basename($0);
- $eyes = "oo";
- $tongue = " ";
--$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cows';
-+$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cowsay/cows';
- @message = ();
- $thoughts = "";
-
Copied: trunk/dports/textproc/cowsay/files/patch-cowsay.diff (from rev 134271, trunk/dports/textproc/cowsay/files/patch-cowsay)
===================================================================
--- trunk/dports/textproc/cowsay/files/patch-cowsay.diff (rev 0)
+++ trunk/dports/textproc/cowsay/files/patch-cowsay.diff 2015-03-20 21:55:15 UTC (rev 134275)
@@ -0,0 +1,11 @@
+--- cowsay.orig Sat May 20 03:29:49 2000
++++ cowsay Fri Oct 24 22:43:31 2003
+@@ -16,7 +16,7 @@
+ $progname = basename($0);
+ $eyes = "oo";
+ $tongue = " ";
+-$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cows';
++$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cowsay/cows';
+ @message = ();
+ $thoughts = "";
+
Deleted: trunk/dports/textproc/cowsay/files/patch-install.sh
===================================================================
--- trunk/dports/textproc/cowsay/files/patch-install.sh 2015-03-20 21:28:11 UTC (rev 134274)
+++ trunk/dports/textproc/cowsay/files/patch-install.sh 2015-03-20 21:55:15 UTC (rev 134275)
@@ -1,26 +0,0 @@
---- install.sh.orig Fri Oct 24 22:52:31 2003
-+++ install.sh Fri Oct 24 22:52:08 2003
-@@ -73,17 +73,16 @@
- $usethisperl -p install.pl cowsay > $PREFIX/bin/cowsay
- chmod a+x $PREFIX/bin/cowsay
- ln -s cowsay $PREFIX/bin/cowthink
--mkdir -p $PREFIX/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1)
--$usethisperl -p install.pl cowsay.1 > $PREFIX/man/man1/cowsay.1
--chmod a+r $PREFIX/man/man1/cowsay.1
--ln -s cowsay.1 $PREFIX/man/man1/cowthink.1
--mkdir -p $PREFIX/share/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cows)
--tar -cf - $filelist | (cd $PREFIX/share && tar -xvf -)
-+$usethisperl -p install.pl cowsay.1 > $PREFIX/share/man/man1/cowsay.1
-+chmod a+r $PREFIX/share/man/man1/cowsay.1
-+ln -s cowsay.1 $PREFIX/share/man/man1/cowthink.1
-+mkdir -p $PREFIX/share/cowsay/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cowsay; mkdir $PREFIX/share/cowsay/cows)
-+tar -cf - $filelist | (cd $PREFIX/share/cowsay && tar -xvf -)
- set +x
-
- echo Okay, let us see if the install actually worked.
-
--if [ ! -f $PREFIX/share/cows/default.cow ]; then
-+if [ ! -f $PREFIX/share/cowsay/cows/default.cow ]; then
- echo The default cow file did not make it across!
- echo Ooops, it failed...sorry!
- exit 1
Copied: trunk/dports/textproc/cowsay/files/patch-install.sh.diff (from rev 134271, trunk/dports/textproc/cowsay/files/patch-install.sh)
===================================================================
--- trunk/dports/textproc/cowsay/files/patch-install.sh.diff (rev 0)
+++ trunk/dports/textproc/cowsay/files/patch-install.sh.diff 2015-03-20 21:55:15 UTC (rev 134275)
@@ -0,0 +1,26 @@
+--- install.sh.orig Fri Oct 24 22:52:31 2003
++++ install.sh Fri Oct 24 22:52:08 2003
+@@ -73,17 +73,16 @@
+ $usethisperl -p install.pl cowsay > $PREFIX/bin/cowsay
+ chmod a+x $PREFIX/bin/cowsay
+ ln -s cowsay $PREFIX/bin/cowthink
+-mkdir -p $PREFIX/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1)
+-$usethisperl -p install.pl cowsay.1 > $PREFIX/man/man1/cowsay.1
+-chmod a+r $PREFIX/man/man1/cowsay.1
+-ln -s cowsay.1 $PREFIX/man/man1/cowthink.1
+-mkdir -p $PREFIX/share/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cows)
+-tar -cf - $filelist | (cd $PREFIX/share && tar -xvf -)
++$usethisperl -p install.pl cowsay.1 > $PREFIX/share/man/man1/cowsay.1
++chmod a+r $PREFIX/share/man/man1/cowsay.1
++ln -s cowsay.1 $PREFIX/share/man/man1/cowthink.1
++mkdir -p $PREFIX/share/cowsay/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cowsay; mkdir $PREFIX/share/cowsay/cows)
++tar -cf - $filelist | (cd $PREFIX/share/cowsay && tar -xvf -)
+ set +x
+
+ echo Okay, let us see if the install actually worked.
+
+-if [ ! -f $PREFIX/share/cows/default.cow ]; then
++if [ ! -f $PREFIX/share/cowsay/cows/default.cow ]; then
+ echo The default cow file did not make it across!
+ echo Ooops, it failed...sorry!
+ exit 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/eaa180be/attachment-0001.html>
More information about the macports-changes
mailing list