aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-11-05 13:07:18 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-11-05 13:07:18 +0000
commit3f197bbce4da6ec6f860448653f4a2d2e9b25a11 (patch)
tree96b902f851906fdfe0abf73900726bb1ea96816d
parent131067d9a214456d10e3267225812f0906ab1d4c (diff)
downloadports-3f197bbce4da6ec6f860448653f4a2d2e9b25a11.tar.gz
ports-3f197bbce4da6ec6f860448653f4a2d2e9b25a11.zip
cad/opencascade: fix location of cmake files
PR: 274834 Reported by: yuri
-rw-r--r--cad/opencascade/Makefile7
-rw-r--r--cad/opencascade/pkg-plist34
2 files changed, 23 insertions, 18 deletions
diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index 31c6a86d9bd9..347d5cfbe0d6 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -1,6 +1,6 @@
PORTNAME= opencascade
DISTVERSION= 7.7.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@@ -164,6 +164,11 @@ pre-configure:
post-build-DOXYGEN-on:
(cd ${WRKSRC} && ./gendoc -overview)
+post-stage:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/cmake/OpenCASCADE
+ ${MV} ${STAGEDIR}${PREFIX}/lib/cmake/*.cmake \
+ ${STAGEDIR}${PREFIX}/lib/cmake/OpenCASCADE
+
post-install:
${MV} ${STAGEDIR}${OCCROOT}/bin/DRAWEXE-${DISTVERSION:C/-beta//} ${STAGEDIR}${PREFIX}/bin/DRAWEXE
${RLN} ${STAGEDIR}${PREFIX}/bin/DRAWEXE ${STAGEDIR}${OCCROOT}/bin
diff --git a/cad/opencascade/pkg-plist b/cad/opencascade/pkg-plist
index 35d15c39d3e1..cbc4af492a96 100644
--- a/cad/opencascade/pkg-plist
+++ b/cad/opencascade/pkg-plist
@@ -27620,23 +27620,23 @@ include/OpenCASCADE/math_Uzawa.lxx
include/OpenCASCADE/math_ValueAndWeight.hxx
include/OpenCASCADE/math_Vector.hxx
include/OpenCASCADE/step.tab.hxx
-lib/cmake/OpenCASCADEApplicationFrameworkTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEApplicationFrameworkTargets.cmake
-lib/cmake/OpenCASCADECompileDefinitionsAndFlags-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEConfig.cmake
-lib/cmake/OpenCASCADEConfigVersion.cmake
-lib/cmake/OpenCASCADEDataExchangeTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEDataExchangeTargets.cmake
-lib/cmake/OpenCASCADEDrawTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEDrawTargets.cmake
-lib/cmake/OpenCASCADEFoundationClassesTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEFoundationClassesTargets.cmake
-lib/cmake/OpenCASCADEModelingAlgorithmsTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEModelingAlgorithmsTargets.cmake
-lib/cmake/OpenCASCADEModelingDataTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEModelingDataTargets.cmake
-lib/cmake/OpenCASCADEVisualizationTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/OpenCASCADEVisualizationTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEApplicationFrameworkTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEApplicationFrameworkTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADECompileDefinitionsAndFlags-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEConfig.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEConfigVersion.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEDataExchangeTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEDataExchangeTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEDrawTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEDrawTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEFoundationClassesTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEFoundationClassesTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEModelingAlgorithmsTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEModelingAlgorithmsTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEModelingDataTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEModelingDataTargets.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEVisualizationTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/OpenCASCADE/OpenCASCADEVisualizationTargets.cmake
lib/libTKBO.so
lib/libTKBO.so.%%VE%%
lib/libTKBO.so.%%VER%%