Index: head/textproc/pugixml/Makefile =================================================================== --- head/textproc/pugixml/Makefile (revision 417428) +++ head/textproc/pugixml/Makefile (revision 417429) @@ -1,17 +1,16 @@ # $FreeBSD$ PORTNAME= pugixml -PORTVERSION= 1.6 -PORTREVISION= 1 +PORTVERSION= 1.7 CATEGORIES= textproc MASTER_SITES= http://github.com/zeux/pugixml/releases/download/v${PORTVERSION}/ MAINTAINER= ybungalobill@gmail.com COMMENT= Light-weight, simple and fast XML parser for C++ with XPath support LICENSE= MIT USES= cmake CMAKE_SOURCE_PATH= ${WRKSRC}/scripts .include Index: head/textproc/pugixml/distinfo =================================================================== --- head/textproc/pugixml/distinfo (revision 417428) +++ head/textproc/pugixml/distinfo (revision 417429) @@ -1,2 +1,2 @@ -SHA256 (pugixml-1.6.tar.gz) = 473705c496d45ee6a74f73622b175dfb5dde0de372c4dc61a5acb964516cd9de -SIZE (pugixml-1.6.tar.gz) = 346616 +SHA256 (pugixml-1.7.tar.gz) = fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca +SIZE (pugixml-1.7.tar.gz) = 354472 Index: head/textproc/pugixml/files/patch-scripts_CMakeLists.txt =================================================================== --- head/textproc/pugixml/files/patch-scripts_CMakeLists.txt (revision 417428) +++ head/textproc/pugixml/files/patch-scripts_CMakeLists.txt (revision 417429) @@ -1,26 +1,34 @@ ---- scripts/CMakeLists.txt.orig 2015-03-25 03:19:09 UTC -+++ scripts/CMakeLists.txt -@@ -16,19 +16,16 @@ if(DEFINED BUILD_DEFINES) - add_definitions(${BUILD_DEFINES}) +--- scripts/CMakeLists.txt.orig 2015-10-19 06:15:50.000000000 +0300 ++++ scripts/CMakeLists.txt 2016-06-20 22:08:33.133152000 +0300 +@@ -19,27 +19,19 @@ + endforeach() endif() -if(BUILD_SHARED_LIBS) -- add_library(pugixml SHARED ${SOURCES}) +- add_library(pugixml SHARED ${SOURCES}) -else() -- add_library(pugixml STATIC ${SOURCES}) +- add_library(pugixml STATIC ${SOURCES}) -endif() +- +-# Enable C++11 long long for compilers that are capable of it +-if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1) +- target_compile_features(pugixml PUBLIC cxx_long_long_type) +-endif() +add_library(pugixml SHARED ${SOURCES}) +add_library(pugixml_static STATIC ${SOURCES}) - set_target_properties(pugixml PROPERTIES VERSION 1.6 SOVERSION 1) + set_target_properties(pugixml PROPERTIES VERSION 1.7 SOVERSION 1) +set_target_properties(pugixml_static PROPERTIES OUTPUT_NAME pugixml) -install(TARGETS pugixml EXPORT pugixml-config +install(TARGETS pugixml pugixml_static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml) + + if(BUILD_TESTS) + file(GLOB TEST_SOURCES ../tests/*.cpp) Index: head/textproc/pugixml/pkg-plist =================================================================== --- head/textproc/pugixml/pkg-plist (revision 417428) +++ head/textproc/pugixml/pkg-plist (revision 417429) @@ -1,6 +1,6 @@ include/pugiconfig.hpp include/pugixml.hpp lib/libpugixml.a lib/libpugixml.so lib/libpugixml.so.1 -lib/libpugixml.so.1.6 +lib/libpugixml.so.1.7