mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
textproc/libxml++: resurrect^Wreadd the port and update to version 5.0.1
Keep the VERSION vs. API_VERSION separation for the time being to remain consistent with the `textproc/libxml++26' port. Install both static and shared libraries for the same reason. PR: 264699
This commit is contained in:
parent
4dbbcdb446
commit
edda354952
1
MOVED
1
MOVED
@ -4916,7 +4916,6 @@ www/libghttp||2013-10-07|Component of the obsolete gnome1
|
||||
deskutils/gworkspace-clipbook||2013-10-07|Replaced by tabbed shelf in GWorkspace
|
||||
audio/yamt||2013-10-07|Depends on EOLed gnome1 libraries
|
||||
astro/nova||2013-10-07|Development ceased 8 years ago, depends on some gnome1 libraries
|
||||
textproc/libxml++||2013-10-07|Component of the obsolete gnome1
|
||||
devel/linux-f10-libglade|devel/linux-f10-libglade2|2013-10-07|Unused
|
||||
textproc/linux-f10-libxml|textproc/linux-f10-libxml2|2013-10-07|Unused
|
||||
www/moodle23||2013-10-08|Has expired: Unmaintained upstream
|
||||
|
@ -405,6 +405,7 @@
|
||||
SUBDIR += libwps
|
||||
SUBDIR += libwps03
|
||||
SUBDIR += libxdiff
|
||||
SUBDIR += libxml++
|
||||
SUBDIR += libxml++26
|
||||
SUBDIR += libxml2
|
||||
SUBDIR += libxmlb
|
||||
|
21
textproc/libxml++/Makefile
Normal file
21
textproc/libxml++/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
||||
|
||||
PORTNAME= libxml++
|
||||
PORTVERSION= 5.0.1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= GNOME
|
||||
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
|
||||
|
||||
MAINTAINER= jcfyecrayz@liamekaens.com
|
||||
COMMENT= XML API for C++
|
||||
|
||||
LICENSE= LGPL21+
|
||||
|
||||
USES= gnome meson pkgconfig tar:xz
|
||||
USE_GNOME= libxml2
|
||||
USE_LDCONFIG= yes
|
||||
MESON_ARGS= -Ddefault_library=both
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION:R} API_VERSION=${PORTVERSION:R}
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/libxml++/distinfo
Normal file
3
textproc/libxml++/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1622112113
|
||||
SHA256 (libxml++-5.0.1.tar.xz) = 15c38307a964fa6199f4da6683a599eb7e63cc89198545b36349b87cf9aa0098
|
||||
SIZE (libxml++-5.0.1.tar.xz) = 779760
|
8
textproc/libxml++/files/patch-libxml++.pc.in
Normal file
8
textproc/libxml++/files/patch-libxml++.pc.in
Normal file
@ -0,0 +1,8 @@
|
||||
--- libxml++.pc.in.orig 2021-05-27 10:36:45 UTC
|
||||
+++ libxml++.pc.in
|
||||
@@ -16,4 +16,4 @@ Libs: -L${libdir} -lxml++@MSVC_TOOLSET_VER@-@LIBXMLXX_
|
||||
URL: https://libxmlplusplus.github.io/libxmlplusplus/
|
||||
Requires: @LIBXMLXX_MODULES@
|
||||
Libs: -L${libdir} -lxml++@MSVC_TOOLSET_VER@-@LIBXMLXX_API_VERSION@ @LIBXML2_LIB_NO_PKGCONFIG@
|
||||
-Cflags: -I${includedir}/@LIBXMLXX_MODULE_NAME@ -I${libdir}/@LIBXMLXX_MODULE_NAME@/include
|
||||
+Cflags: -I${includedir}/@LIBXMLXX_MODULE_NAME@ -I${includedir}/@LIBXMLXX_MODULE_NAME@/include
|
20
textproc/libxml++/files/patch-meson.build
Normal file
20
textproc/libxml++/files/patch-meson.build
Normal file
@ -0,0 +1,20 @@
|
||||
--- meson.build.orig 2021-05-27 10:36:45 UTC
|
||||
+++ meson.build
|
||||
@@ -44,7 +44,7 @@ is_msvc = cpp_compiler.get_id() == 'msvc'
|
||||
|
||||
cpp_compiler = meson.get_compiler('cpp')
|
||||
is_msvc = cpp_compiler.get_id() == 'msvc'
|
||||
-python3 = import('python').find_installation('python3')
|
||||
+python3 = import('python').find_installation()
|
||||
|
||||
python_version = python3.language_version()
|
||||
python_version_req = '>= 3.5'
|
||||
@@ -290,7 +290,7 @@ configure_file(
|
||||
install_dir: install_pkgconfigdir,
|
||||
)
|
||||
|
||||
-install_includeconfigdir = install_libdir / xmlxx_pcname / 'include'
|
||||
+install_includeconfigdir = install_includedir / xmlxx_pcname / 'include'
|
||||
xmlxxconfig_h = configure_file(
|
||||
input: 'libxml++config.h.meson',
|
||||
output: 'libxml++config.h',
|
8
textproc/libxml++/pkg-descr
Normal file
8
textproc/libxml++/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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.
|
||||
|
||||
libxml++-5.0 (ABI version 5.0) does not depend on glibmm, is not as
|
||||
good at handling UTF-8 strings, but has fewer dependencies.
|
||||
|
||||
WWW: http://libxmlplusplus.sourceforge.net/
|
47
textproc/libxml++/pkg-plist
Normal file
47
textproc/libxml++/pkg-plist
Normal file
@ -0,0 +1,47 @@
|
||||
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++/ustring.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.1
|
||||
lib/libxml++-%%VERSION%%.so.1.0.0
|
||||
libdata/pkgconfig/libxml++-%%API_VERSION%%.pc
|
Loading…
Reference in New Issue
Block a user