Bug 172146 - New port: devel/yaml-cpp Library to parse/emit YAML files from C++
Summary: New port: devel/yaml-cpp Library to parse/emit YAML files from C++
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 15:40 UTC by tim
Modified: 2012-10-01 04:10 UTC (History)
0 users

See Also:


Attachments
yaml-cpp.shar (2.73 KB, text/plain)
2012-09-28 15:40 UTC, tim
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim 2012-09-28 15:40:02 UTC
        A new port to add the yaml-cpp library to parse and emit YAML documents
        from C++. YAML is a text file format allowing human readable but yet easily
        and effciently machine parseable documents. It is gaining more and more
        popularity, for example in the robotics world for configuration or data
        structure definition in ROS and Fawkes.
Comment 1 dfilter service freebsd_committer freebsd_triage 2012-10-01 04:03:34 UTC
Author: vanilla
Date: Mon Oct  1 03:03:19 2012
New Revision: 305090
URL: http://svn.freebsd.org/changeset/ports/305090

Log:
  Add yaml-cpp 0.3.0, YAML parser and emitter in C++ matching the YAML 1.2
  spec.
  
  PR:		ports/172146

Added:
  head/devel/yaml-cpp/
  head/devel/yaml-cpp/Makefile   (contents, props changed)
  head/devel/yaml-cpp/distinfo   (contents, props changed)
  head/devel/yaml-cpp/pkg-descr   (contents, props changed)
  head/devel/yaml-cpp/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Oct  1 03:02:08 2012	(r305089)
+++ head/devel/Makefile	Mon Oct  1 03:03:19 2012	(r305090)
@@ -4150,6 +4150,7 @@
     SUBDIR += xxl
     SUBDIR += yajl
     SUBDIR += yajl-tcl
+    SUBDIR += yaml-cpp
     SUBDIR += yasm
     SUBDIR += z80-asm
     SUBDIR += z80asm

Added: head/devel/yaml-cpp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaml-cpp/Makefile	Mon Oct  1 03:03:19 2012	(r305090)
@@ -0,0 +1,26 @@
+# Created by :				Tim Niemueller <tim@niemueller.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	yaml-cpp
+PORTVERSION=	0.3.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER=	tim@niemueller.de
+COMMENT=	YAML parser and emitter in C++ matching the YAML 1.2 spec
+
+LICENSE=	MIT
+
+WRKSRC=		${WRKDIR}/${PORTNAME}
+USE_CMAKE=	yes
+MAKE_JOBS_SAFE=	yes
+USE_LDCONFIG=	yes
+CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0
+
+post-patch:     .SILENT
+	${REINPLACE_CMD} 's|$${LIB_INSTALL_DIR}/pkgconfig|${LOCALBASE}/libdata/pkgconfig|' \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>

Added: head/devel/yaml-cpp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaml-cpp/distinfo	Mon Oct  1 03:03:19 2012	(r305090)
@@ -0,0 +1,2 @@
+SHA256 (yaml-cpp-0.3.0.tar.gz) = 2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82
+SIZE (yaml-cpp-0.3.0.tar.gz) = 82674

Added: head/devel/yaml-cpp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaml-cpp/pkg-descr	Mon Oct  1 03:03:19 2012	(r305090)
@@ -0,0 +1,3 @@
+yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec. 
+
+WWW: http://code.google.com/p/yaml-cpp/

Added: head/devel/yaml-cpp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaml-cpp/pkg-plist	Mon Oct  1 03:03:19 2012	(r305090)
@@ -0,0 +1,33 @@
+include/yaml-cpp/aliasmanager.h
+include/yaml-cpp/anchor.h
+include/yaml-cpp/binary.h
+include/yaml-cpp/contrib/anchordict.h
+include/yaml-cpp/contrib/graphbuilder.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/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/libyaml-cpp.so
+lib/libyaml-cpp.so.0.3
+lib/libyaml-cpp.so.0.3.0
+libdata/pkgconfig/yaml-cpp.pc
+@dirrm include/yaml-cpp/contrib
+@dirrm include/yaml-cpp
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2012-10-01 04:03:38 UTC
State Changed
From-To: open->closed

Committed, thanks. 

please run portlint before send-pr next time, thanks.