View | Details | Raw Unified | Return to bug 209407 | Differences between
and this patch

Collapse All | Expand All

(-)devel/jsoncpp/Makefile (-7 / +18 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	jsoncpp
4
PORTNAME=	jsoncpp
5
DISTVERSION=	0.6.0-rc2
5
DISTVERSION=	1.7.2
6
PORTREVISION=	2
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	SF/${PORTNAME}/jsoncpp/${DISTVERSION}
9
DISTNAME=	jsoncpp-src-${DISTVERSION}
10
7
11
MAINTAINER=	johan@stromnet.se
8
MAINTAINER=	johan@stromnet.se
12
COMMENT=	JSON reader and writer library for C++
9
COMMENT=	JSON reader and writer library for C++
Lines 14-32 Link Here
14
LICENSE=	MIT
11
LICENSE=	MIT
15
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
16
13
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	open-source-parsers
16
17
USES=		dos2unix scons
17
USES=		dos2unix scons
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
19
20
MAKE_ARGS=	platform=linux-gcc
20
MAKE_ARGS=	platform=linux-gcc
21
21
22
.if ${OSVERSION} < 1000000
23
USE_GCC=	yes
24
.endif
25
22
do-install:
26
do-install:
23
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp
27
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp
24
	(cd ${WRKSRC}/include/ && ${COPYTREE_SHARE} json/ ${STAGEDIR}${PREFIX}/include/jsoncpp/)
28
	(cd ${WRKSRC}/include/ && ${COPYTREE_SHARE} json/ ${STAGEDIR}${PREFIX}/include/jsoncpp/)
25
	${INSTALL_DATA} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.a \
29
	${INSTALL_DATA} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.a \
26
		${STAGEDIR}${PREFIX}/lib
30
		${STAGEDIR}${PREFIX}/lib
27
	${INSTALL_LIB} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.so.0.6.0 \
31
	${INSTALL_LIB} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.so.${DISTVERSION} \
28
		${STAGEDIR}${PREFIX}/lib
32
		${STAGEDIR}${PREFIX}/lib
29
	${LN} -s libjsoncpp.so.0.6.0 ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so.0
33
	${LN} -s libjsoncpp.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so.1
30
	${LN} -s libjsoncpp.so.0.6.0 ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so
34
	${LN} -s libjsoncpp.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so
35
	${CP} ${WRKSRC}/pkg-config/jsoncpp.pc.in ${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
36
	@${REINPLACE_CMD} -i '' \
37
		-e 's|@CMAKE_INSTALL_PREFIX@|${PREFIX}|g' \
38
		-e 's|@LIBRARY_INSTALL_DIR@|${PREFIX}/lib|g' \
39
		-e 's|@INCLUDE_INSTALL_DIR@|${PREFIX}/jsoncpp|g' \
40
		-e 's|@JSONCPP_VERSION@|${DISTVERSION}|g' \
41
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
31
42
32
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)devel/jsoncpp/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (jsoncpp-src-0.6.0-rc2.tar.gz) = d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283
1
SHA256 (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557
2
SIZE (jsoncpp-src-0.6.0-rc2.tar.gz) = 117661
2
SIZE (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 205391
(-)devel/jsoncpp/pkg-plist (-10 / +14 lines)
Lines 1-12 Link Here
1
lib/libjsoncpp.so.0.6.0
1
include/jsoncpp/json/allocator.h
2
lib/libjsoncpp.so.0
2
include/jsoncpp/json/assertions.h
3
lib/libjsoncpp.so
3
include/jsoncpp/json/autolink.h
4
lib/libjsoncpp.a
4
include/jsoncpp/json/config.h
5
include/jsoncpp/json/writer.h
5
include/jsoncpp/json/features.h
6
include/jsoncpp/json/forwards.h
6
include/jsoncpp/json/json.h
7
include/jsoncpp/json/json.h
7
include/jsoncpp/json/forwards.h
8
include/jsoncpp/json/reader.h
8
include/jsoncpp/json/config.h
9
include/jsoncpp/json/value.h
9
include/jsoncpp/json/value.h
10
include/jsoncpp/json/reader.h
10
include/jsoncpp/json/version.h
11
include/jsoncpp/json/features.h
11
include/jsoncpp/json/writer.h
12
include/jsoncpp/json/autolink.h
12
lib/libjsoncpp.a
13
lib/libjsoncpp.so
14
lib/libjsoncpp.so.1
15
lib/libjsoncpp.so.1.7.2
16
libdata/pkgconfig/jsoncpp.pc

Return to bug 209407