pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc add textproc/libyaml - based on work by Charl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/419d3751a506
branches: trunk
changeset: 456733:419d3751a506
user: nia <nia%pkgsrc.org@localhost>
date: Fri Aug 06 12:29:23 2021 +0000
description:
add textproc/libyaml - based on work by Charlotte Koch in wip
LibCYAML is a C library for reading and writing structured YAML documents.
It is written in ISO C11 and licensed under the ISC license.
diffstat:
textproc/Makefile | 3 ++-
textproc/libcyaml/DESCR | 2 ++
textproc/libcyaml/Makefile | 23 +++++++++++++++++++++++
textproc/libcyaml/PLIST | 7 +++++++
textproc/libcyaml/buildlink3.mk | 13 +++++++++++++
textproc/libcyaml/distinfo | 6 ++++++
6 files changed, 53 insertions(+), 1 deletions(-)
diffs (88 lines):
diff -r 59e82a6e8d25 -r 419d3751a506 textproc/Makefile
--- a/textproc/Makefile Fri Aug 06 10:25:11 2021 +0000
+++ b/textproc/Makefile Fri Aug 06 12:29:23 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1244 2021/07/28 07:50:57 wen Exp $
+# $NetBSD: Makefile,v 1.1245 2021/08/06 12:29:23 nia Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -444,6 +444,7 @@
SUBDIR+= libcroco
SUBDIR+= libcsv
SUBDIR+= libcue
+SUBDIR+= libcyaml
SUBDIR+= libexttextcat
SUBDIR+= libfastjson
SUBDIR+= libhighlight
diff -r 59e82a6e8d25 -r 419d3751a506 textproc/libcyaml/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libcyaml/DESCR Fri Aug 06 12:29:23 2021 +0000
@@ -0,0 +1,2 @@
+LibCYAML is a C library for reading and writing structured YAML documents.
+It is written in ISO C11 and licensed under the ISC license.
diff -r 59e82a6e8d25 -r 419d3751a506 textproc/libcyaml/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libcyaml/Makefile Fri Aug 06 12:29:23 2021 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2021/08/06 12:29:23 nia Exp $
+
+DISTNAME= libcyaml-1.2.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tlsa/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= dressupgeekout%gmail.com@localhost
+HOMEPAGE= https://github.com/tlsa/libcyaml
+COMMENT= Schema-based YAML parsing and serialization
+LICENSE= isc
+
+USE_TOOLS+= gmake
+NO_CONFIGURE= yes
+
+# The Makefile wants to add a bunch of options to install(1) specific to GNU
+# install(1) -- disable those right here.
+INSTALL_MAKE_FLAGS+= INSTALL="install"
+
+PKGCONFIG_OVERRIDE+= libcyaml.pc.in
+
+.include "../../textproc/libyaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 59e82a6e8d25 -r 419d3751a506 textproc/libcyaml/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libcyaml/PLIST Fri Aug 06 12:29:23 2021 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/06 12:29:23 nia Exp $
+include/cyaml/cyaml.h
+lib/libcyaml.a
+lib/libcyaml.so
+lib/libcyaml.so.${PKGVERSION}
+lib/libcyaml.so.1
+lib/pkgconfig/libcyaml.pc
diff -r 59e82a6e8d25 -r 419d3751a506 textproc/libcyaml/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libcyaml/buildlink3.mk Fri Aug 06 12:29:23 2021 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/08/06 12:29:23 nia Exp $
+
+BUILDLINK_TREE+= libcyaml
+
+.if !defined(LIBCYAML_BUILDLINK3_MK)
+LIBCYAML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcyaml+= libcyaml>=1.1.0
+BUILDLINK_ABI_DEPENDS.libcyaml+= libcyaml>=1.1.0
+BUILDLINK_PKGSRCDIR.libcyaml?= ../../wip/libcyaml
+.endif # LIBCYAML_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libcyaml
diff -r 59e82a6e8d25 -r 419d3751a506 textproc/libcyaml/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libcyaml/distinfo Fri Aug 06 12:29:23 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/08/06 12:29:23 nia Exp $
+
+SHA1 (libcyaml-1.2.0.tar.gz) = 63db82c5a9f13c5aaaaaee460f8f1f1aba778f54
+RMD160 (libcyaml-1.2.0.tar.gz) = 36d0a748beb7ad0abc054f9a3cd2186a3ae39e4c
+SHA512 (libcyaml-1.2.0.tar.gz) = 3f8722f7e814ea3d7eb0c2c51602bb150cee7e36eef8ec2f74056590504f25d19c50529ea77ebe9f1ed1ff6dc45d520f9bb43de63921b12dd921b3938330285e
+Size (libcyaml-1.2.0.tar.gz) = 83631 bytes
Home |
Main Index |
Thread Index |
Old Index