[85720] trunk/dports/devel/yajl/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 15 20:53:33 PDT 2011


Revision: 85720
          http://trac.macports.org/changeset/85720
Author:   ryandesign at macports.org
Date:     2011-10-15 20:53:33 -0700 (Sat, 15 Oct 2011)
Log Message:
-----------
yajl: update to 1.0.12, use a distfile instead of fetching from git, use cmake portgroup, enable parallel build

Modified Paths:
--------------
    trunk/dports/devel/yajl/Portfile

Modified: trunk/dports/devel/yajl/Portfile
===================================================================
--- trunk/dports/devel/yajl/Portfile	2011-10-16 03:52:37 UTC (rev 85719)
+++ trunk/dports/devel/yajl/Portfile	2011-10-16 03:53:33 UTC (rev 85720)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           cmake 1.0
 
 name                yajl
-version             1.0.9
+version             1.0.12
 categories          devel
 maintainers         gmail.com:benjaminlyu openmaintainer
 description         Yet Another JSON Library.
@@ -12,17 +13,14 @@
                     written in ANSI C, and a small validating JSON generator.
 license             BSD
 homepage            http://lloyd.github.com/yajl/
+master_sites        https://github.com/lloyd/yajl/tarball/${version}
 platforms           darwin
-fetch.type          git
-git.url             git://github.com/lloyd/yajl.git
-git.branch          refs/tags/${version}
 
-depends_build       port:cmake
+checksums           rmd160  236b257ad6c63af8400e704ebebfddd7313ae76f \
+                    sha256  df27bb20903f68e40c62cdc616a37816d9b8f2bbe943900c5dad16a20dc5d326
 
-use_parallel_build  no
-
-post-destroot {
-    system "install_name_tool -id ${prefix}/lib/libyajl.1.dylib ${destroot}${prefix}/lib/libyajl.1.dylib"
+post-extract {
+    move [glob ${workpath}/*] ${worksrcpath}
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111015/6c814e9d/attachment.html>


More information about the macports-changes mailing list