From owner-dev-commits-ports-main@freebsd.org Thu Aug 19 08:46:19 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5547A661374; Thu, 19 Aug 2021 08:46:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gqyzb1HT4z4RGj; Thu, 19 Aug 2021 08:46:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 083AB2216E; Thu, 19 Aug 2021 08:46:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17J8kIub021788; Thu, 19 Aug 2021 08:46:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17J8kIXI021787; Thu, 19 Aug 2021 08:46:18 GMT (envelope-from git) Date: Thu, 19 Aug 2021 08:46:18 GMT Message-Id: <202108190846.17J8kIXI021787@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2432d929bc16 - main - cad/appcsxcad: New port: Minimal GUI Application using the QCSXCAD library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2432d929bc16302b89d4869536aece43389204e4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 08:46:19 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2432d929bc16302b89d4869536aece43389204e4 commit 2432d929bc16302b89d4869536aece43389204e4 Author: Yuri Victorovich AuthorDate: 2021-08-19 08:45:29 +0000 Commit: Yuri Victorovich 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 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