Import yaml-cpp-0.2.6.

YAML parser and emitter in C++ matching the YAML 1.2 spec.

from Antti Harri with some tweaks.
ok jasper@
This commit is contained in:
ajacoutot 2011-05-11 16:55:30 +00:00
parent be37d402a0
commit d0428136b7
6 changed files with 81 additions and 0 deletions

28
devel/yaml-cpp/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/11 16:55:30 ajacoutot Exp $
COMMENT = YAML parser and emitter in C++
DISTNAME = yaml-cpp-0.2.6
SHARED_LIBS = yaml-cpp 0.0 # 0.2
CATEGORIES = devel
HOMEPAGE = http://code.google.com/p/yaml-cpp/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += m stdc++
MASTER_SITES = http://yaml-cpp.googlecode.com/files/
MODULES = devel/cmake
CONFIGURE_ARGS = -DBUILD_SHARED_LIBS=ON
WRKDIST = ${WRKDIR}/yaml-cpp
.include <bsd.port.mk>

5
devel/yaml-cpp/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (yaml-cpp-0.2.6.tar.gz) = 3fpejUCdna++ttGQzWjbyw==
RMD160 (yaml-cpp-0.2.6.tar.gz) = t/TnYmeuFeMg6ojORUnu03UPOlY=
SHA1 (yaml-cpp-0.2.6.tar.gz) = UUHFo77svoDmdy09ns4dZolAkG8=
SHA256 (yaml-cpp-0.2.6.tar.gz) = ct2fvHVJ53dWoTWHKeV4n0rHE0mcN1hW9kk/SYoditw=
SIZE (yaml-cpp-0.2.6.tar.gz) = 74708

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2011/05/11 16:55:30 ajacoutot Exp $
--- CMakeLists.txt.orig Wed May 11 18:40:31 2011
+++ CMakeLists.txt Wed May 11 18:41:06 2011
@@ -122,8 +122,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_BUILD_TYPE Release)
endif()
#
- set(CMAKE_CXX_FLAGS_RELEASE "-O2")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
+ set(CMAKE_CXX_FLAGS_RELEASE "")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os")
#

1
devel/yaml-cpp/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
YAML parser and emitter in C++ matching the YAML 1.2 spec.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/05/11 16:55:30 ajacoutot Exp $
@lib lib/libyaml-cpp.so.${LIByaml-cpp_VERSION}

31
devel/yaml-cpp/pkg/PLIST Normal file
View File

@ -0,0 +1,31 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/11 16:55:30 ajacoutot Exp $
%%SHARED%%
include/yaml-cpp/
include/yaml-cpp/aliasmanager.h
include/yaml-cpp/anchor.h
include/yaml-cpp/anchordict.h
include/yaml-cpp/conversion.h
include/yaml-cpp/dll.h
include/yaml-cpp/emitfromevents.h
include/yaml-cpp/emitter.h
include/yaml-cpp/emittermanip.h
include/yaml-cpp/eventhandler.h
include/yaml-cpp/exceptions.h
include/yaml-cpp/graphbuilder.h
include/yaml-cpp/iterator.h
include/yaml-cpp/ltnode.h
include/yaml-cpp/mark.h
include/yaml-cpp/node.h
include/yaml-cpp/nodeimpl.h
include/yaml-cpp/nodereadimpl.h
include/yaml-cpp/nodeutil.h
include/yaml-cpp/noncopyable.h
include/yaml-cpp/null.h
include/yaml-cpp/ostream.h
include/yaml-cpp/parser.h
include/yaml-cpp/stlemitter.h
include/yaml-cpp/stlnode.h
include/yaml-cpp/traits.h
include/yaml-cpp/yaml.h
lib/pkgconfig/
lib/pkgconfig/yaml-cpp.pc