Commit dda74ad8 authored by danilo's avatar danilo
Browse files

- 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 <johan@stromnet.se>
parent 15bc73e9
......@@ -888,6 +888,7 @@
SUBDIR += jsmin
SUBDIR += json-c
SUBDIR += json-glib
SUBDIR += jsoncpp
SUBDIR += jtag
SUBDIR += judy
SUBDIR += jwasm
......
# Created by: Johan Str??m <johna@stromnet.se>
# $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 <bsd.port.mk>
SHA256 (jsoncpp-src-0.6.0-rc2.tar.gz) = d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283
SIZE (jsoncpp-src-0.6.0-rc2.tar.gz) = 117661
--- ./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', '')
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/
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment