From owner-svn-ports-all@FreeBSD.ORG Tue Jan 21 18:43:57 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3A20D9C; Tue, 21 Jan 2014 18:43:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B38851B61; Tue, 21 Jan 2014 18:43:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0LIhv5V002478; Tue, 21 Jan 2014 18:43:57 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0LIhu4N002472; Tue, 21 Jan 2014 18:43:56 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201401211843.s0LIhu4N002472@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 21 Jan 2014 18:43:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340636 - in head/devel: . jsoncpp jsoncpp/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 18:43:57 -0000 Author: danilo Date: Tue Jan 21 18:43:56 2014 New Revision: 340636 URL: http://svnweb.freebsd.org/changeset/ports/340636 QAT: https://qat.redports.org/buildarchive/r340636/ Log: - Add new port devel/jsoncpp jsoncpp is an implementation of a JSON reader and writer in C++. PR: ports/185592 Submitted by: Johan Str?m Added: head/devel/jsoncpp/ head/devel/jsoncpp/Makefile (contents, props changed) head/devel/jsoncpp/distinfo (contents, props changed) head/devel/jsoncpp/files/ head/devel/jsoncpp/files/patch-SConstruct (contents, props changed) head/devel/jsoncpp/pkg-descr (contents, props changed) head/devel/jsoncpp/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jan 21 18:40:23 2014 (r340635) +++ head/devel/Makefile Tue Jan 21 18:43:56 2014 (r340636) @@ -888,6 +888,7 @@ SUBDIR += jsmin SUBDIR += json-c SUBDIR += json-glib + SUBDIR += jsoncpp SUBDIR += jtag SUBDIR += judy SUBDIR += jwasm Added: head/devel/jsoncpp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsoncpp/Makefile Tue Jan 21 18:43:56 2014 (r340636) @@ -0,0 +1,34 @@ +# Created by: Johan Str??m +# $FreeBSD$ + +PORTNAME= jsoncpp +DISTVERSION= 0.6.0-rc2 +CATEGORIES= devel +MASTER_SITES= SF/${PORTNAME}/jsoncpp/${DISTVERSION} +DISTNAME= jsoncpp-src-${DISTVERSION} + +MAINTAINER= johan@stromnet.se +COMMENT= JSON reader and writer library for C++ + +LICENSE= MIT + +USES= dos2unix scons +USE_LDCONFIG= yes + +MAKE_ARGS= platform=linux-gcc + +post-patch: + @${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/SConstruct + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp + (cd ${WRKSRC}/include/ && ${COPYTREE_SHARE} json/ ${STAGEDIR}${PREFIX}/include/jsoncpp/) + (cd ${WRKSRC}/libs/linux-gcc-FreeBSD/ && \ + ${INSTALL_LIB} libjson_linux-gcc-FreeBSD_libmt.a \ + ${STAGEDIR}${PREFIX}/lib/libjsoncpp.a) + (cd ${WRKSRC}/libs/linux-gcc-FreeBSD/ && \ + ${INSTALL_LIB} libjson_linux-gcc-FreeBSD_libmt.so \ + ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so.0) + (cd ${STAGEDIR}${PREFIX}/lib/ && ${LN} -s libjsoncpp.so.0 libjsoncpp.so ) + +.include Added: head/devel/jsoncpp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsoncpp/distinfo Tue Jan 21 18:43:56 2014 (r340636) @@ -0,0 +1,2 @@ +SHA256 (jsoncpp-src-0.6.0-rc2.tar.gz) = d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283 +SIZE (jsoncpp-src-0.6.0-rc2.tar.gz) = 117661 Added: head/devel/jsoncpp/files/patch-SConstruct ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsoncpp/files/patch-SConstruct Tue Jan 21 18:43:56 2014 (r340636) @@ -0,0 +1,11 @@ +--- ./SConstruct.orig 2014-01-21 02:29:19.000000000 -0200 ++++ ./SConstruct 2014-01-21 02:29:28.000000000 -0200 +@@ -26,7 +26,7 @@ + if platform == 'linux-gcc': + CXX = 'g++' # not quite right, but env is not yet available. + import commands +- version = commands.getoutput('%s -dumpversion' %CXX) ++ version = 'FreeBSD' + platform = 'linux-gcc-%s' %version + print "Using platform '%s'" %platform + LD_LIBRARY_PATH = os.environ.get('LD_LIBRARY_PATH', '') Added: head/devel/jsoncpp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsoncpp/pkg-descr Tue Jan 21 18:43:56 2014 (r340636) @@ -0,0 +1,6 @@ +jsoncpp is an implementation of a JSON reader and writer in C++. +JSON (JavaScript Object Notation) is a lightweight data-interchange format. +It is easy for humans to read and write. +It is easy for machines to parse and generate. + +WWW: http://jsoncpp.sourceforge.net/ Added: head/devel/jsoncpp/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsoncpp/pkg-plist Tue Jan 21 18:43:56 2014 (r340636) @@ -0,0 +1,13 @@ +lib/libjsoncpp.so.0 +lib/libjsoncpp.so +lib/libjsoncpp.a +include/jsoncpp/json/writer.h +include/jsoncpp/json/json.h +include/jsoncpp/json/forwards.h +include/jsoncpp/json/config.h +include/jsoncpp/json/value.h +include/jsoncpp/json/reader.h +include/jsoncpp/json/features.h +include/jsoncpp/json/autolink.h +@dirrm include/jsoncpp/json +@dirrm include/jsoncpp