[29005] trunk/dports/devel/curlhandle/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 12 16:30:29 PDT 2007
Revision: 29005
http://trac.macosforge.org/projects/macports/changeset/29005
Author: nox at macports.org
Date: 2007-09-12 16:30:29 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
curlhandle: Don't use cd anymore.
Modified Paths:
--------------
trunk/dports/devel/curlhandle/Portfile
Modified: trunk/dports/devel/curlhandle/Portfile
===================================================================
--- trunk/dports/devel/curlhandle/Portfile 2007-09-12 23:27:21 UTC (rev 29004)
+++ trunk/dports/devel/curlhandle/Portfile 2007-09-12 23:30:29 UTC (rev 29005)
@@ -29,10 +29,10 @@
xcode.destroot.type framework
post-patch {
- cd ${worksrcpath}/${xcode.project}
+ set pbxproject ${worksrcpath}/${xcode.project}/project.pbxproj
- reinplace "s|/tmp/curl|${worksrcpath}/curl|g" project.pbxproj
- reinplace "s|/usr/local/lib/libcurl|${prefix}/lib/libcurl|g" project.pbxproj
+ reinplace "s|/tmp/curl|${worksrcpath}/curl|g" ${pbxproject}
+ reinplace "s|/usr/local/lib/libcurl|${prefix}/lib/libcurl|g" ${pbxproject}
}
extract.dir ${worksrcpath}
@@ -46,11 +46,11 @@
copy "${worksrcpath}/[file dirname ${xcode.project}]/build/UninstalledProducts/${my_name}.framework" \
${destroot}/Library/Frameworks
- cd ${destroot}/Library/Frameworks/${my_name}.framework
- set docdir Versions/A/Resources/Documentation
- xinstall -d ${docdir}
- eval xinstall -m 0644 [glob ${worksrcpath}/Documentation/*.html] ${docdir}
- ln -s Versions/A/Resources
+ set framework /Library/Frameworks/${my_name}.framework
+ set docdir ${framework}/Versions/A/Resources/Documentation
+ xinstall -d ${destroot}${docdir}
+ eval xinstall -m 0644 [glob ${worksrcpath}/Documentation/*.html] ${destroot}${docdir}
+ system "cd ${destroot}${framework} && ln -s Versions/A/Resources"
}
universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/a289ec64/attachment.html
More information about the macports-changes
mailing list