diff --git a/cad/Clipper2/Makefile b/cad/Clipper2/Makefile new file mode 100644 index 000000000000..6877c275f643 --- /dev/null +++ b/cad/Clipper2/Makefile @@ -0,0 +1,25 @@ +PORTNAME= Clipper2 +DISTVERSION= 1.4.0 +#PORTREVISION= 1 +CATEGORIES= cad + +MAINTAINER= mr@freebsd.org +COMMENT= A Polygon Clipping and Offsetting library (in C++, C# & Delphi) +WWW= https://github.com/AngusJohnson/Clipper2 + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= AngusJohnson google:gtest +GH_PROJECT= googletest:gtest +GH_TAGNAME= 2b665ac 71815bb:gtest +GH_SUBDIR= CPP/Tests/googletest:gtest + +CMAKE_SOURCE_PATH= ${WRKSRC}/CPP +#CMAKE_ON= +CMAKE_OFF= INSTALL_GTEST + +.include diff --git a/cad/Clipper2/distinfo b/cad/Clipper2/distinfo new file mode 100644 index 000000000000..4326887a1487 --- /dev/null +++ b/cad/Clipper2/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1728687615 +SHA256 (AngusJohnson-Clipper2-1.4.0-2b665ac_GH0.tar.gz) = bf1553e085ebcfc501884a56087580b2a5b2ffa14826700b67489bcc3af79c19 +SIZE (AngusJohnson-Clipper2-1.4.0-2b665ac_GH0.tar.gz) = 619495 +SHA256 (google-googletest-71815bb_GH0.tar.gz) = 386281d4eddb10c6cf5f93ee02d56793fb075138cb584ca31b1e70ab38c7678c +SIZE (google-googletest-71815bb_GH0.tar.gz) = 873787 diff --git a/cad/Clipper2/pkg-descr b/cad/Clipper2/pkg-descr new file mode 100644 index 000000000000..e3e2252a5fd8 --- /dev/null +++ b/cad/Clipper2/pkg-descr @@ -0,0 +1,5 @@ +The Clipper2 library performs intersection, +union, difference and XOR boolean operations on both simple and complex polygons. +It also performs polygon offsetting. +This is a major update of my original Clipper library that was written over 10 years ago. +That library I'm now calling Clipper1, and while it still works very well, Clipper2 is better in just about every way. diff --git a/cad/Clipper2/pkg-plist b/cad/Clipper2/pkg-plist new file mode 100644 index 000000000000..70f0f448017f --- /dev/null +++ b/cad/Clipper2/pkg-plist @@ -0,0 +1,16 @@ +include/clipper2/clipper.core.h +include/clipper2/clipper.engine.h +include/clipper2/clipper.export.h +include/clipper2/clipper.h +include/clipper2/clipper.minkowski.h +include/clipper2/clipper.offset.h +include/clipper2/clipper.rectclip.h +include/clipper2/clipper.version.h +lib/cmake/clipper2/Clipper2Config.cmake +lib/cmake/clipper2/Clipper2ConfigVersion.cmake +lib/cmake/clipper2/Clipper2Targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/clipper2/Clipper2Targets.cmake +lib/libClipper2.a +lib/libClipper2Z.a +libdata/pkgconfig/Clipper2.pc +libdata/pkgconfig/Clipper2Z.pc diff --git a/cad/Makefile b/cad/Makefile index 1e4d7e8b0008..7f604861af7f 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -1,164 +1,166 @@ 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 += caneda SUBDIR += cascade SUBDIR += cascade-compiler SUBDIR += chipvault SUBDIR += csxcad SUBDIR += cura SUBDIR += cura-engine SUBDIR += cvc 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 += impact 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 += libbgcode SUBDIR += libgdsii SUBDIR += libopencad SUBDIR += librecad SUBDIR += libredwg SUBDIR += librepcb SUBDIR += librnd SUBDIR += logisim SUBDIR += magic SUBDIR += meshdev SUBDIR += meshlab SUBDIR += netgen SUBDIR += netgen-lvs SUBDIR += ngspice_rework SUBDIR += nvc 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-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 += scotch SUBDIR += silice SUBDIR += solvespace SUBDIR += sp2sp SUBDIR += spice SUBDIR += stepcode SUBDIR += stm32flash SUBDIR += sumo SUBDIR += surelog SUBDIR += svlint SUBDIR += svls SUBDIR += sweethome3d SUBDIR += symbiyosys SUBDIR += tkgate SUBDIR += tochnog SUBDIR += uhdm SUBDIR += uranium SUBDIR += verilator SUBDIR += verilog-mode.el SUBDIR += veroroute SUBDIR += veryl SUBDIR += xcircuit SUBDIR += xyce SUBDIR += yosys SUBDIR += yosys-ghdl-plugin SUBDIR += yosys-systemverilog SUBDIR += z88 SUBDIR += zcad .include