diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 950bd399c056..d1b2b8f2099c 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -1,73 +1,73 @@ PORTNAME= libxml2 -DISTVERSION= 2.9.13 -PORTREVISION?= 2 +DISTVERSION= 2.9.14 +PORTREVISION?= 0 CATEGORIES?= textproc gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${DISTVERSION:R}/ DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT?= XML parser library for GNOME LICENSE= MIT # Upstream offers CMake in addition to autotools, but we use the latter. # CMake is a heavy build system, heavier than autotools, and this # port has many consumers of its core functionality. Some such # consumers, especially when optioned appropriately (and users have # a right to do so), may become dependencies of dependencies of CMake. # Additionally, some consumers rely on symbol versioning that CMake # does not support (as of Q2 2022) without a hack. Please consider the # effects of the ecosystem and technical merits before considering # switching build systems again. Any changes to this end not dogfooded # thoroughly may be reverted. USES+= cpe iconv libtool localbase pathfix pkgconfig tar:xz CPE_VENDOR= xmlsoft GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB+= LIBVERSION=${DISTVERSION} # Don't build with Python support unless requested CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-lzma=/usr \ --${LIBXML2_SLAVE:Dwith:Uwithout}-python${LIBXML2_SLAVE:D=${PYTHON_CMD}:U} OPTIONS_DEFINE= DOCS ICU MEM_DEBUG READLINE THREAD_ALLOC OPTIONS_DEFAULT= READLINE OPTIONS_SUB= yes MEM_DEBUG_DESC= Memory debugging (DEVELOPERS ONLY!) READLINE_DESC= History for xmllint THREAD_ALLOC_DESC= Per-thread memory (DEVELOPERS ONLY!) ICU_LIB_DEPENDS= libicudata.so:devel/icu ICU_CONFIGURE_WITH= icu MEM_DEBUG_CONFIGURE_WITH= mem-debug READLINE_LIB_DEPENDS= libreadline.so:devel/readline READLINE_CONFIGURE_WITH= history \ readline THREAD_ALLOC_CONFIGURE_WITH= thread-alloc post-patch: .for f in catalog.c xmlcatalog.c xmllint.c doc/xmllint.1 @${REINPLACE_CMD} -e \ 's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \ s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' \ ${WRKSRC}/${f} .endfor .if !defined(LIBXML2_SLAVE) post-install: # Documentation should be in DOCSDIR @${MV} ${STAGEDIR}${PREFIX}/share/gtk-doc/html/libxml2 \ ${STAGEDIR}${DOCSDIR}/devhelp @${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc # Install remaining documentation that's not connected to autotools ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo index b2e520bd51cf..29f3b2d89177 100644 --- a/textproc/libxml2/distinfo +++ b/textproc/libxml2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648572316 -SHA256 (gnome/libxml2-2.9.13.tar.xz) = 276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e -SIZE (gnome/libxml2-2.9.13.tar.xz) = 3243336 +TIMESTAMP = 1658072133 +SHA256 (gnome/libxml2-2.9.14.tar.xz) = 60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee +SIZE (gnome/libxml2-2.9.14.tar.xz) = 3129968 diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile index 93714d274b25..d88cbcf8f20e 100644 --- a/textproc/py-libxml2/Makefile +++ b/textproc/py-libxml2/Makefile @@ -1,31 +1,31 @@ -PORTREVISION= 5 +PORTREVISION= 0 CATEGORIES= textproc gnome python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= Python interface for XML parser library for GNOME MASTERDIR= ${.CURDIR}/../libxml2 USES+= gettext-runtime gnome python shebangfix USE_GNOME= libxml2 USE_PYTHON= autoplist distutils SHEBANG_FILES= *.py doc/*.py python/*.py python/tests/*.py OPTIONS_EXCLUDE= ${OPTIONS_DEFINE} # Tell master port we're a slave port LIBXML2_SLAVE= python # Grab pkg-descr from slave port DESCR= ${.CURDIR}/pkg-descr BUILD_WRKSRC= ${WRKSRC}/python INSTALL_WRKSRC= ${BUILD_WRKSRC} # Don't append pkg-plist from master port PLIST= DOCSDIR= ${PREFIX}/share/doc/py-libxml2 EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2 do-configure: .include "${MASTERDIR}/Makefile"