diff --git a/cad/Makefile b/cad/Makefile index 31eade51e9f5..dcc804239173 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -1,132 +1,133 @@ COMMENT = CAD tools SUBDIR += NASTRAN-95 SUBDIR += PrusaSlicer SUBDIR += abc SUBDIR += admesh SUBDIR += adms SUBDIR += alliance + SUBDIR += appcsxcad SUBDIR += archimedes SUBDIR += astk-client SUBDIR += astk-serveur SUBDIR += atlc SUBDIR += basicdsp SUBDIR += brlcad SUBDIR += calculix SUBDIR += calculix-ccx SUBDIR += caneda SUBDIR += cascade SUBDIR += cascade-compiler SUBDIR += chipvault SUBDIR += csxcad SUBDIR += cura SUBDIR += cura-engine SUBDIR += digital SUBDIR += dinotrace SUBDIR += ecpprog SUBDIR += electric SUBDIR += electric-ng SUBDIR += fasm SUBDIR += fdm_materials SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freecad SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gdsreader SUBDIR += gdt SUBDIR += geda SUBDIR += gerbv SUBDIR += ghdl SUBDIR += gmsh SUBDIR += gnucap SUBDIR += gplcver SUBDIR += graywolf SUBDIR += gspiceui SUBDIR += gtkwave SUBDIR += horizon-eda SUBDIR += ifcopenshell SUBDIR += impact SUBDIR += irsim SUBDIR += iverilog SUBDIR += jspice3 SUBDIR += k40-whisperer SUBDIR += kicad SUBDIR += kicad-devel SUBDIR += kicad-doc SUBDIR += kicad-library-footprints SUBDIR += kicad-library-footprints-devel SUBDIR += kicad-library-packages3d SUBDIR += kicad-library-packages3d-devel SUBDIR += kicad-library-symbols SUBDIR += kicad-library-symbols-devel SUBDIR += kicad-library-templates SUBDIR += kicad-library-templates-devel SUBDIR += klayout SUBDIR += ktechlab SUBDIR += ldraw SUBDIR += ldview SUBDIR += leocad SUBDIR += lepton-eda SUBDIR += libopencad SUBDIR += librecad SUBDIR += libredwg SUBDIR += librepcb SUBDIR += linux-eagle5 SUBDIR += logisim SUBDIR += magic SUBDIR += meshdev SUBDIR += meshlab SUBDIR += netgen SUBDIR += netgen-lvs SUBDIR += ngspice_rework SUBDIR += nvc SUBDIR += opencascade SUBDIR += openctm SUBDIR += openfpgaloader SUBDIR += openroad SUBDIR += openscad SUBDIR += openscad-devel SUBDIR += openvsp SUBDIR += oregano SUBDIR += p5-GDS2 SUBDIR += p5-Verilog-Perl SUBDIR += pcb SUBDIR += pdnmesh SUBDIR += py-cadquery SUBDIR += py-cq-editor SUBDIR += py-ezdxf SUBDIR += py-gdspy SUBDIR += py-lcapy SUBDIR += py-ocp SUBDIR += py-phidl SUBDIR += py-pyfda SUBDIR += python-gdsii SUBDIR += qcad SUBDIR += qcsxcad SUBDIR += qelectrotech SUBDIR += qflow SUBDIR += qmls SUBDIR += qrouter SUBDIR += repsnapper SUBDIR += rubygem-gdsii SUBDIR += scotch SUBDIR += solvespace SUBDIR += sp2sp SUBDIR += spice SUBDIR += stepcode SUBDIR += stm32flash SUBDIR += sumo SUBDIR += sweethome3d SUBDIR += tkgate SUBDIR += tochnog SUBDIR += uranium SUBDIR += verilator SUBDIR += verilog-mode.el SUBDIR += veroroute SUBDIR += xcircuit SUBDIR += yosys SUBDIR += z88 SUBDIR += zcad .include 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