View | Details | Raw Unified | Return to bug 213263
Collapse All | Expand All

(-)devel/rapidjson/Makefile (-6 / +21 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	rapidjson
4
PORTNAME=	rapidjson
5
PORTVERSION=	1.0.2
5
PORTVERSION=	1.1.0
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	devel textproc
7
CATEGORIES=	devel textproc
8
8
Lines 16-37 Link Here
16
16
17
BROKEN_powerpc64=	Does not build
17
BROKEN_powerpc64=	Does not build
18
18
19
DOXYGEN_BUILD_DEPENDS+=	doxygen:devel/doxygen
20
19
USE_GITHUB=	yes
21
USE_GITHUB=	yes
20
GH_ACCOUNT=	miloyip
22
GH_ACCOUNT=	miloyip
21
23
22
USES=		cmake gmake
24
USES=		cmake compiler:c++11-lang gmake
23
25
24
OPTIONS_DEFINE=	DOCS EXAMPLES
26
OPTIONS_DEFINE=	DOXYGEN EXAMPLES
25
OPTIONS_DEFAULT=${OPTIONS_DEFINE}
27
OPTIONS_DEFAULT=${OPTIONS_DEFINE}
26
OPTIONS_SUB=	yes
28
OPTIONS_SUB=	yes
27
29
30
DOXYGEN_CMAKE_ON=	-DRAPIDJSON_BUILD_DOC:BOOL=ON
31
DOXYGEN_CMAKE_OFF=	-DRAPIDJSON_BUILD_DOC:BOOL=OFF
32
EXAMPLES_CMAKE_ON=	-DRAPIDJSON_BUILD_EXAMPLES:BOOL=ON
33
EXAMPLES_CMAKE_OFF=	-DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF
34
35
CXXFLAGS+=	-Wno-c++98-compat # for EXAMPLES option, due to this bug: https://github.com/miloyip/rapidjson/issues/761
36
MAKE_ARGS=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
37
CMAKE_ARGS=	-DRAPIDJSON_BUILD_TESTS:BOOL=OFF
38
39
DATADIR=	${PREFIX}/share/doc/RapidJSON
40
PORTDATA=	*
41
28
post-patch:
42
post-patch:
29
	@${REINPLACE_CMD} -e 's|LIB_INSTALL_DIR}/pkgconfig"|CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"|' ${WRKSRC}/CMakeLists.txt
43
	@${REINPLACE_CMD} -e 's|LIB_INSTALL_DIR}/pkgconfig"|CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"|' ${WRKSRC}/CMakeLists.txt
30
	@${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"|' ${WRKSRC}/CMakeLists.txt
44
	@${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"|' ${WRKSRC}/CMakeLists.txt
31
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt
45
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt ${WRKSRC}/test/unittest/CMakeLists.txt
32
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/test/unittest/CMakeLists.txt
46
	@${REINPLACE_CMD} -e 's|.*travis.*||' ${WRKSRC}/CMakeLists.txt   # travis_doc breaks cmake, see https://github.com/miloyip/rapidjson/issues/715
47
	@${REINPLACE_CMD} -e 's|add_subdirectory.*googletest.*|link_directories(${LOCALBASE}/lib)|' ${WRKSRC}/test/CMakeLists.txt
33
48
34
post-stage:
49
post-stage:
35
	@${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/CMakeFiles
50
	@${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/CMake*
36
51
37
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)devel/rapidjson/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (miloyip-rapidjson-v1.0.2_GH0.tar.gz) = c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666
1
TIMESTAMP = 1472138938
2
SIZE (miloyip-rapidjson-v1.0.2_GH0.tar.gz) = 725981
2
SHA256 (miloyip-rapidjson-v1.1.0_GH0.tar.gz) = bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
3
SIZE (miloyip-rapidjson-v1.1.0_GH0.tar.gz) = 1019402
(-)devel/rapidjson/pkg-plist (-2 / +13 lines)
Lines 6-11 Link Here
6
include/rapidjson/error/error.h
6
include/rapidjson/error/error.h
7
include/rapidjson/filereadstream.h
7
include/rapidjson/filereadstream.h
8
include/rapidjson/filewritestream.h
8
include/rapidjson/filewritestream.h
9
include/rapidjson/fwd.h
9
include/rapidjson/internal/biginteger.h
10
include/rapidjson/internal/biginteger.h
10
include/rapidjson/internal/diyfp.h
11
include/rapidjson/internal/diyfp.h
11
include/rapidjson/internal/dtoa.h
12
include/rapidjson/internal/dtoa.h
Lines 13-40 Link Here
13
include/rapidjson/internal/itoa.h
14
include/rapidjson/internal/itoa.h
14
include/rapidjson/internal/meta.h
15
include/rapidjson/internal/meta.h
15
include/rapidjson/internal/pow10.h
16
include/rapidjson/internal/pow10.h
17
include/rapidjson/internal/regex.h
16
include/rapidjson/internal/stack.h
18
include/rapidjson/internal/stack.h
17
include/rapidjson/internal/strfunc.h
19
include/rapidjson/internal/strfunc.h
18
include/rapidjson/internal/strtod.h
20
include/rapidjson/internal/strtod.h
21
include/rapidjson/internal/swap.h
22
include/rapidjson/istreamwrapper.h
19
include/rapidjson/memorybuffer.h
23
include/rapidjson/memorybuffer.h
20
include/rapidjson/memorystream.h
24
include/rapidjson/memorystream.h
21
include/rapidjson/msinttypes/inttypes.h
25
include/rapidjson/msinttypes/inttypes.h
22
include/rapidjson/msinttypes/stdint.h
26
include/rapidjson/msinttypes/stdint.h
27
include/rapidjson/ostreamwrapper.h
28
include/rapidjson/pointer.h
23
include/rapidjson/prettywriter.h
29
include/rapidjson/prettywriter.h
24
include/rapidjson/rapidjson.h
30
include/rapidjson/rapidjson.h
25
include/rapidjson/reader.h
31
include/rapidjson/reader.h
32
include/rapidjson/schema.h
33
include/rapidjson/stream.h
26
include/rapidjson/stringbuffer.h
34
include/rapidjson/stringbuffer.h
27
include/rapidjson/writer.h
35
include/rapidjson/writer.h
28
lib/cmake/RapidJSON/RapidJSONConfig.cmake
36
lib/cmake/RapidJSON/RapidJSONConfig.cmake
29
lib/cmake/RapidJSON/RapidJSONConfigVersion.cmake
37
lib/cmake/RapidJSON/RapidJSONConfigVersion.cmake
30
libdata/pkgconfig/RapidJSON.pc
38
libdata/pkgconfig/RapidJSON.pc
31
%%DOCS%%share/doc/RapidJSON/readme.md
32
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CMakeLists.txt
33
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize/capitalize.cpp
39
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize/capitalize.cpp
34
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condense/condense.cpp
40
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condense/condense.cpp
41
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filterkey/filterkey.cpp
42
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filterkeydom/filterkeydom.cpp
43
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jsonx/jsonx.cpp
35
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/messagereader/messagereader.cpp
44
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/messagereader/messagereader.cpp
45
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parsebyparts/parsebyparts.cpp
36
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pretty/pretty.cpp
46
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pretty/pretty.cpp
37
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prettyauto/prettyauto.cpp
47
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prettyauto/prettyauto.cpp
48
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/schemavalidator/schemavalidator.cpp
38
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serialize/serialize.cpp
49
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serialize/serialize.cpp
39
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simpledom/simpledom.cpp
50
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simpledom/simpledom.cpp
40
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simplereader/simplereader.cpp
51
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simplereader/simplereader.cpp

Return to bug 213263