textproc/xmlstarlet: Improve port and fix build with libxml2 2.14
- Switch from PORTVERSION to DISTVERSION as recommended by Porters Handbook
- Import patches from Debian for various fixes [1]
- Import patch from Gentoo to fix build with new versions of libxml2 and libxslt [2]
- Remove GNU_CONFIGURE_MANPREFIX
- Rework Makefile for better readability and to follow Porters Handbook more closely
- Unbreak with libxml2 2.14 [3]
References:
[1]
https://sources.debian.org/patches/xmlstarlet/1.6.1-4/50-fix-format-security.patch/
https://sources.debian.org/patches/xmlstarlet/1.6.1-4/60-avoid-silent-rules.patch/
https://sources.debian.org/patches/xmlstarlet/1.6.1-4/70-remove-link-usr-lib.patch/
https://sources.debian.org/patches/xmlstarlet/1.6.1-4/80-fix-unesc-dquot.patch/
https://sources.debian.org/patches/xmlstarlet/1.6.1-4/90-fix-upstream-version.patch/
https://sources.debian.org/patches/xmlstarlet/1.6.1-4/pkg-config.patch/
PR: 279976
Tested by: George Mitchell <george@m5p.com>
Approved by: maintainer timeout, 3 weeks