[67691] trunk/dports/sysutils/port_cutleaves
perry at macports.org
perry at macports.org
Sat May 15 22:56:30 PDT 2010
Revision: 67691
http://trac.macports.org/changeset/67691
Author: perry at macports.org
Date: 2010-05-15 22:56:25 -0700 (Sat, 15 May 2010)
Log Message:
-----------
Patch port_cutleaves to r67624.
Revision Links:
--------------
http://trac.macports.org/changeset/67624
Modified Paths:
--------------
trunk/dports/sysutils/port_cutleaves/Portfile
Added Paths:
-----------
trunk/dports/sysutils/port_cutleaves/files/
trunk/dports/sysutils/port_cutleaves/files/patch-port_cutleaves.diff
Modified: trunk/dports/sysutils/port_cutleaves/Portfile
===================================================================
--- trunk/dports/sysutils/port_cutleaves/Portfile 2010-05-16 04:47:54 UTC (rev 67690)
+++ trunk/dports/sysutils/port_cutleaves/Portfile 2010-05-16 05:56:25 UTC (rev 67691)
@@ -4,6 +4,7 @@
name port_cutleaves
version 0.1.3
+revision 1
categories sysutils
maintainers perry openmaintainer
platforms darwin
@@ -22,3 +23,9 @@
checksums md5 2167f486432f92e118e1ec922a57df76 \
sha1 de98fa0997eac4629a078e830d0de9b3e27561f0 \
rmd160 ea8559f2c960f2f9ca83ed5b1b785bbd9578d1d2
+
+patchfiles patch-port_cutleaves.diff
+
+post-patch {
+ reinplace "s|@prefix@|${prefix}|" ${worksrcpath}/port_cutleaves
+}
Added: trunk/dports/sysutils/port_cutleaves/files/patch-port_cutleaves.diff
===================================================================
--- trunk/dports/sysutils/port_cutleaves/files/patch-port_cutleaves.diff (rev 0)
+++ trunk/dports/sysutils/port_cutleaves/files/patch-port_cutleaves.diff 2010-05-16 05:56:25 UTC (rev 67691)
@@ -0,0 +1,25 @@
+--- port_cutleaves.orig 2010-05-15 22:42:59.000000000 -0700
++++ port_cutleaves 2010-05-15 22:43:09.000000000 -0700
+@@ -2,9 +2,10 @@
+ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+ # \
+ exec /usr/bin/tclsh "$0" "$@"
+-# $Id: port_cutleaves 67613 2010-05-15 05:51:51Z perry at macports.org $
++# $Id: port_cutleaves.in 67626 2010-05-15 08:36:52Z jmr at macports.org $
+
+ set VERSION 0.1.3
++set prefix "@prefix@"
+
+ # - Procedures ---------------------------------------------------------------
+
+@@ -301,8 +302,8 @@
+ }
+
+ if {$option(t) eq ""} {
+- if {[catch {source /Library/Tcl/macports1.0/macports_fastload.tcl} result]
+- && [catch {source /opt/local/share/macports/Tcl/macports1.0/macports_fastload.tcl} result]} {
++ if {[catch {source ${prefix}/share/macports/Tcl/macports1.0/macports_fastload.tcl} result]
++ && [catch {source /Library/Tcl/macports1.0/macports_fastload.tcl} result]} {
+ puts stderr "Error: $result"
+ exit 1
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100515/1e289bab/attachment-0001.html>
More information about the macports-changes
mailing list