mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
textproc/tinyxml2: Update to 10.0.0
Rework Makefile to more closely follow Porters Handbook and utilize framework helpers Changelog: https://github.com/leethomason/tinyxml2/compare/9.0.0...10.0.0 PR: 276061 Approved by: portmgr (maintainer timeout, 2+ weeks)
This commit is contained in:
parent
2566498569
commit
0c022f0fc8
@ -1,5 +1,5 @@
|
||||
PORTNAME= tinyxml2
|
||||
PORTVERSION= 9.0.0
|
||||
DISTVERSION= 10.0.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc
|
||||
|
||||
@ -10,29 +10,23 @@ WWW= https://github.com/leethomason/tinyxml2
|
||||
LICENSE= ZLIB
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= cmake:insource compiler:c++11-lang cpe dos2unix pathfix
|
||||
|
||||
CMAKE_OFF= BUILD_TESTS
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
USES= cmake:testing compiler:c++11-lang cpe dos2unix pathfix
|
||||
CPE_VENDOR= tinyxml2_project
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= leethomason
|
||||
|
||||
GH_ACCOUNT= leethomason
|
||||
USE_GITHUB= yes
|
||||
CMAKE_TESTING_ON= tinyxml2_BUILD_TESTING
|
||||
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
||||
|
||||
CPE_VENDOR= tinyxml2_project
|
||||
CMAKE_OFF= tinyxml2_BUILD_TESTING
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
post-install:
|
||||
${AR} cq ${STAGEDIR}${PREFIX}/lib/libtinyxml2.a ${WRKSRC}/CMakeFiles/tinyxml2.dir/tinyxml2.cpp.o
|
||||
|
||||
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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1623359673
|
||||
SHA256 (leethomason-tinyxml2-9.0.0_GH0.tar.gz) = cc2f1417c308b1f6acc54f88eb70771a0bf65f76282ce5c40e54cfe52952702c
|
||||
SIZE (leethomason-tinyxml2-9.0.0_GH0.tar.gz) = 619734
|
||||
TIMESTAMP = 1704129608
|
||||
SHA256 (leethomason-tinyxml2-10.0.0_GH0.tar.gz) = 3bdf15128ba16686e69bce256cc468e76c7b94ff2c7f391cc5ec09e40bff3839
|
||||
SIZE (leethomason-tinyxml2-10.0.0_GH0.tar.gz) = 642421
|
||||
|
@ -3,10 +3,9 @@ lib/cmake/tinyxml2/tinyxml2-config-version.cmake
|
||||
lib/cmake/tinyxml2/tinyxml2-config.cmake
|
||||
lib/cmake/tinyxml2/tinyxml2-shared-targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/tinyxml2/tinyxml2-shared-targets.cmake
|
||||
lib/libtinyxml2.a
|
||||
lib/libtinyxml2.so
|
||||
lib/libtinyxml2.so.9
|
||||
lib/libtinyxml2.so.%%PORTVERSION%%
|
||||
lib/libtinyxml2.so.10
|
||||
lib/libtinyxml2.so.%%DISTVERSION%%
|
||||
libdata/pkgconfig/tinyxml2.pc
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/dream.xml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/empty.xml
|
||||
|
Loading…
Reference in New Issue
Block a user