[147844] trunk/dports/devel/jsoncpp/Portfile
g5pw at macports.org
g5pw at macports.org
Sun Apr 17 12:59:03 PDT 2016
Revision: 147844
https://trac.macports.org/changeset/147844
Author: g5pw at macports.org
Date: 2016-04-17 12:59:03 -0700 (Sun, 17 Apr 2016)
Log Message:
-----------
devel/jsoncpp: update to 1.7.2
- Move upstream to github
- use cmake build system
- Closes #49372 and #40676 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/devel/jsoncpp/Portfile
Modified: trunk/dports/devel/jsoncpp/Portfile
===================================================================
--- trunk/dports/devel/jsoncpp/Portfile 2016-04-17 19:30:10 UTC (rev 147843)
+++ trunk/dports/devel/jsoncpp/Portfile 2016-04-17 19:59:03 UTC (rev 147844)
@@ -2,9 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
+PortGroup cmake 1.0
-name jsoncpp
-version 0.6.0-rc2
+github.setup open-source-parsers jsoncpp 1.7.2
categories devel
platforms darwin
maintainers gmail.com:felipou
@@ -14,34 +15,7 @@
long_description JSON data format manipulation C++ library
-homepage http://jsoncpp.sourceforge.net/
-master_sites sourceforge:project/jsoncpp/jsoncpp/${version}
-distname jsoncpp-src-${version}
+checksums rmd160 e0a0258eca770e0eb1c3f904f534622054c8d446 \
+ sha256 8fac28db30874c265f36c80ba997ad9cc1a54298b6ebf050c45258d6a78cf401
-checksums rmd160 654edf842aff368254c015ffa9a7bab6467b11bd \
- sha256 d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283
-
-depends_build-append port:scons
-
-patchfiles patch-SConstruct.diff
-
-post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct
-}
-
-use_configure no
-
-build.cmd ${prefix}/bin/scons
-build.target
-build.args platform=darwin
-
-destroot {
- xinstall -m 755 ${worksrcpath}/libs/darwin/libjson_darwin_libmt.dylib ${destroot}${prefix}/lib
- xinstall -m 644 ${worksrcpath}/libs/darwin/libjson_darwin_libmt.a ${destroot}${prefix}/lib
-
- ln -s libjson_darwin_libmt.dylib ${destroot}${prefix}/lib/libjsoncpp.dylib
- ln -s libjson_darwin_libmt.a ${destroot}${prefix}/lib/libjsoncpp.a
-
- xinstall -d -m 755 ${destroot}${prefix}/include/json
- eval xinstall -m 644 [glob ${worksrcpath}/include/json/*] ${destroot}${prefix}/include/json
-}
+cmake.out_of_source yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160417/8488e8e1/attachment.html>
More information about the macports-changes
mailing list