Index: head/devel/libsavitar/Makefile =================================================================== --- head/devel/libsavitar/Makefile (revision 534964) +++ head/devel/libsavitar/Makefile (revision 534965) @@ -1,30 +1,27 @@ # $FreeBSD$ PORTNAME= libSavitar DISTVERSION= 4.5.0 +PORTREVISION= 1 CATEGORIES= devel cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= LibSavitar is a c++ implementation of 3mf loading/python bindings LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>0:devel/py-sip@${PY_FLAVOR} +LIB_DEPENDS= libpugixml.so:textproc/pugixml USES= cmake compiler:c++11-lang python:3.4+ USE_GITHUB= yes GH_ACCOUNT= Ultimaker +USE_GITHUB= yes GH_TAGNAME= 96eba0e USE_LDCONFIG= yes - -# need this hack so as not to conflict with pugixml -# XXX TODO rework port to use pugixml instead -post-install: - ${RM} ${STAGEDIR}${PREFIX}/include/pugiconfig.hpp - ${RM} ${STAGEDIR}${PREFIX}/include/pugixml.hpp - ${RM} ${STAGEDIR}${PREFIX}/lib/cmake/pugixml/pugixml-config.cmake - ${RM} ${STAGEDIR}${PREFIX}/lib/libpugixml.a +CFLAGS+= "-I${LOCALBASE}/include" +LDFLAGS+= "-L${LOCALBASE}/lib" .include Index: head/devel/libsavitar/files/patch-CMakeLists.txt =================================================================== --- head/devel/libsavitar/files/patch-CMakeLists.txt (nonexistent) +++ head/devel/libsavitar/files/patch-CMakeLists.txt (revision 534965) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2020-05-11 21:56:56 UTC ++++ CMakeLists.txt +@@ -15,7 +15,7 @@ if(BUILD_TESTS) + find_package(Threads QUIET) + endif() + +-add_subdirectory(pugixml) ++#add_subdirectory(pugixml) + + if(BUILD_PYTHON) + list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) Property changes on: head/devel/libsavitar/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libsavitar/files/patch-src_MeshData.cpp =================================================================== --- head/devel/libsavitar/files/patch-src_MeshData.cpp (nonexistent) +++ head/devel/libsavitar/files/patch-src_MeshData.cpp (revision 534965) @@ -0,0 +1,11 @@ +--- src/MeshData.cpp.orig 2020-05-11 21:53:20 UTC ++++ src/MeshData.cpp +@@ -17,7 +17,7 @@ + */ + + #include "MeshData.h" +-#include "../pugixml/src/pugixml.hpp" ++#include + #include + #include + #include //For std::runtime_error. Property changes on: head/devel/libsavitar/files/patch-src_MeshData.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libsavitar/files/patch-src_Namespace.cpp =================================================================== --- head/devel/libsavitar/files/patch-src_Namespace.cpp (nonexistent) +++ head/devel/libsavitar/files/patch-src_Namespace.cpp (revision 534965) @@ -0,0 +1,11 @@ +--- src/Namespace.cpp.orig 2020-05-11 21:53:27 UTC ++++ src/Namespace.cpp +@@ -3,7 +3,7 @@ + + #include "Namespace.h" + +-#include "../pugixml/src/pugixml.hpp" ++#include + + namespace xml_namespace + { Property changes on: head/devel/libsavitar/files/patch-src_Namespace.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libsavitar/files/patch-src_SceneNode.cpp =================================================================== --- head/devel/libsavitar/files/patch-src_SceneNode.cpp (nonexistent) +++ head/devel/libsavitar/files/patch-src_SceneNode.cpp (revision 534965) @@ -0,0 +1,11 @@ +--- src/SceneNode.cpp.orig 2020-05-11 21:53:40 UTC ++++ src/SceneNode.cpp +@@ -18,7 +18,7 @@ + + #include "SceneNode.h" + #include "Namespace.h" +-#include "../pugixml/src/pugixml.hpp" ++#include + #include + using namespace Savitar; + Property changes on: head/devel/libsavitar/files/patch-src_SceneNode.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libsavitar/pkg-plist =================================================================== --- head/devel/libsavitar/pkg-plist (revision 534964) +++ head/devel/libsavitar/pkg-plist (revision 534965) @@ -1,18 +1,17 @@ include/Savitar/Face.h include/Savitar/MeshData.h include/Savitar/Namespace.h include/Savitar/SavitarExport.h include/Savitar/Scene.h include/Savitar/SceneNode.h include/Savitar/ThreeMFParser.h include/Savitar/Types.h include/Savitar/Vertex.h lib/cmake/Savitar/Savitar-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/Savitar/Savitar-targets.cmake lib/cmake/Savitar/SavitarConfig.cmake lib/cmake/Savitar/SavitarConfigVersion.cmake -lib/cmake/pugixml/pugixml-config-%%CMAKE_BUILD_TYPE%%.cmake lib/libSavitar.so lib/libSavitar.so.0 lib/libSavitar.so.0.1.1 %%PYTHON_SITELIBDIR%%/Savitar.so Property changes on: head/devel/libsavitar/pkg-plist ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +1 \ No newline at end of property