mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
- Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/leethomason/tinyxml2/commits/master
33 lines
732 B
Makefile
33 lines
732 B
Makefile
# Created by: b.f. <bf@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tinyxml2
|
|
PORTVERSION= 6.0.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Small C++ XML Parser
|
|
|
|
LICENSE= ZLIB
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=OFF
|
|
USE_LDCONFIG= yes
|
|
USES= cmake dos2unix pathfix
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R:R}
|
|
PORTEXAMPLES= *
|
|
|
|
GH_ACCOUNT= leethomason
|
|
USE_GITHUB= yes
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xmltest && ./xmltest
|
|
|
|
.include <bsd.port.mk>
|