diff --git a/cad/Clipper2/Makefile b/cad/Clipper2/Makefile index 6877c275f643..5b938cee1d94 100644 --- a/cad/Clipper2/Makefile +++ b/cad/Clipper2/Makefile @@ -1,25 +1,24 @@ PORTNAME= Clipper2 DISTVERSION= 1.4.0 -#PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= cad +MASTER_SITES= https://github.com/AngusJohnson/${PORTNAME}/releases/download/${PORTNAME}_${DISTVERSION}/ +DISTNAME= ${PORTNAME}_${DISTVERSION} 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 +LICENSE_FILE= ${WRKSRC}/../License.txt -USES= cmake +USES= cmake compiler:c++17-lang dos2unix pathfix zip -USE_GITHUB= yes -GH_ACCOUNT= AngusJohnson google:gtest -GH_PROJECT= googletest:gtest -GH_TAGNAME= 2b665ac 71815bb:gtest -GH_SUBDIR= CPP/Tests/googletest:gtest +WRKSRC_SUBDIR= CPP +NO_WRKSUBDIR= yes -CMAKE_SOURCE_PATH= ${WRKSRC}/CPP -#CMAKE_ON= -CMAKE_OFF= INSTALL_GTEST +CMAKE_OFF= CLIPPER2_EXAMPLES \ + CLIPPER2_TESTS +CMAKE_ON= BUILD_SHARED_LIBS .include diff --git a/cad/Clipper2/distinfo b/cad/Clipper2/distinfo index 4326887a1487..2c9f3a3efe1c 100644 --- a/cad/Clipper2/distinfo +++ b/cad/Clipper2/distinfo @@ -1,5 +1,3 @@ -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 +TIMESTAMP = 1728819583 +SHA256 (Clipper2_1.4.0.zip) = c327d65a9bc4970f5793cc5460756fc6a51d9233ad1941a303435d154f80accb +SIZE (Clipper2_1.4.0.zip) = 1144261 diff --git a/cad/Clipper2/pkg-plist b/cad/Clipper2/pkg-plist index 70f0f448017f..81676fedb663 100644 --- a/cad/Clipper2/pkg-plist +++ b/cad/Clipper2/pkg-plist @@ -1,16 +1,20 @@ 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 +lib/libClipper2.so +lib/libClipper2.so.1 +lib/libClipper2.so.1.4.0 +lib/libClipper2Z.so +lib/libClipper2Z.so.1 +lib/libClipper2Z.so.1.4.0 libdata/pkgconfig/Clipper2.pc libdata/pkgconfig/Clipper2Z.pc diff --git a/cad/openscad-devel/Makefile b/cad/openscad-devel/Makefile index 0dc0bc577220..4fd19cdf56cf 100644 --- a/cad/openscad-devel/Makefile +++ b/cad/openscad-devel/Makefile @@ -1,60 +1,60 @@ PORTNAME= openscad PORTVERSION= 2024.10.11 -#PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= cad PKGNAMESUFFIX= -devel #PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ #PATCHFILES+= cc49ad8dac24.patch:-p1 MAINTAINER= mr@FreeBSD.org COMMENT= Programmer's solid 3D CAD modeller #' WWW= https://www.openscad.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cgal>0:math/cgal \ evdev-proto>0:devel/evdev-proto \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/include/clipper2/clipper.h:cad/Clipper2 \ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} LIB_DEPENDS= libzip.so:archivers/libzip \ libhidapi.so:comms/hidapi \ libboost_regex.so:devel/boost-libs \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libopencsg.so:graphics/opencsg \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion \ libasound_module_pcm_oss.so:audio/alsa-plugins \ libtbb.so:devel/onetbb CONFLICTS= openscad USES= bison cmake compiler:c++14-lang cpe desktop-file-utils eigen:3 gettext \ gl gnome pkgconfig python qt:5 shared-mime-info xorg USE_GITHUB= yes USE_GL= gl glu glew USE_GNOME= cairo glib20 libxml2 USE_QT= buildtools:build core concurrent:build dbus gui multimedia qmake svg widgets USE_XORG= x11 GH_ACCOUNT= microsoft:mimalloc elalish:manifold arsenm:sanitizerscmake openscad:opencsg GH_PROJECT= MCAD:mcad mimalloc:mimalloc manifold:manifold sanitizers-cmake:sanitizerscmake OpenCSG:opencsg GH_TAGNAME= 19a4d67 bd0a7ba3f042bfbced5ca1894b236cea08904e26:mcad \ fe61be8:mimalloc 22c6605:manifold c3dc841:sanitizerscmake 059a173:opencsg GH_SUBDIR= libraries/MCAD:mcad submodules/mimalloc:mimalloc submodules/manifold:manifold \ submodules/sanitizers-cmake:sanitizerscmake submodules/OpenCSG:opencsg # Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport) CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -Wl,--as-needed -L${LOCALBASE}/lib .include do-install: ${CMAKE_BIN} --install ${BUILD_WRKSRC} --prefix ${STAGEDIR}${PREFIX} .include diff --git a/cad/openscad/Makefile b/cad/openscad/Makefile index b3ed4fe0af64..de4a74e2c71b 100644 --- a/cad/openscad/Makefile +++ b/cad/openscad/Makefile @@ -1,59 +1,59 @@ PORTNAME= openscad PORTVERSION= 2024.10.11 -#PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= cad #PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ #PATCHFILES+= cc49ad8dac24.patch:-p1 MAINTAINER= mr@FreeBSD.org COMMENT= Programmer's solid 3D CAD modeller #' WWW= https://www.openscad.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cgal>0:math/cgal \ evdev-proto>0:devel/evdev-proto \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/include/clipper2/clipper.h:cad/Clipper2 \ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} LIB_DEPENDS= libzip.so:archivers/libzip \ libhidapi.so:comms/hidapi \ libboost_regex.so:devel/boost-libs \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libopencsg.so:graphics/opencsg \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion \ libasound_module_pcm_oss.so:audio/alsa-plugins \ libtbb.so:devel/onetbb CONFLICTS= openscad-devel USES= bison cmake compiler:c++14-lang cpe desktop-file-utils eigen:3 gettext \ gl gnome pkgconfig python qt:5 shared-mime-info xorg USE_GITHUB= yes USE_GL= gl glu glew USE_GNOME= cairo glib20 libxml2 USE_QT= buildtools:build core concurrent:build dbus gui multimedia qmake svg widgets USE_XORG= x11 GH_ACCOUNT= microsoft:mimalloc elalish:manifold arsenm:sanitizerscmake openscad:opencsg GH_PROJECT= MCAD:mcad mimalloc:mimalloc manifold:manifold sanitizers-cmake:sanitizerscmake OpenCSG:opencsg GH_TAGNAME= 19a4d67 bd0a7ba3f042bfbced5ca1894b236cea08904e26:mcad \ fe61be8:mimalloc 22c6605:manifold c3dc841:sanitizerscmake 059a173:opencsg GH_SUBDIR= libraries/MCAD:mcad submodules/mimalloc:mimalloc submodules/manifold:manifold \ submodules/sanitizers-cmake:sanitizerscmake submodules/OpenCSG:opencsg # Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport) CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -Wl,--as-needed -L${LOCALBASE}/lib .include do-install: ${CMAKE_BIN} --install ${BUILD_WRKSRC} --prefix ${STAGEDIR}${PREFIX} .include