pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add package yaml-cpp03



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Tue Mar 27 19:19:18 2018 +0300
Changeset:	4c5d1b7fb280c72db6e5f0d0f2f01585787253d9

Added Files:
	yaml-cpp03/DESCR
	yaml-cpp03/Makefile
	yaml-cpp03/PLIST
	yaml-cpp03/buildlink3.mk
	yaml-cpp03/distinfo

Log Message:
Add package yaml-cpp03

yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.

This is the 0.3.0 version. A newer version is available in pkgsrc,
but it has a changed API. OpenColorIO needs this version.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4c5d1b7fb280c72db6e5f0d0f2f01585787253d9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 yaml-cpp03/DESCR         |  1 +
 yaml-cpp03/Makefile      | 24 ++++++++++++++++++++++++
 yaml-cpp03/PLIST         | 32 ++++++++++++++++++++++++++++++++
 yaml-cpp03/buildlink3.mk | 13 +++++++++++++
 yaml-cpp03/distinfo      |  6 ++++++
 5 files changed, 76 insertions(+)

diffs:
diff --git a/yaml-cpp03/DESCR b/yaml-cpp03/DESCR
new file mode 100644
index 0000000000..5267ec772b
--- /dev/null
+++ b/yaml-cpp03/DESCR
@@ -0,0 +1 @@
+yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.
diff --git a/yaml-cpp03/Makefile b/yaml-cpp03/Makefile
new file mode 100644
index 0000000000..c3101359cc
--- /dev/null
+++ b/yaml-cpp03/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.7 2018/03/06 10:05:49 adam Exp $
+
+PKGNAME=	yaml-cpp-0.3.0
+DISTNAME=	release-0.3.0
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jbeder/}
+GITHUB_TAG=	${DISTNAME}
+EXTRACT_USING=	bsdtar
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/jbeder/yaml-cpp
+COMMENT=	YAML parser and emitter for C++
+LICENSE=	mit
+
+USE_CMAKE=		yes
+USE_LANGUAGES=		c c++11
+CMAKE_ARGS+=		-DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS+=		-DYAML_CPP_BUILD_TESTS=OFF # issue 539
+PKGCONFIG_OVERRIDE+=	yaml-cpp.pc.cmake
+
+TEST_ENV+=	LD_LIBRARY_PATH=${WRKSRC}
+TEST_TARGET=	test
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/yaml-cpp03/PLIST b/yaml-cpp03/PLIST
new file mode 100644
index 0000000000..7d7fe25fab
--- /dev/null
+++ b/yaml-cpp03/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD$
+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.${PKGVERSION}
+lib/pkgconfig/yaml-cpp.pc
diff --git a/yaml-cpp03/buildlink3.mk b/yaml-cpp03/buildlink3.mk
new file mode 100644
index 0000000000..e9b6f7995d
--- /dev/null
+++ b/yaml-cpp03/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.3 2018/01/30 07:22:17 adam Exp $
+
+BUILDLINK_TREE+=	yaml-cpp
+
+.if !defined(YAML_CPP_BUILDLINK3_MK)
+YAML_CPP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.yaml-cpp+=	yaml-cpp>=0.3.0
+BUILDLINK_PKGSRCDIR.yaml-cpp?=		../../wip/yaml-cpp03
+
+.endif	# YAML_CPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-yaml-cpp
diff --git a/yaml-cpp03/distinfo b/yaml-cpp03/distinfo
new file mode 100644
index 0000000000..c3124b0d4b
--- /dev/null
+++ b/yaml-cpp03/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.6 2018/03/06 10:05:49 adam Exp $
+
+SHA1 (release-0.3.0.tar.gz) = 87529238079a57d443b1a47f5c42c895ca2c3608
+RMD160 (release-0.3.0.tar.gz) = 35a123e94ff0aed89bf21fec41f6cde004e328d4
+SHA512 (release-0.3.0.tar.gz) = 559975db3814aadf06d301255a3f3e086119e2c28e680c80aa3376ea374f2de558d030acccd24c39d3138f20595f9f3d1be55b25a62c9a2ff2c7d5f32e448dd8
+Size (release-0.3.0.tar.gz) = 83201 bytes


Home | Main Index | Thread Index | Old Index