Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2017 09:55:37 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444638 - head/devel/jsoncpp
Message-ID:  <201706290955.v5T9tbSu028542@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Jun 29 09:55:37 2017
New Revision: 444638
URL: https://svnweb.freebsd.org/changeset/ports/444638

Log:
  Update to 1.8.1
  
  PR:		220321
  Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)

Modified:
  head/devel/jsoncpp/Makefile
  head/devel/jsoncpp/distinfo
  head/devel/jsoncpp/pkg-plist

Modified: head/devel/jsoncpp/Makefile
==============================================================================
--- head/devel/jsoncpp/Makefile	Thu Jun 29 09:52:21 2017	(r444637)
+++ head/devel/jsoncpp/Makefile	Thu Jun 29 09:55:37 2017	(r444638)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	jsoncpp
-PORTVERSION=	1.8.0
-PORTREVISION=	2
+PORTVERSION=	1.8.1
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@rawbw.com
@@ -18,7 +17,8 @@ GH_ACCOUNT=	open-source-parsers
 USES=		compiler:features dos2unix scons
 USE_LDCONFIG=	yes
 
-MAKE_ARGS=	platform=linux-gcc
+PLATFORM=	linux-gcc-FreeBSD
+MAKE_ARGS=	platform=${PLATFORM}
 
 .include <bsd.port.pre.mk>
 
@@ -38,9 +38,9 @@ CXXFLAGS+=	--std=gnu++11 -D_GLIBCXX_USE_C99=1
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp
 	(cd ${WRKSRC}/include/ && ${COPYTREE_SHARE} json/ ${STAGEDIR}${PREFIX}/include/jsoncpp/)
-	${INSTALL_DATA} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.a \
+	${INSTALL_DATA} ${WRKSRC}/libs/${PLATFORM}/libjsoncpp.a \
 		${STAGEDIR}${PREFIX}/lib
-	${INSTALL_LIB} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.so.${DISTVERSION} \
+	${INSTALL_LIB} ${WRKSRC}/libs/${PLATFORM}/libjsoncpp.so.${DISTVERSION} \
 		${STAGEDIR}${PREFIX}/lib
 	${LN} -s libjsoncpp.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so.1
 	${LN} -s libjsoncpp.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so
@@ -51,5 +51,9 @@ do-install:
 		-e 's|@CMAKE_INSTALL_INCLUDEDIR@|include/jsoncpp|g' \
 		-e 's|@JSONCPP_VERSION@|${DISTVERSION}|g' \
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
+
+do-test:
+	@${ECHO} "Please note that 3 testcases are known to fail: https://github.com/open-source-parsers/jsoncpp/issues/628"
+	@cd ${WRKSRC} && CXX=${CXX} ${SCONS} platform=${PLATFORM} check
 
 .include <bsd.port.post.mk>

Modified: head/devel/jsoncpp/distinfo
==============================================================================
--- head/devel/jsoncpp/distinfo	Thu Jun 29 09:52:21 2017	(r444637)
+++ head/devel/jsoncpp/distinfo	Thu Jun 29 09:55:37 2017	(r444638)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482089950
-SHA256 (open-source-parsers-jsoncpp-1.8.0_GH0.tar.gz) = 5deb2462cbf0c0121c9d6c9823ec72fe71417e34242e3509bc7c003d526465bc
-SIZE (open-source-parsers-jsoncpp-1.8.0_GH0.tar.gz) = 206659
+TIMESTAMP = 1498626054
+SHA256 (open-source-parsers-jsoncpp-1.8.1_GH0.tar.gz) = 858db2faf348f89fdf1062bd3e79256772e897e7f17df73e0624edf004f2f9ac
+SIZE (open-source-parsers-jsoncpp-1.8.1_GH0.tar.gz) = 210629

Modified: head/devel/jsoncpp/pkg-plist
==============================================================================
--- head/devel/jsoncpp/pkg-plist	Thu Jun 29 09:52:21 2017	(r444637)
+++ head/devel/jsoncpp/pkg-plist	Thu Jun 29 09:55:37 2017	(r444638)
@@ -12,5 +12,5 @@ include/jsoncpp/json/writer.h
 lib/libjsoncpp.a
 lib/libjsoncpp.so
 lib/libjsoncpp.so.1
-lib/libjsoncpp.so.1.8.0
+lib/libjsoncpp.so.1.8.1
 libdata/pkgconfig/jsoncpp.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706290955.v5T9tbSu028542>