Lines 1-25
Link Here
|
1 |
PORTNAME= Clipper2 |
1 |
PORTNAME= Clipper2 |
2 |
DISTVERSION= 1.4.0 |
2 |
DISTVERSION= 1.4.0 |
3 |
#PORTREVISION= 1 |
|
|
4 |
CATEGORIES= cad |
3 |
CATEGORIES= cad |
|
|
4 |
MASTER_SITES= https://github.com/AngusJohnson/${PORTNAME}/releases/download/${PORTNAME}_${DISTVERSION}/ |
5 |
DISTNAME= ${PORTNAME}_${DISTVERSION} |
5 |
|
6 |
|
6 |
MAINTAINER= mr@freebsd.org |
7 |
MAINTAINER= mr@freebsd.org |
7 |
COMMENT= A Polygon Clipping and Offsetting library (in C++, C# & Delphi) |
8 |
COMMENT= A Polygon Clipping and Offsetting library (in C++, C# & Delphi) |
8 |
WWW= https://github.com/AngusJohnson/Clipper2 |
9 |
WWW= https://github.com/AngusJohnson/Clipper2 |
9 |
|
10 |
|
10 |
LICENSE= BSL |
11 |
LICENSE= BSL |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/../License.txt |
12 |
|
13 |
|
13 |
USES= cmake |
14 |
USES= cmake compiler:c++17-lang dos2unix pathfix zip |
14 |
|
15 |
|
15 |
USE_GITHUB= yes |
16 |
WRKSRC_SUBDIR= CPP |
16 |
GH_ACCOUNT= AngusJohnson google:gtest |
17 |
NO_WRKSUBDIR= yes |
17 |
GH_PROJECT= googletest:gtest |
|
|
18 |
GH_TAGNAME= 2b665ac 71815bb:gtest |
19 |
GH_SUBDIR= CPP/Tests/googletest:gtest |
20 |
|
18 |
|
21 |
CMAKE_SOURCE_PATH= ${WRKSRC}/CPP |
19 |
CMAKE_OFF= CLIPPER2_EXAMPLES \ |
22 |
#CMAKE_ON= |
20 |
CLIPPER2_TESTS |
23 |
CMAKE_OFF= INSTALL_GTEST |
21 |
CMAKE_ON= BUILD_SHARED_LIBS |
24 |
|
22 |
|
25 |
.include <bsd.port.mk> |
23 |
.include <bsd.port.mk> |