git: 54da5873f3c9 - main - cad/appcsxcad: Update 0.2.2-7 -> 0.2.2-9

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 26 Jun 2022 21:37:39 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=54da5873f3c92727d8bd4f581204d904243902b2

commit 54da5873f3c92727d8bd4f581204d904243902b2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-26 21:34:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-26 21:37:34 +0000

    cad/appcsxcad: Update 0.2.2-7 -> 0.2.2-9
---
 cad/appcsxcad/Makefile | 20 +++++++++-----------
 cad/appcsxcad/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/cad/appcsxcad/Makefile b/cad/appcsxcad/Makefile
index 5b37a7329295..cc252dce0a30 100644
--- a/cad/appcsxcad/Makefile
+++ b/cad/appcsxcad/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	appcsxcad
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.2-7
-DISTVERSIONSUFFIX=	-gde8c271
-PORTREVISION=	1
+DISTVERSION=	0.2.2-9
+DISTVERSIONSUFFIX=	-g97ba30e
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,9 +10,7 @@ COMMENT=	Minimal GUI Application using the QCSXCAD library
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-# many dependencies below are induced by vtk8, but not vtk9
-LIB_DEPENDS=	\
-		libCSXCAD.so:cad/csxcad \
+LIB_DEPENDS=	libCSXCAD.so:cad/csxcad \
 		libexpat.so:textproc/expat2 \
 		libfreetype.so:print/freetype2 \
 		libhdf5.so:science/hdf5 \
@@ -21,7 +18,7 @@ LIB_DEPENDS=	\
 		libQCSXCAD.so:cad/qcsxcad \
 		libsz.so:science/libaec \
 		libtiff.so:graphics/tiff \
-		libvtkCommonCore-8.2.so:math/vtk8 # some related packages don't support vtk9 yet, see https://github.com/thliebig/QCSXCAD/issues/6#issuecomment-901633240
+		libvtkCommonCore-9.1.so:math/vtk9
 
 USES=		cmake jpeg pkgconfig qt:5 xorg
 USE_QT=		core gui sql widgets xml buildtools_build qmake_build
@@ -32,12 +29,13 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	thliebig
 GH_PROJECT=	AppCSXCAD
 
-CMAKE_ARGS=	-DVTK_DIR=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2
+CMAKE_ARGS=	-DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-9.1
 
-PLIST_FILES=	bin/AppCSXCAD \
-		bin/AppCSXCAD.sh
+PLIST_FILES=	bin/AppCSXCAD
 
 post-install:
-	@${REINPLACE_CMD} -i '' -e 's|#!/bin/bash|#!/bin/sh|' ${STAGEDIR}${PREFIX}/bin/AppCSXCAD.sh
+	@${RM} ${STAGEDIR}${PREFIX}/bin/AppCSXCAD.sh # shell script is only needed for Matlab
+
+# an example of file that AppCSXCAD opens (zipped): http://openems.de/forum/download/file.php?id=418&sid=6daebbb2df72b415fa2ec7031ffa6ca9
 
 .include <bsd.port.mk>
diff --git a/cad/appcsxcad/distinfo b/cad/appcsxcad/distinfo
index 621713981ddb..8e3b0330f418 100644
--- a/cad/appcsxcad/distinfo
+++ b/cad/appcsxcad/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629333844
-SHA256 (thliebig-AppCSXCAD-v0.2.2-7-gde8c271_GH0.tar.gz) = 68587ca7609f9cf85d0774d5809ad3dc43363cc3cde67581cb3c439a5a8bdf0f
-SIZE (thliebig-AppCSXCAD-v0.2.2-7-gde8c271_GH0.tar.gz) = 18749
+TIMESTAMP = 1656263778
+SHA256 (thliebig-AppCSXCAD-v0.2.2-9-g97ba30e_GH0.tar.gz) = 51c7da3e8fb91d785e70f5a35ed065937397cdb91c10f85528644b2d86aefddd
+SIZE (thliebig-AppCSXCAD-v0.2.2-9-g97ba30e_GH0.tar.gz) = 18777