diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-04-10 17:25:42 +0800 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-04-10 17:25:42 +0800 |
commit | 0f708dedb5f12dc1cebde1d435e9fa6f7c27e0c5 (patch) | |
tree | 5f8414bb166df4de60af89101c130db30d3bad35 /cad | |
parent | 9d51ad8583c585ed42a023ec9951819e1050bf39 (diff) | |
download | freebsd-ports-gnome-0f708dedb5f12dc1cebde1d435e9fa6f7c27e0c5.tar.gz freebsd-ports-gnome-0f708dedb5f12dc1cebde1d435e9fa6f7c27e0c5.tar.zst freebsd-ports-gnome-0f708dedb5f12dc1cebde1d435e9fa6f7c27e0c5.zip |
cad/PrusaSlicer: fix build
Add devel/CGAL dependency.
While here:
* Change MAINTAINER email
* Add missing LIB_DEPENDS
* Add missing USES
PR: 245418
Submitted by: teodorsigaev@gmail.com (maintainer)
Diffstat (limited to 'cad')
-rw-r--r-- | cad/PrusaSlicer/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index a50a5fd46eea..597e82ffdedb 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -7,13 +7,15 @@ CATEGORIES= cad MASTER_SITES=https://github.com/CGAL/cgal/archive/releases/:cgal DISTFILES=CGAL-5.0.2.tar.gz:cgal -MAINTAINER= teodor@sigaev.ru +MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtbb.so:devel/tbb \ + libboost_log.so:devel/boost-libs \ + libHalf-2_4.so:graphics/ilmbase \ libnlopt.so:math/nlopt \ libwx_gtk3u_core-3.1.so:x11-toolkits/wxgtk31 \ libcurl.so:ftp/curl \ @@ -32,9 +34,10 @@ BUILD_DEPENDS= cereal>=1.2.2:devel/cereal \ gmp>=6.1.2:math/gmp \ mpfr>=4.0.2:math/mpfr -USES= cmake gettext +USES= cmake gettext gl glu iconv -CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config +CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config \ + -DCGAL_DIR=${WRKSRC}/CGAL/lib/cmake/CGAL CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} USE_GITHUB= yes @@ -45,7 +48,7 @@ post-patch: ${REINPLACE_CMD} -e 's,%%WRKSRC%%,${WRKSRC},' \ ${WRKSRC}/CMakeLists.txt -pre-build: +pre-configure: cd ${WRKDIR}/cgal-releases-CGAL-5.0.2 && \ ${CMAKE_BIN} -E remove CGALConfig-installation-dirs.cmake && \ ${MKDIR} build && cd build && \ |