git: ecd1841331d1 - main - textproc/libxml++30: Add libxml++30, a C++ API v3.0 for libxml2
Date: Wed, 07 Sep 2022 10:56:46 UTC
The branch main has been updated by bland: URL: https://cgit.FreeBSD.org/ports/commit/?id=ecd1841331d14ef3fad22458ccb17204a0d7a476 commit ecd1841331d14ef3fad22458ccb17204a0d7a476 Author: Alexander Nedotsukov <bland@FreeBSD.org> AuthorDate: 2022-09-07 10:53:19 +0000 Commit: Alexander Nedotsukov <bland@FreeBSD.org> CommitDate: 2022-09-07 10:56:24 +0000 textproc/libxml++30: Add libxml++30, a C++ API v3.0 for libxml2 --- textproc/Makefile | 1 + textproc/libxml++30/Makefile | 33 +++++++++++++++++++++++++++++++ textproc/libxml++30/distinfo | 3 +++ textproc/libxml++30/pkg-descr | 5 +++++ textproc/libxml++30/pkg-plist | 46 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index ae47ff6efc89..46ffd377cbc3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -407,6 +407,7 @@ SUBDIR += libxdiff SUBDIR += libxml++ SUBDIR += libxml++26 + SUBDIR += libxml++30 SUBDIR += libxml2 SUBDIR += libxmlb SUBDIR += libxmlbird diff --git a/textproc/libxml++30/Makefile b/textproc/libxml++30/Makefile new file mode 100644 index 000000000000..db4648a70955 --- /dev/null +++ b/textproc/libxml++30/Makefile @@ -0,0 +1,33 @@ +PORTNAME= libxml++ +PORTVERSION= 2.91.3 +PORTREVISION?= 0 +CATEGORIES= textproc +MASTER_SITES= GNOME + +MAINTAINER= bland@FreeBSD.org +COMMENT= XML API for C++ + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES+= tar:xz compiler:c++11-lang + +PLIST_SUB= VERSION="3.0" API_VERSION="3.0" + +USES+= gmake libtool pathfix pkgconfig gnome +USE_GNOME= glibmm libxml2 +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-static --disable-documentation +INSTALL_TARGET= install-strip +BINARY_WRAPPERS= gm4 + +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \ + ${WRKSRC}/libxml++.pc.in + +.include <bsd.port.mk> diff --git a/textproc/libxml++30/distinfo b/textproc/libxml++30/distinfo new file mode 100644 index 000000000000..0f406af7d3a4 --- /dev/null +++ b/textproc/libxml++30/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1662499145 +SHA256 (libxml++-2.91.3.tar.xz) = f9f910cacd1d07c71679eeea36ae018189b72b4b7dd11511a76562377ed4d06a +SIZE (libxml++-2.91.3.tar.xz) = 934428 diff --git a/textproc/libxml++30/pkg-descr b/textproc/libxml++30/pkg-descr new file mode 100644 index 000000000000..94d8feaff6fb --- /dev/null +++ b/textproc/libxml++30/pkg-descr @@ -0,0 +1,5 @@ +libxml++ is a C++ interface for working with XML files, using libxml +(gnome-xml) to parse and write the actual XML files. It has a simple +but complete API. + +WWW: http://libxmlplusplus.sourceforge.net/ diff --git a/textproc/libxml++30/pkg-plist b/textproc/libxml++30/pkg-plist new file mode 100644 index 000000000000..0528cd8b5faf --- /dev/null +++ b/textproc/libxml++30/pkg-plist @@ -0,0 +1,46 @@ +include/libxml++-%%API_VERSION%%/include/libxml++config.h +include/libxml++-%%API_VERSION%%/libxml++/attribute.h +include/libxml++-%%API_VERSION%%/libxml++/attributedeclaration.h +include/libxml++-%%API_VERSION%%/libxml++/attributenode.h +include/libxml++-%%API_VERSION%%/libxml++/document.h +include/libxml++-%%API_VERSION%%/libxml++/dtd.h +include/libxml++-%%API_VERSION%%/libxml++/exceptions/exception.h +include/libxml++-%%API_VERSION%%/libxml++/exceptions/internal_error.h +include/libxml++-%%API_VERSION%%/libxml++/exceptions/parse_error.h +include/libxml++-%%API_VERSION%%/libxml++/exceptions/validity_error.h +include/libxml++-%%API_VERSION%%/libxml++/exceptions/wrapped_exception.h +include/libxml++-%%API_VERSION%%/libxml++/io/istreamparserinputbuffer.h +include/libxml++-%%API_VERSION%%/libxml++/io/ostreamoutputbuffer.h +include/libxml++-%%API_VERSION%%/libxml++/io/outputbuffer.h +include/libxml++-%%API_VERSION%%/libxml++/io/parserinputbuffer.h +include/libxml++-%%API_VERSION%%/libxml++/keepblanks.h +include/libxml++-%%API_VERSION%%/libxml++/libxml++.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/cdatanode.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/commentnode.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/contentnode.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/element.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/entitydeclaration.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/entityreference.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/node.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/processinginstructionnode.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/textnode.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/xincludeend.h +include/libxml++-%%API_VERSION%%/libxml++/nodes/xincludestart.h +include/libxml++-%%API_VERSION%%/libxml++/noncopyable.h +include/libxml++-%%API_VERSION%%/libxml++/parsers/domparser.h +include/libxml++-%%API_VERSION%%/libxml++/parsers/parser.h +include/libxml++-%%API_VERSION%%/libxml++/parsers/saxparser.h +include/libxml++-%%API_VERSION%%/libxml++/parsers/textreader.h +include/libxml++-%%API_VERSION%%/libxml++/relaxngschema.h +include/libxml++-%%API_VERSION%%/libxml++/schemabase.h +include/libxml++-%%API_VERSION%%/libxml++/validators/dtdvalidator.h +include/libxml++-%%API_VERSION%%/libxml++/validators/relaxngvalidator.h +include/libxml++-%%API_VERSION%%/libxml++/validators/schemavalidatorbase.h +include/libxml++-%%API_VERSION%%/libxml++/validators/validator.h +include/libxml++-%%API_VERSION%%/libxml++/validators/xsdvalidator.h +include/libxml++-%%API_VERSION%%/libxml++/xsdschema.h +lib/libxml++-%%VERSION%%.a +lib/libxml++-%%VERSION%%.so +lib/libxml++-%%VERSION%%.so.0 +lib/libxml++-%%VERSION%%.so.0.0.0 +libdata/pkgconfig/libxml++-%%API_VERSION%%.pc