freebsd-ports/textproc/tinyxml2/Makefile
Joel Bodenmann 8afc025fce textproc/tinyxml2: Revert 450aafcba5
Approved by:	tcberner (portmgr)
2024-02-23 15:36:43 +01:00

33 lines
738 B
Makefile

PORTNAME= tinyxml2
DISTVERSION= 10.0.0
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= textproc
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Small C++ XML Parser
WWW= https://github.com/leethomason/tinyxml2
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake:testing compiler:c++11-lang cpe dos2unix pathfix
CPE_VENDOR= tinyxml2_project
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= leethomason
CMAKE_TESTING_ON= tinyxml2_BUILD_TESTING
PLIST_SUB= DISTVERSION=${DISTVERSION}
CMAKE_OFF= tinyxml2_BUILD_TESTING
CMAKE_ON= BUILD_SHARED_LIBS
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>