[71983] trunk/dports/devel/curlhandle/Portfile
jmr at macports.org
jmr at macports.org
Wed Sep 29 06:48:44 PDT 2010
Revision: 71983
http://trac.macports.org/changeset/71983
Author: jmr at macports.org
Date: 2010-09-29 06:48:42 -0700 (Wed, 29 Sep 2010)
Log Message:
-----------
curlhandle: use frameworks_dir and extract.mkdir
Modified Paths:
--------------
trunk/dports/devel/curlhandle/Portfile
Modified: trunk/dports/devel/curlhandle/Portfile
===================================================================
--- trunk/dports/devel/curlhandle/Portfile 2010-09-29 13:37:36 UTC (rev 71982)
+++ trunk/dports/devel/curlhandle/Portfile 2010-09-29 13:48:42 UTC (rev 71983)
@@ -35,18 +35,14 @@
reinplace "s|/usr/local/lib/libcurl|${prefix}/lib/libcurl|g" ${pbxproject}
}
-extract.dir ${worksrcpath}
+extract.mkdir yes
-pre-extract {
- file mkdir ${worksrcpath}
-}
-
post-destroot {
- xinstall -d ${destroot}/Library/Frameworks
+ xinstall -d ${destroot}${frameworks_dir}
copy "${worksrcpath}/[file dirname ${xcode.project}]/build/UninstalledProducts/${my_name}.framework" \
- ${destroot}/Library/Frameworks
+ ${destroot}${frameworks_dir}
- set framework /Library/Frameworks/${my_name}.framework
+ set framework ${frameworks_dir}/${my_name}.framework
set docdir ${framework}/Versions/A/Resources/Documentation
xinstall -d ${destroot}${docdir}
eval xinstall -m 0644 [glob ${worksrcpath}/Documentation/*.html] ${destroot}${docdir}
@@ -58,4 +54,3 @@
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex <td>(\\d+(?:\\.\\d+)*)</td>
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100929/c3dbd4f0/attachment.html>
More information about the macports-changes
mailing list