diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2022-09-07 13:53:19 +0300 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2022-09-07 13:56:24 +0300 |
commit | ecd1841331d14ef3fad22458ccb17204a0d7a476 (patch) | |
tree | 05d960d8463ac46752c29fe9bbeb3d2dc62bf2b0 | |
parent | 422c41dcb6f1fc0d5d6a24ba61727a467e171e9b (diff) | |
download | freebsd-ports-ecd1841331d14ef3fad22458ccb17204a0d7a476.zip |
textproc/libxml++30: Add libxml++30, a C++ API v3.0 for libxml2
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/libxml++30/Makefile | 33 | ||||
-rw-r--r-- | textproc/libxml++30/distinfo | 3 | ||||
-rw-r--r-- | textproc/libxml++30/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/libxml++30/pkg-plist | 46 |
5 files changed, 88 insertions, 0 deletions
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 |