[87710] trunk/dports/aqua/iTerm2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Dec 1 18:34:53 PST 2011
Revision: 87710
http://trac.macports.org/changeset/87710
Author: ryandesign at macports.org
Date: 2011-12-01 18:34:53 -0800 (Thu, 01 Dec 2011)
Log Message:
-----------
iTerm2: do reinplacing in the patch phase, not in the extract and configure phases
Modified Paths:
--------------
trunk/dports/aqua/iTerm2/Portfile
Modified: trunk/dports/aqua/iTerm2/Portfile
===================================================================
--- trunk/dports/aqua/iTerm2/Portfile 2011-12-02 02:24:43 UTC (rev 87709)
+++ trunk/dports/aqua/iTerm2/Portfile 2011-12-02 02:34:53 UTC (rev 87710)
@@ -26,15 +26,14 @@
xcode.project iTerm.xcodeproj
xcode.target iTerm
-use_configure yes
-configure {
- # disable Sparkle autoupdate
- reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
-}
-
post-extract {
move [glob ${workpath}/*] ${worksrcpath}
+}
+
+post-patch {
reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
+ # disable Sparkle autoupdate
+ reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
}
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111201/400a2df9/attachment.html>
More information about the macports-changes
mailing list