[152412] trunk/dports/devel/jsoncpp/Portfile

michaelld at macports.org michaelld at macports.org
Wed Sep 7 12:44:24 PDT 2016


Revision: 152412
          https://trac.macports.org/changeset/152412
Author:   michaelld at macports.org
Date:     2016-09-07 12:44:24 -0700 (Wed, 07 Sep 2016)
Log Message:
-----------
jsoncpp:
+ update release to 1.7.5;
+ add devel version.

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

Modified: trunk/dports/devel/jsoncpp/Portfile
===================================================================
--- trunk/dports/devel/jsoncpp/Portfile	2016-09-07 19:29:41 UTC (rev 152411)
+++ trunk/dports/devel/jsoncpp/Portfile	2016-09-07 19:44:24 UTC (rev 152412)
@@ -5,7 +5,7 @@
 PortGroup           github 1.0
 PortGroup           cmake 1.0
 
-github.setup        open-source-parsers jsoncpp 1.7.4
+name                jsoncpp
 categories          devel
 platforms           darwin
 maintainers         michaelld openmaintainer
@@ -15,9 +15,32 @@
 
 long_description    JSON data format manipulation C++ library
 
-checksums           rmd160 6c925aeab194ba42676738cd686535d78a24e2dc \
-                    sha256 665c78b17eb6082252d8dc8ad1530b707d35a93af7e7791b86cc31b23d39f287
+subport jsoncpp-devel {}
 
+if {${subport} eq ${name}} {
+
+    # release
+    github.setup    open-source-parsers jsoncpp 1.7.5
+    checksums       rmd160 754688dd4c67bff56ce3b4ed70d2329be9ca21a3 \
+                    sha256 d8b586b2851b6b4dcc7a1e7f52fb523a17dc32bf4e43702f6919166edcb632cc
+
+    conflicts       jsoncpp-devel
+
+} else {
+
+    # devel
+
+    github.setup    open-source-parsers jsoncpp a304d61a7b3ee2700b52abc0b28412aabee782e5
+    version         20160901
+    checksums       rmd160 754688dd4c67bff56ce3b4ed70d2329be9ca21a3 \
+                    sha256 d8b586b2851b6b4dcc7a1e7f52fb523a17dc32bf4e43702f6919166edcb632cc
+
+    conflicts       jsoncpp
+    long_description ${description}: \
+        This port follows the GIT master version of ${name}, which is typically updated every few days to weeks.
+
+}
+
 patchfiles          patch-CMakeLists.txt.diff
 
 cmake.out_of_source yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160907/86c5588a/attachment.html>


More information about the macports-changes mailing list