Lines 7-13
Link Here
|
7 |
MASTER_SITES=https://github.com/CGAL/cgal/archive/releases/:cgal |
7 |
MASTER_SITES=https://github.com/CGAL/cgal/archive/releases/:cgal |
8 |
DISTFILES=CGAL-5.0.2.tar.gz:cgal |
8 |
DISTFILES=CGAL-5.0.2.tar.gz:cgal |
9 |
|
9 |
|
10 |
MAINTAINER= teodor@sigaev.ru |
10 |
MAINTAINER= teodorsigaev@gmail.com |
11 |
COMMENT= Slicing application for 3D printers |
11 |
COMMENT= Slicing application for 3D printers |
12 |
|
12 |
|
13 |
LICENSE= AGPLv3 |
13 |
LICENSE= AGPLv3 |
Lines 14-19
Link Here
|
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
15 |
|
16 |
LIB_DEPENDS= libtbb.so:devel/tbb \ |
16 |
LIB_DEPENDS= libtbb.so:devel/tbb \ |
|
|
17 |
libboost_log.so:devel/boost-libs \ |
18 |
libHalf-2_4.so:graphics/ilmbase \ |
17 |
libnlopt.so:math/nlopt \ |
19 |
libnlopt.so:math/nlopt \ |
18 |
libwx_gtk3u_core-3.1.so:x11-toolkits/wxgtk31 \ |
20 |
libwx_gtk3u_core-3.1.so:x11-toolkits/wxgtk31 \ |
19 |
libcurl.so:ftp/curl \ |
21 |
libcurl.so:ftp/curl \ |
Lines 32-40
Link Here
|
32 |
gmp>=6.1.2:math/gmp \ |
34 |
gmp>=6.1.2:math/gmp \ |
33 |
mpfr>=4.0.2:math/mpfr |
35 |
mpfr>=4.0.2:math/mpfr |
34 |
|
36 |
|
35 |
USES= cmake gettext |
37 |
USES= cmake gettext gl glu iconv |
36 |
|
38 |
|
37 |
CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config |
39 |
CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config \ |
|
|
40 |
-DCGAL_DIR=${WRKSRC}/CGAL/lib/cmake/CGAL |
38 |
CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} |
41 |
CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} |
39 |
|
42 |
|
40 |
USE_GITHUB= yes |
43 |
USE_GITHUB= yes |
Lines 45-51
Link Here
|
45 |
${REINPLACE_CMD} -e 's,%%WRKSRC%%,${WRKSRC},' \ |
48 |
${REINPLACE_CMD} -e 's,%%WRKSRC%%,${WRKSRC},' \ |
46 |
${WRKSRC}/CMakeLists.txt |
49 |
${WRKSRC}/CMakeLists.txt |
47 |
|
50 |
|
48 |
pre-build: |
51 |
pre-configure: |
49 |
cd ${WRKDIR}/cgal-releases-CGAL-5.0.2 && \ |
52 |
cd ${WRKDIR}/cgal-releases-CGAL-5.0.2 && \ |
50 |
${CMAKE_BIN} -E remove CGALConfig-installation-dirs.cmake && \ |
53 |
${CMAKE_BIN} -E remove CGALConfig-installation-dirs.cmake && \ |
51 |
${MKDIR} build && cd build && \ |
54 |
${MKDIR} build && cd build && \ |