most recent changes, diff for curlhandle
Index: devel/curlhandle/Portfile
--- devel/curlhandle/Portfile (revision 29004)
+++ devel/curlhandle/Portfile (revision 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