- Update to 4.4
- Add GUI option [1] PR: 192896 [1] Submitted by: Robert Kruus<robert.kruus@utoronto.ca> [1]
This commit is contained in:
parent
3aff526f34
commit
6420db7e4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370056
@ -2,10 +2,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cgal
|
||||
PORTVERSION= 4.3
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 4.4
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://gforge.inria.fr/frs/download.php/32997/
|
||||
MASTER_SITES= http://gforge.inria.fr/frs/download.php/33524/
|
||||
DISTNAME= CGAL-${PORTVERSION}
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
@ -16,16 +15,32 @@ LICENSE_COMB= multi
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs
|
||||
RUN_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs
|
||||
LIB_DEPENDS= libGLU.so:${PORTSDIR}/graphics/libGLU \
|
||||
libgmp.so:${PORTSDIR}/math/gmp \
|
||||
libmpfr.so:${PORTSDIR}/math/mpfr
|
||||
LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr \
|
||||
libgmp.so:${PORTSDIR}/math/gmp
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
USES= cmake tar:bzip2
|
||||
USE_QT4= corelib opengl qmake_build gui moc_build rcc_build uic_build
|
||||
USES= cmake tar:bzip2 shebangfix
|
||||
SHEBANG_FILES= scripts/cgal_create_CMakeLists
|
||||
HAS_CONFIGURE= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
OPTIONS_DEFINE= GUI
|
||||
OPTIONS_DEFAULT= GUI
|
||||
GUI_DESC= Build libCGAL_ImageIO and libCGAL_Qt4
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGUI}
|
||||
USE_QT4= corelib qmake_build moc_build rcc_build uic_build gui opengl
|
||||
LIB_DEPENDS+= libGLU.so:${PORTSDIR}/graphics/libGLU
|
||||
CMAKE_ARGS= -DWITH_CGAL_Qt3=OFF
|
||||
PLIST_SUB+= GUI=""
|
||||
.else
|
||||
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
|
||||
CMAKE_ARGS= -DWITH_CGAL_Qt4=OFF -DWITH_CGAL_ImageIO=OFF -DWITH_CGAL_Qt3=OFF
|
||||
PLIST_SUB+= GUI="@comment "
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/auxiliary/cgal_create_cmake_script.1 ${STAGEDIR}${PREFIX}/man/man1/
|
||||
|
||||
|
@ -1,4 +1,2 @@
|
||||
SHA256 (CGAL-4.3.tar.bz2) = a255361b9edc85b468a0a6d2de429314923698166429e77ad5ce08d628905ca4
|
||||
SIZE (CGAL-4.3.tar.bz2) = 13297660
|
||||
SHA256 (CGAL-4.3-doc_html.tar.bz2) = 5d73b2abb24f5b4c65c0bfcdb3c3167c8c897bd71f09a8841980e6a8dbb50a08
|
||||
SIZE (CGAL-4.3-doc_html.tar.bz2) = 21052184
|
||||
SHA256 (CGAL-4.4.tar.bz2) = 454633765d2f6c95a539612fad679dab9c24f91dbcb4141bc555e8f21d89ffed
|
||||
SIZE (CGAL-4.4.tar.bz2) = 13762324
|
||||
|
5230
math/cgal/pkg-plist
5230
math/cgal/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user