[103926] trunk/dports/devel/curlhandle/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Mar 9 23:18:50 PST 2013
Revision: 103926
https://trac.macports.org/changeset/103926
Author: ryandesign at macports.org
Date: 2013-03-09 23:18:50 -0800 (Sat, 09 Mar 2013)
Log Message:
-----------
curlhandle: update to 3.1.1 (#13890)
Modified Paths:
--------------
trunk/dports/devel/curlhandle/Portfile
Modified: trunk/dports/devel/curlhandle/Portfile
===================================================================
--- trunk/dports/devel/curlhandle/Portfile 2013-03-10 06:44:08 UTC (rev 103925)
+++ trunk/dports/devel/curlhandle/Portfile 2013-03-10 07:18:50 UTC (rev 103926)
@@ -1,56 +1,42 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
PortGroup xcode 1.0
+github.setup karelia CurlHandle 3.1.1 v
name curlhandle
set my_name CURLHandle
-version 1.9
categories devel framework
maintainers nomaintainer
-description CURLHandle is a framework wrapper around a CURL
+license public-domain
+description CURLHandle is a framework wrapper around cURL
+
long_description \
${description}
-homepage http://curlhandle.googlecode.com/
-master_sites googlecode
-distname ${my_name}_${version}
-extract.suffix .tgz
+checksums rmd160 b51edd914a5d8ca06d3244315e44196b1c149a61 \
+ sha256 a6830387b2b869de112b7da260b83ad8ed46cb92351183bbdb406c9b2385828c
-checksums md5 7b1d79b09777b0818370ea1b5b2f002a \
- sha1 76e4ac1e40397afa00035a57ab10573d2e1e3f38 \
- rmd160 4620ce536d636da764d60835c80bd374b9a747e4
+depends_lib port:curl
-# curlhandle is linked against curl statically so it only needs it at build time.
-depends_build port:curl
+build.dir ${worksrcpath}/${my_name}Source
-xcode.project ${my_name}Source/${my_name}.pbproj
-xcode.destroot.type framework
-
-post-patch {
- set pbxproject ${worksrcpath}/${xcode.project}/project.pbxproj
-
- reinplace "s|/tmp/curl|${worksrcpath}/curl|g" ${pbxproject}
- reinplace "s|/usr/local/lib/libcurl|${prefix}/lib/libcurl|g" ${pbxproject}
+post-extract {
+ # Replace the bundled curl library with ours.
+ eval delete [glob ${build.dir}/*dylib*]
+ ln -s ${prefix}/lib/libcurl.dylib ${build.dir}
}
-extract.mkdir yes
+xcode.target ${my_name}
-post-destroot {
- xinstall -d ${destroot}${frameworks_dir}
- copy "${worksrcpath}/[file dirname ${xcode.project}]/build/UninstalledProducts/${my_name}.framework" \
- ${destroot}${frameworks_dir}
+xcode.destroot.type framework
+post-destroot {
set framework ${frameworks_dir}/${my_name}.framework
- set docdir ${framework}/Versions/A/Resources/Documentation
+ delete ${destroot}${framework}/Versions/Current/Frameworks/libcurl.dylib
+ set docdir ${framework}/Versions/Current/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
-
-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/20130309/9df91b83/attachment-0001.html>
More information about the macports-changes
mailing list