mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
cad/Clipper2: Build shared lib
Switch to shared library and improve port Bump PORTREVISION PR: 282056 Reported by: Daniel Engberg zzy@
This commit is contained in:
parent
ca63da4a69
commit
ac1e9fccf8
5 changed files with 21 additions and 20 deletions
|
@ -1,25 +1,24 @@
|
||||||
PORTNAME= Clipper2
|
PORTNAME= Clipper2
|
||||||
DISTVERSION= 1.4.0
|
DISTVERSION= 1.4.0
|
||||||
#PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
|
MASTER_SITES= https://github.com/AngusJohnson/${PORTNAME}/releases/download/${PORTNAME}_${DISTVERSION}/
|
||||||
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
||||||
|
|
||||||
MAINTAINER= mr@freebsd.org
|
MAINTAINER= mr@freebsd.org
|
||||||
COMMENT= A Polygon Clipping and Offsetting library (in C++, C# & Delphi)
|
COMMENT= A Polygon Clipping and Offsetting library (in C++, C# & Delphi)
|
||||||
WWW= https://github.com/AngusJohnson/Clipper2
|
WWW= https://github.com/AngusJohnson/Clipper2
|
||||||
|
|
||||||
LICENSE= BSL
|
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
|
WRKSRC_SUBDIR= CPP
|
||||||
GH_ACCOUNT= AngusJohnson google:gtest
|
NO_WRKSUBDIR= yes
|
||||||
GH_PROJECT= googletest:gtest
|
|
||||||
GH_TAGNAME= 2b665ac 71815bb:gtest
|
|
||||||
GH_SUBDIR= CPP/Tests/googletest:gtest
|
|
||||||
|
|
||||||
CMAKE_SOURCE_PATH= ${WRKSRC}/CPP
|
CMAKE_OFF= CLIPPER2_EXAMPLES \
|
||||||
#CMAKE_ON=
|
CLIPPER2_TESTS
|
||||||
CMAKE_OFF= INSTALL_GTEST
|
CMAKE_ON= BUILD_SHARED_LIBS
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
TIMESTAMP = 1728687615
|
TIMESTAMP = 1728819583
|
||||||
SHA256 (AngusJohnson-Clipper2-1.4.0-2b665ac_GH0.tar.gz) = bf1553e085ebcfc501884a56087580b2a5b2ffa14826700b67489bcc3af79c19
|
SHA256 (Clipper2_1.4.0.zip) = c327d65a9bc4970f5793cc5460756fc6a51d9233ad1941a303435d154f80accb
|
||||||
SIZE (AngusJohnson-Clipper2-1.4.0-2b665ac_GH0.tar.gz) = 619495
|
SIZE (Clipper2_1.4.0.zip) = 1144261
|
||||||
SHA256 (google-googletest-71815bb_GH0.tar.gz) = 386281d4eddb10c6cf5f93ee02d56793fb075138cb584ca31b1e70ab38c7678c
|
|
||||||
SIZE (google-googletest-71815bb_GH0.tar.gz) = 873787
|
|
||||||
|
|
|
@ -10,7 +10,11 @@ lib/cmake/clipper2/Clipper2Config.cmake
|
||||||
lib/cmake/clipper2/Clipper2ConfigVersion.cmake
|
lib/cmake/clipper2/Clipper2ConfigVersion.cmake
|
||||||
lib/cmake/clipper2/Clipper2Targets-%%CMAKE_BUILD_TYPE%%.cmake
|
lib/cmake/clipper2/Clipper2Targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||||
lib/cmake/clipper2/Clipper2Targets.cmake
|
lib/cmake/clipper2/Clipper2Targets.cmake
|
||||||
lib/libClipper2.a
|
lib/libClipper2.so
|
||||||
lib/libClipper2Z.a
|
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/Clipper2.pc
|
||||||
libdata/pkgconfig/Clipper2Z.pc
|
libdata/pkgconfig/Clipper2Z.pc
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= openscad
|
PORTNAME= openscad
|
||||||
PORTVERSION= 2024.10.11
|
PORTVERSION= 2024.10.11
|
||||||
#PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
PKGNAMESUFFIX= -devel
|
PKGNAMESUFFIX= -devel
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= openscad
|
PORTNAME= openscad
|
||||||
PORTVERSION= 2024.10.11
|
PORTVERSION= 2024.10.11
|
||||||
#PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
|
|
||||||
#PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
#PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||||
|
|
Loading…
Add table
Reference in a new issue