diff options
author | Joel Bodenmann <jbo@FreeBSD.org> | 2024-02-23 15:21:30 +0100 |
---|---|---|
committer | Joel Bodenmann <jbo@FreeBSD.org> | 2024-02-23 15:36:43 +0100 |
commit | 8afc025fce0515db8e4c6440aa780ff9737af7ce (patch) | |
tree | 180331a0ab3ae9a76df842efa2eb37cace4ce6e0 /textproc | |
parent | 882edec21f0a7c735d685f24da4ef51c90fdbe3f (diff) | |
download | freebsd-ports-8afc025fce0515db8e4c6440aa780ff9737af7ce.zip |
textproc/tinyxml2: Revert 450aafcba559f95c94c5f195d83b5fe4fdc3748a
Approved by: tcberner (portmgr)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/tinyxml2/Makefile | 27 | ||||
-rw-r--r-- | textproc/tinyxml2/pkg-plist | 7 |
2 files changed, 16 insertions, 18 deletions
diff --git a/textproc/tinyxml2/Makefile b/textproc/tinyxml2/Makefile index 1dc724e82cf4..5012b48a08a9 100644 --- a/textproc/tinyxml2/Makefile +++ b/textproc/tinyxml2/Makefile @@ -1,30 +1,28 @@ PORTNAME= tinyxml2 -PORTVERSION= 10.0.0 -PORTREVISION= 1 +DISTVERSION= 10.0.0 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= textproc MAINTAINER= sunpoet@FreeBSD.org COMMENT= Small C++ XML Parser -WWW= https://leethomason.github.io/tinyxml2/ \ - https://github.com/leethomason/tinyxml2 +WWW= https://github.com/leethomason/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 -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 @@ -32,7 +30,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> diff --git a/textproc/tinyxml2/pkg-plist b/textproc/tinyxml2/pkg-plist index d18bc5bb434e..c12561808480 100644 --- a/textproc/tinyxml2/pkg-plist +++ b/textproc/tinyxml2/pkg-plist @@ -1,8 +1,11 @@ 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.10 -lib/libtinyxml2.so.%%PORTVERSION%% +lib/libtinyxml2.so.%%DISTVERSION%% libdata/pkgconfig/tinyxml2.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/dream.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/empty.xml |