mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/tinyxml2: Switch back to CMake
Consumers depends on .cmake files (helpers) and currently the most reliable way to generate these. While at it utilize cmake:testing and apply some Makefile changes PR: 284806, 285300 Approved by: portmgr (PR 284806)
This commit is contained in:
parent
0d3fd1df08
commit
dfc35ba82f
3 changed files with 14 additions and 13 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= tinyxml2
|
||||
PORTVERSION= 11.0.0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc
|
||||
|
||||
|
@ -11,19 +12,19 @@ WWW= https://leethomason.github.io/tinyxml2/ \
|
|||
LICENSE= ZLIB
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= compiler:c++11-lang cpe dos2unix meson pathfix
|
||||
|
||||
MESON_ARGS= --default-library=both \
|
||||
-Ddebug=false \
|
||||
-Dtests=true
|
||||
USES= cmake:testing compiler:c++11-lang cpe dos2unix pathfix
|
||||
CPE_VENDOR= tinyxml2_project
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= leethomason
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
GH_ACCOUNT= leethomason
|
||||
USE_GITHUB= yes
|
||||
CMAKE_TESTING_ON= tinyxml2_BUILD_TESTING
|
||||
|
||||
CPE_VENDOR= tinyxml2_project
|
||||
CMAKE_OFF= tinyxml2_BUILD_TESTING
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
|
@ -31,7 +32,4 @@ post-install-EXAMPLES-on:
|
|||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
||||
cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/ && _build/xmltest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1742340913
|
||||
TIMESTAMP = 1744978776
|
||||
SHA256 (leethomason-tinyxml2-11.0.0_GH0.tar.gz) = 5556deb5081fb246ee92afae73efd943c889cef0cafea92b0b82422d6a18f289
|
||||
SIZE (leethomason-tinyxml2-11.0.0_GH0.tar.gz) = 642878
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
include/tinyxml2.h
|
||||
lib/libtinyxml2.a
|
||||
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.so
|
||||
lib/libtinyxml2.so.11
|
||||
lib/libtinyxml2.so.%%PORTVERSION%%
|
||||
|
|
Loading…
Add table
Reference in a new issue