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

Collapse All | Expand All

(-)./Makefile (-8 / +4 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/devel/yaml-cpp/Makefile 340585 2014-01-21 09:02:38Z bapt $
2
# $FreeBSD: head/devel/yaml-cpp/Makefile 340585 2014-01-21 09:02:38Z bapt $
3
3
4
PORTNAME=	yaml-cpp
4
PORTNAME=	yaml-cpp
5
PORTVERSION=	0.3.0
5
PORTVERSION=	0.5.1
6
PORTREVISION=	1
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
9
8
Lines 12-24 Link Here
12
11
13
LICENSE=	MIT
12
LICENSE=	MIT
14
13
15
WRKSRC=		${WRKDIR}/${PORTNAME}
14
BUILD_DEPENDS=	boost-libs>=0:${PORTSDIR}/devel/boost-libs
15
16
USES=		cmake
16
USES=		cmake
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0
18
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0 -DPREFIX=${PREFIX}
19
20
post-patch:     .SILENT
21
	${REINPLACE_CMD} 's|$${LIB_INSTALL_DIR}/pkgconfig|${LOCALBASE}/libdata/pkgconfig|' \
22
		${WRKSRC}/CMakeLists.txt
23
19
24
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (yaml-cpp-0.3.0.tar.gz) = 2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82
1
SHA256 (yaml-cpp-0.5.1.tar.gz) = 3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06
2
SIZE (yaml-cpp-0.3.0.tar.gz) = 82674
2
SIZE (yaml-cpp-0.5.1.tar.gz) = 118244
(-)./files/patch-CMakeLists.txt (-3 / +12 lines)
Lines 1-6 Link Here
1
--- CMakeLists.txt.orig	2012-10-20 09:02:48.000000000 +0800
1
--- ./CMakeLists.txt.orig	2013-04-14 08:37:53.000000000 +0900
2
+++ CMakeLists.txt	2012-10-20 09:03:35.000000000 +0800
2
+++ ./CMakeLists.txt	2014-03-19 19:43:22.000000000 +0900
3
@@ -237,7 +237,7 @@
3
@@ -240,7 +240,7 @@
4
 
4
 
5
 set_target_properties(yaml-cpp PROPERTIES
5
 set_target_properties(yaml-cpp PROPERTIES
6
 	VERSION "${YAML_CPP_VERSION}"
6
 	VERSION "${YAML_CPP_VERSION}"
Lines 9-11 Link Here
9
 	PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}"
9
 	PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}"
10
 )
10
 )
11
 
11
 
12
@@ -272,7 +272,7 @@
13
 if(UNIX)
14
 	set(PC_FILE ${CMAKE_BINARY_DIR}/yaml-cpp.pc)
15
 	configure_file("yaml-cpp.pc.cmake" ${PC_FILE} @ONLY)
16
-	install(FILES ${PC_FILE} DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
17
+	install(FILES ${PC_FILE} DESTINATION ${PREFIX}/libdata/pkgconfig)
18
 endif()
19
 
20
 
(-)./pkg-plist (-11 / +22 lines)
Lines 1-33 Link Here
1
include/yaml-cpp/aliasmanager.h
2
include/yaml-cpp/anchor.h
1
include/yaml-cpp/anchor.h
3
include/yaml-cpp/binary.h
2
include/yaml-cpp/binary.h
4
include/yaml-cpp/contrib/anchordict.h
3
include/yaml-cpp/contrib/anchordict.h
5
include/yaml-cpp/contrib/graphbuilder.h
4
include/yaml-cpp/contrib/graphbuilder.h
6
include/yaml-cpp/conversion.h
7
include/yaml-cpp/dll.h
5
include/yaml-cpp/dll.h
8
include/yaml-cpp/emitfromevents.h
6
include/yaml-cpp/emitfromevents.h
9
include/yaml-cpp/emitter.h
7
include/yaml-cpp/emitter.h
8
include/yaml-cpp/emitterdef.h
10
include/yaml-cpp/emittermanip.h
9
include/yaml-cpp/emittermanip.h
11
include/yaml-cpp/eventhandler.h
10
include/yaml-cpp/eventhandler.h
12
include/yaml-cpp/exceptions.h
11
include/yaml-cpp/exceptions.h
13
include/yaml-cpp/iterator.h
14
include/yaml-cpp/ltnode.h
15
include/yaml-cpp/mark.h
12
include/yaml-cpp/mark.h
16
include/yaml-cpp/node.h
13
include/yaml-cpp/node/convert.h
17
include/yaml-cpp/nodeimpl.h
14
include/yaml-cpp/node/detail/bool_type.h
18
include/yaml-cpp/nodereadimpl.h
15
include/yaml-cpp/node/detail/impl.h
19
include/yaml-cpp/nodeutil.h
16
include/yaml-cpp/node/detail/iterator.h
17
include/yaml-cpp/node/detail/iterator_fwd.h
18
include/yaml-cpp/node/detail/memory.h
19
include/yaml-cpp/node/detail/node.h
20
include/yaml-cpp/node/detail/node_data.h
21
include/yaml-cpp/node/detail/node_iterator.h
22
include/yaml-cpp/node/detail/node_ref.h
23
include/yaml-cpp/node/emit.h
24
include/yaml-cpp/node/impl.h
25
include/yaml-cpp/node/iterator.h
26
include/yaml-cpp/node/node.h
27
include/yaml-cpp/node/parse.h
28
include/yaml-cpp/node/ptr.h
29
include/yaml-cpp/node/type.h
20
include/yaml-cpp/noncopyable.h
30
include/yaml-cpp/noncopyable.h
21
include/yaml-cpp/null.h
31
include/yaml-cpp/null.h
22
include/yaml-cpp/ostream.h
32
include/yaml-cpp/ostream_wrapper.h
23
include/yaml-cpp/parser.h
33
include/yaml-cpp/parser.h
24
include/yaml-cpp/stlemitter.h
34
include/yaml-cpp/stlemitter.h
25
include/yaml-cpp/stlnode.h
26
include/yaml-cpp/traits.h
35
include/yaml-cpp/traits.h
27
include/yaml-cpp/yaml.h
36
include/yaml-cpp/yaml.h
28
lib/libyaml-cpp.so
37
lib/libyaml-cpp.so
29
lib/libyaml-cpp.so.0
38
lib/libyaml-cpp.so.0
30
lib/libyaml-cpp.so.0.3.0
39
lib/libyaml-cpp.so.0.5.1
31
libdata/pkgconfig/yaml-cpp.pc
40
libdata/pkgconfig/yaml-cpp.pc
41
@dirrm include/yaml-cpp/node/detail
42
@dirrm include/yaml-cpp/node
32
@dirrm include/yaml-cpp/contrib
43
@dirrm include/yaml-cpp/contrib
33
@dirrm include/yaml-cpp
44
@dirrm include/yaml-cpp

Return to bug 187191