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

(-)qjson/Makefile (-1 / +24 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	qjson
7
PORTNAME=	qjson
8
PORTVERSION=	0.7.1
8
PORTVERSION=	0.7.1
9
PORTREVISION=	1
9
CATEGORIES=	devel
10
CATEGORIES=	devel
10
MASTER_SITES=	SF
11
MASTER_SITES=	SF
11
12
Lines 21-28 Link Here
21
22
22
WRKSRC=		${WRKDIR}/${PORTNAME}
23
WRKSRC=		${WRKDIR}/${PORTNAME}
23
24
25
OPTIONS=	PORTDOCS	"Insstall documentation" on
26
24
pre-configure:
27
pre-configure:
25
	@${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \
28
	@${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \
26
		${WRKSRC}/CMakeLists.txt
29
		${WRKSRC}/CMakeLists.txt
27
30
28
.include <bsd.port.mk>
31
.include <bsd.port.pre.mk>
32
33
.if !defined(WITHOUT_PORTDOCS)
34
BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
35
PLIST_SUB+=	PORTDOCS=""
36
.else
37
PLIST_SUB+=	PORTDOCS="@comment "
38
.endif
39
40
post-build:
41
.if !defined(WITHOUT_PORTDOCS)
42
	@cd ${WRKSRC}/doc && doxygen
43
.endif
44
45
post-install:
46
.if !defined(WITHOUT_PORTDOCS)
47
	${MKDIR} ${DOCSDIR}
48
	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}/
49
.endif
50
51
.include <bsd.port.post.mk>
(-)qjson/files/patch-CMakeLists.txt (+11 lines)
Line 0 Link Here
1
--- CMakeLists.txt.orig	2009-12-04 07:02:16.000000000 +0700
2
+++ CMakeLists.txt	2010-06-10 22:22:02.000000000 +0800
3
@@ -39,7 +39,7 @@
4
 SET (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
5
 SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Directory where lib will install")
6
 SET (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
7
-SET (CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/apps/cmake/modules" CACHE PATH "The directory to install FindQRpc.cmake to")
8
+SET (CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/cmake/Modules" CACHE PATH "The directory to install FindQRpc.cmake to")
9
 
10
 
11
 set(QJSON_LIB_MAJOR_VERSION "0")
(-)qjson/pkg-plist (-4 / +67 lines)
Lines 8-15 Link Here
8
lib/libqjson.so.0
8
lib/libqjson.so.0
9
lib/libqjson.so.0.7.1
9
lib/libqjson.so.0.7.1
10
libdata/pkgconfig/QJson.pc
10
libdata/pkgconfig/QJson.pc
11
share/apps/cmake/modules/FindQJSON.cmake
11
share/cmake/Modules/FindQJSON.cmake
12
@dirrmtry share/apps/cmake/modules
12
%%PORTDOCS%%%%DOCSDIR%%/Doxyfile
13
@dirrmtry share/apps/cmake
13
%%PORTDOCS%%%%DOCSDIR%%/footer.html
14
@dirrmtry share/apps
14
%%PORTDOCS%%%%DOCSDIR%%/header.html
15
%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
16
%%PORTDOCS%%%%DOCSDIR%%/html/tab_b.gif
17
%%PORTDOCS%%%%DOCSDIR%%/html/tab_l.gif
18
%%PORTDOCS%%%%DOCSDIR%%/html/tab_r.gif
19
%%PORTDOCS%%%%DOCSDIR%%/html/tabs.css
20
%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
21
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
22
%%PORTDOCS%%%%DOCSDIR%%/html/json__parser_8cc_source.html
23
%%PORTDOCS%%%%DOCSDIR%%/html/json__parser_8hh_source.html
24
%%PORTDOCS%%%%DOCSDIR%%/html/json__scanner_8cpp_source.html
25
%%PORTDOCS%%%%DOCSDIR%%/html/json__scanner_8h_source.html
26
%%PORTDOCS%%%%DOCSDIR%%/html/location_8hh_source.html
27
%%PORTDOCS%%%%DOCSDIR%%/html/moc__parserrunnable_8cxx_source.html
28
%%PORTDOCS%%%%DOCSDIR%%/html/moc__serializerrunnable_8cxx_source.html
29
%%PORTDOCS%%%%DOCSDIR%%/html/location_8hh.html
30
%%PORTDOCS%%%%DOCSDIR%%/html/parser_8cpp_source.html
31
%%PORTDOCS%%%%DOCSDIR%%/html/parser_8h_source.html
32
%%PORTDOCS%%%%DOCSDIR%%/html/parser__p_8h_source.html
33
%%PORTDOCS%%%%DOCSDIR%%/html/parserrunnable_8cpp_source.html
34
%%PORTDOCS%%%%DOCSDIR%%/html/parserrunnable_8h_source.html
35
%%PORTDOCS%%%%DOCSDIR%%/html/position_8hh_source.html
36
%%PORTDOCS%%%%DOCSDIR%%/html/qjson__debug_8h_source.html
37
%%PORTDOCS%%%%DOCSDIR%%/html/qjson__export_8h_source.html
38
%%PORTDOCS%%%%DOCSDIR%%/html/qobjecthelper_8cpp_source.html
39
%%PORTDOCS%%%%DOCSDIR%%/html/qobjecthelper_8h_source.html
40
%%PORTDOCS%%%%DOCSDIR%%/html/serializer_8cpp_source.html
41
%%PORTDOCS%%%%DOCSDIR%%/html/serializer_8h_source.html
42
%%PORTDOCS%%%%DOCSDIR%%/html/serializerrunnable_8cpp_source.html
43
%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
44
%%PORTDOCS%%%%DOCSDIR%%/html/serializerrunnable_8h_source.html
45
%%PORTDOCS%%%%DOCSDIR%%/html/stack_8hh_source.html
46
%%PORTDOCS%%%%DOCSDIR%%/html/position_8hh.html
47
%%PORTDOCS%%%%DOCSDIR%%/html/classes.html
48
%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
49
%%PORTDOCS%%%%DOCSDIR%%/html/functions_func.html
50
%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars.html
51
%%PORTDOCS%%%%DOCSDIR%%/html/functions_type.html
52
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1Parser.html
53
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1Parser-members.html
54
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1ParserRunnable.html
55
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1ParserRunnable-members.html
56
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1QObjectHelper.html
57
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1QObjectHelper-members.html
58
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1Serializer.html
59
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1Serializer-members.html
60
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1SerializerRunnable.html
61
%%PORTDOCS%%%%DOCSDIR%%/html/classQJson_1_1SerializerRunnable-members.html
62
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1json__parser.html
63
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1json__parser-members.html
64
%%PORTDOCS%%%%DOCSDIR%%/html/structyy_1_1json__parser_1_1token.html
65
%%PORTDOCS%%%%DOCSDIR%%/html/structyy_1_1json__parser_1_1token-members.html
66
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1location.html
67
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1location-members.html
68
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1position.html
69
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1position-members.html
70
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1slice.html
71
%%PORTDOCS%%%%DOCSDIR%%/html/classyy_1_1slice-members.html
72
%%PORTDOCS%%%%DOCSDIR%%/html/files.html
73
%%PORTDOCS%%%%DOCSDIR%%/qjson.dox
74
@dirrmtry share/cmake/Modules
75
@dirrmtry share/cmake
15
@dirrm include/qjson
76
@dirrm include/qjson
77
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
78
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 147765