Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 08:46:18 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2432d929bc16 - main - cad/appcsxcad: New port: Minimal GUI Application using the QCSXCAD library
Message-ID:  <202108190846.17J8kIXI021787@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2432d929bc16302b89d4869536aece43389204e4

commit 2432d929bc16302b89d4869536aece43389204e4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-19 08:45:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-19 08:46:12 +0000

    cad/appcsxcad: New port: Minimal GUI Application using the QCSXCAD library
---
 cad/Makefile            |  1 +
 cad/appcsxcad/Makefile  | 42 ++++++++++++++++++++++++++++++++++++++++++
 cad/appcsxcad/distinfo  |  3 +++
 cad/appcsxcad/pkg-descr |  3 +++
 4 files changed, 49 insertions(+)

diff --git a/cad/Makefile b/cad/Makefile
index 31eade51e9f5..dcc804239173 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -6,6 +6,7 @@
     SUBDIR += admesh
     SUBDIR += adms
     SUBDIR += alliance
+    SUBDIR += appcsxcad
     SUBDIR += archimedes
     SUBDIR += astk-client
     SUBDIR += astk-serveur
diff --git a/cad/appcsxcad/Makefile b/cad/appcsxcad/Makefile
new file mode 100644
index 000000000000..bd3f82a76564
--- /dev/null
+++ b/cad/appcsxcad/Makefile
@@ -0,0 +1,42 @@
+PORTNAME=	appcsxcad
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.2-7
+DISTVERSIONSUFFIX=	-gde8c271
+CATEGORIES=	cad
+
+MAINTAINER=	yuri@FreeBSD.org
+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 \
+		libexpat.so:textproc/expat2 \
+		libfreetype.so:print/freetype2 \
+		libhdf5.so:science/hdf5 \
+		libpng16.so:graphics/png \
+		libQCSXCAD.so:cad/qcsxcad \
+		libsz.so:science/szip \
+		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
+
+USES=		cmake jpeg pkgconfig qt:5 xorg
+USE_QT=		core gui sql widgets xml buildtools_build qmake_build
+USE_XORG=	ice sm x11 xext xt
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	thliebig
+GH_PROJECT=	AppCSXCAD
+
+CMAKE_ARGS=	-DVTK_DIR=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2
+
+PLIST_FILES=	bin/AppCSXCAD \
+		bin/AppCSXCAD.sh
+
+post-install:
+	@${REINPLACE_CMD} -i '' -e 's|#!/bin/bash|#!/bin/sh|' ${STAGEDIR}${PREFIX}/bin/AppCSXCAD.sh
+
+.include <bsd.port.mk>
diff --git a/cad/appcsxcad/distinfo b/cad/appcsxcad/distinfo
new file mode 100644
index 000000000000..621713981ddb
--- /dev/null
+++ b/cad/appcsxcad/distinfo
@@ -0,0 +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
diff --git a/cad/appcsxcad/pkg-descr b/cad/appcsxcad/pkg-descr
new file mode 100644
index 000000000000..a90b92a22530
--- /dev/null
+++ b/cad/appcsxcad/pkg-descr
@@ -0,0 +1,3 @@
+AppCSXCAD is a minimal application using the QCSXCAD library.
+
+WWW: https://github.com/thliebig/AppCSXCAD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190846.17J8kIXI021787>