diff --git a/textproc/libxml++5.0/DESCR b/textproc/libxml++5.0/DESCR new file mode 100644 index 000000000000..4f20e038f98b --- /dev/null +++ b/textproc/libxml++5.0/DESCR @@ -0,0 +1,6 @@ +libxml++ is a C++ wrapper for the libxml XML parser library. It has SAX and +DOM-like APIs, but does not attempt to conform exactly to the DOM +specifications because they are not aimed at C++. Its API is much simpler +than the underlying libxml C API. + +This package follows the libxml++-5.0 API. diff --git a/textproc/libxml++5.0/Makefile b/textproc/libxml++5.0/Makefile new file mode 100644 index 000000000000..61472a9bdea9 --- /dev/null +++ b/textproc/libxml++5.0/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2021/05/31 22:27:02 wiz Exp $ + +DISTNAME= libxml++-5.0.1 +PKGNAME= ${DISTNAME:S/libxml++/libxml++5.0/} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml++/${PKGVERSION_NOREV:R}/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= evaldo@gardenali.biz +HOMEPAGE= http://libxmlplusplus.sourceforge.net/ +COMMENT= C++ wrapper for the libxml XML parser library (5.0 API) +LICENSE= gnu-lgpl-v2.1 + +USE_LANGUAGES= c c++ +USE_TOOLS+= pkg-config perl +# TODO: update +PKGCONFIG_OVERRIDE+= libxml++-2.6.pc.in +PYTHON_FOR_BUILD_ONLY= tool + +.include "../../devel/meson/build.mk" +.include "../../devel/glibmm2.68/buildlink3.mk" +.include "../../lang/python/tool.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/libxml++5.0/PLIST b/textproc/libxml++5.0/PLIST new file mode 100644 index 000000000000..3212cbc5fa9e --- /dev/null +++ b/textproc/libxml++5.0/PLIST @@ -0,0 +1,47 @@ +@comment $NetBSD: PLIST,v 1.1 2021/05/31 22:27:02 wiz Exp $ +include/libxml++-5.0/libxml++/attribute.h +include/libxml++-5.0/libxml++/attributedeclaration.h +include/libxml++-5.0/libxml++/attributenode.h +include/libxml++-5.0/libxml++/document.h +include/libxml++-5.0/libxml++/dtd.h +include/libxml++-5.0/libxml++/exceptions/exception.h +include/libxml++-5.0/libxml++/exceptions/internal_error.h +include/libxml++-5.0/libxml++/exceptions/parse_error.h +include/libxml++-5.0/libxml++/exceptions/validity_error.h +include/libxml++-5.0/libxml++/exceptions/wrapped_exception.h +include/libxml++-5.0/libxml++/io/istreamparserinputbuffer.h +include/libxml++-5.0/libxml++/io/ostreamoutputbuffer.h +include/libxml++-5.0/libxml++/io/outputbuffer.h +include/libxml++-5.0/libxml++/io/parserinputbuffer.h +include/libxml++-5.0/libxml++/keepblanks.h +include/libxml++-5.0/libxml++/libxml++.h +include/libxml++-5.0/libxml++/nodes/cdatanode.h +include/libxml++-5.0/libxml++/nodes/commentnode.h +include/libxml++-5.0/libxml++/nodes/contentnode.h +include/libxml++-5.0/libxml++/nodes/element.h +include/libxml++-5.0/libxml++/nodes/entitydeclaration.h +include/libxml++-5.0/libxml++/nodes/entityreference.h +include/libxml++-5.0/libxml++/nodes/node.h +include/libxml++-5.0/libxml++/nodes/processinginstructionnode.h +include/libxml++-5.0/libxml++/nodes/textnode.h +include/libxml++-5.0/libxml++/nodes/xincludeend.h +include/libxml++-5.0/libxml++/nodes/xincludestart.h +include/libxml++-5.0/libxml++/noncopyable.h +include/libxml++-5.0/libxml++/parsers/domparser.h +include/libxml++-5.0/libxml++/parsers/parser.h +include/libxml++-5.0/libxml++/parsers/saxparser.h +include/libxml++-5.0/libxml++/parsers/textreader.h +include/libxml++-5.0/libxml++/relaxngschema.h +include/libxml++-5.0/libxml++/schemabase.h +include/libxml++-5.0/libxml++/ustring.h +include/libxml++-5.0/libxml++/validators/dtdvalidator.h +include/libxml++-5.0/libxml++/validators/relaxngvalidator.h +include/libxml++-5.0/libxml++/validators/schemavalidatorbase.h +include/libxml++-5.0/libxml++/validators/validator.h +include/libxml++-5.0/libxml++/validators/xsdvalidator.h +include/libxml++-5.0/libxml++/xsdschema.h +lib/libxml++-5.0.so +lib/libxml++-5.0.so.1 +lib/libxml++-5.0.so.1.0.0 +lib/libxml++-5.0/include/libxml++config.h +lib/pkgconfig/libxml++-5.0.pc diff --git a/textproc/libxml++5.0/buildlink3.mk b/textproc/libxml++5.0/buildlink3.mk new file mode 100644 index 000000000000..1e6f9c96a946 --- /dev/null +++ b/textproc/libxml++5.0/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2021/05/31 22:27:02 wiz Exp $ + +BUILDLINK_TREE+= libxmlpp5.0 + +.if !defined(LIBXMLPP5.0_BUILDLINK3_MK) +LIBXMLPP5.0_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libxmlpp5.0+= libxml++>=5.0.1 +BUILDLINK_PKGSRCDIR.libxmlpp5.0?= ../../textproc/libxml++5.0 + +.include "../../devel/glibmm2.68/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.endif # LIBXMLPP5.0_BUILDLINK3_MK + +BUILDLINK_TREE+= -libxmlpp5.0 diff --git a/textproc/libxml++5.0/distinfo b/textproc/libxml++5.0/distinfo new file mode 100644 index 000000000000..bb7a2bae358d --- /dev/null +++ b/textproc/libxml++5.0/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/05/31 22:27:02 wiz Exp $ + +SHA1 (libxml++-5.0.1.tar.xz) = deb441c87f4bc2a02ad8597d95ac6640fba415f3 +RMD160 (libxml++-5.0.1.tar.xz) = 2bd00b4b9b2ff059954ac834a824d4ca2e2831a9 +SHA512 (libxml++-5.0.1.tar.xz) = a8715b4a383190098f51cce3462e9ff7220f40195e957bea75a2b4fffe623841a3f649c72fe78bb9442dd680f9ac6667e67f706255e6b517d9513a642d754e32 +Size (libxml++-5.0.1.tar.xz) = 779760 bytes