ports/textproc/mxml/Makefile
Tijl Coosemans 9827f3b510 textproc/mxml: Update to 3.3.1
Also add a patch to fix a bounds check problem discovered during an
exp-run for bug 276478.

PR:		276478
2024-02-29 21:21:34 +01:00

29 lines
682 B
Makefile

PORTNAME= mxml
DISTVERSION= 3.3.1
CATEGORIES= textproc
MASTER_SITES= https://github.com/michaelrsweet/mxml/releases/download/v${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Small XML parsing library
WWW= http://www.minixml.org/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_LDCONFIG= yes
DESTDIRNAME= DSTROOT
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
MAKE_ARGS= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_MAN="${INSTALL_MAN}"
TEST_TARGET= test
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^\.SILENT/d' -e '/(INSTALL_LIB) libmxml.a/ s/_LIB/_DATA/' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>