diff --git a/cad/Makefile b/cad/Makefile index f9be96e73d93..743803b6f436 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -1,168 +1,169 @@ COMMENT = CAD tools SUBDIR += Clipper2 SUBDIR += PrusaSlicer SUBDIR += abc SUBDIR += admesh SUBDIR += adms SUBDIR += alliance SUBDIR += antimony SUBDIR += apio SUBDIR += appcsxcad SUBDIR += archimedes SUBDIR += astk-client SUBDIR += astk-serveur SUBDIR += atlc SUBDIR += brlcad SUBDIR += calculix SUBDIR += calculix-ccx SUBDIR += camotics SUBDIR += camv-rnd 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 += freecad-devel SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gds3d SUBDIR += gdscpp SUBDIR += gdsreader SUBDIR += gdstk SUBDIR += gdt SUBDIR += geda SUBDIR += gerbv SUBDIR += ghdl SUBDIR += gmsh SUBDIR += gnucap SUBDIR += gplcver SUBDIR += graywolf SUBDIR += gspiceui SUBDIR += gtkwave SUBDIR += horizon-eda SUBDIR += hs-verismith SUBDIR += ifcopenshell SUBDIR += irsim SUBDIR += iverilog 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 += lib3mf SUBDIR += libbgcode SUBDIR += libgdsii SUBDIR += libopencad SUBDIR += librecad SUBDIR += libredwg SUBDIR += librepcb SUBDIR += librnd SUBDIR += logisim SUBDIR += magic SUBDIR += meshdev SUBDIR += netgen SUBDIR += netgen-lvs SUBDIR += ngspice_rework SUBDIR += nvc + SUBDIR += OrcaSlicer SUBDIR += opencascade SUBDIR += opencascade740 SUBDIR += openctm SUBDIR += openfpgaloader SUBDIR += openroad SUBDIR += openscad SUBDIR += openscad-devel SUBDIR += opentimer SUBDIR += openvsp SUBDIR += oregano SUBDIR += p5-GDS2 SUBDIR += p5-Verilog-Perl SUBDIR += padring SUBDIR += pcb SUBDIR += pcb-rnd SUBDIR += pdnmesh SUBDIR += py-amaranth SUBDIR += py-cocotb SUBDIR += py-csxcad SUBDIR += py-edalize SUBDIR += py-ezdxf SUBDIR += py-gdspy SUBDIR += py-gdstk SUBDIR += py-gmsh SUBDIR += py-lcapy SUBDIR += py-phidl SUBDIR += py-pyfda SUBDIR += py-pygmsh SUBDIR += py-pymtl SUBDIR += py-pyvcd SUBDIR += py-verilog-parser SUBDIR += py-vunit-hdl SUBDIR += python-gdsii SUBDIR += qcad SUBDIR += qcsxcad SUBDIR += qelectrotech SUBDIR += qflow SUBDIR += qmls SUBDIR += qrouter SUBDIR += qspeakers SUBDIR += qucs-s SUBDIR += qucsator SUBDIR += repsnapper SUBDIR += rubygem-gdsii SUBDIR += sch-rnd SUBDIR += scotch SUBDIR += silice SUBDIR += solvespace SUBDIR += sp2sp SUBDIR += spice SUBDIR += stepcode SUBDIR += stm32flash SUBDIR += sumo SUBDIR += surelog SUBDIR += surfer SUBDIR += svlint SUBDIR += svls SUBDIR += sweethome3d SUBDIR += symbiyosys SUBDIR += tochnog SUBDIR += uhdm SUBDIR += uranium SUBDIR += verilator SUBDIR += verilog-mode.el SUBDIR += veroroute SUBDIR += veryl SUBDIR += xcircuit SUBDIR += xschem SUBDIR += xyce SUBDIR += yosys SUBDIR += yosys-ghdl-plugin SUBDIR += yosys-systemverilog SUBDIR += z88 SUBDIR += zcad .include diff --git a/cad/OrcaSlicer/Makefile b/cad/OrcaSlicer/Makefile new file mode 100644 index 000000000000..8742c8616688 --- /dev/null +++ b/cad/OrcaSlicer/Makefile @@ -0,0 +1,59 @@ +PORTNAME= OrcaSlicer +DISTVERSIONPREFIX=v +DISTVERSION= 2.3.1 +CATEGORIES= cad + +MAINTAINER= bapt@FreeBSD.org +COMMENT= Slicing Software for Precision 3D Prints +WWW= https://www.orcaslicer.com + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= cereal>=0:devel/cereal \ + cgal>=0:math/cgal + +LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ + libcurl.so:ftp/curl \ + libdbus-1.so:devel/dbus \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libglfw.so:graphics/glfw \ + libnlopt.so:math/nlopt \ + libnoise.so:audio/libnoise \ + libopencv_core.so:graphics/opencv \ + libopenvdb.so:misc/openvdb \ + libpango-1.0.so:x11-toolkits/pango \ + libpng16.so:graphics/png \ + libsecret-1.so:security/libsecret \ + libspnav.so:misc/libspnav \ + libtbb.so:devel/onetbb \ + libTKernel.so:cad/opencascade \ + libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \ + libwx_baseu-3.2.so:x11-toolkits/wxgtk32 + +USES= cmake desktop-file-utils gl gnome gstreamer jpeg \ + localbase:ldflags pkgconfig ssl xorg + +USE_GITHUB= yes +GH_ACCOUNT= OrcaSlicer + +USE_GL= gl glew +USE_GNOME= gtk30 +USE_XORG= x11 + +CMAKE_ARGS= -DSLIC3R_FHS=1 \ + -DSLIC3R_GTK=3 \ + -DORCA_TOOLS=1 \ + -DBBL_RELEASE_TO_PUBLIC=1 \ + -DBBL_INTERNAL_TESTING=0 + +CXXFLAGS+= -DwxDEBUG_LEVEL=0 + +post-patch: + ${CP} ${FILESDIR}/hid.c ${WRKSRC}/deps_src/hidapi/linux/hid.c + @${REINPLACE_CMD} -e '/Boost/s| system | |' \ + ${WRKSRC}/CMakeLists.txt + +.include +