cad/opencascade: Do not set VIS_CMAKE_ON twice

Given no feedback to the contrary do the most sensible thing and
merge the two VIS_CMAKE_ON together.

PR:		234700
Approved by:	thierry (maintainer timeout, 2 weeks)
This commit is contained in:
Tobias Kortkamp 2019-01-21 06:09:00 +00:00
parent e515f04cd5
commit 58fc68fb90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490820

View file

@ -3,7 +3,7 @@
PORTNAME= opencascade
PORTVERSION= 7.3.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@ -66,15 +66,13 @@ FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON -DUSE_GL2PS:BOOL=ON \
-DUSE_FREETYPE:BOOL=ON
-DUSE_FREETYPE:BOOL=ON -D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF -DUSE_GL2PS:BOOL=OFF \
-DUSE_FREETYPE:BOOL=OFF
VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \
libgl2ps.so:print/gl2ps \
libfreeimageplus.so:graphics/freeimage
VIS_CMAKE_ON= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
DOXYGEN_IMPLIES= DOCS
DOXYGEN_USE= TEX=latex:build
DOXYGEN_BUILD_DEPENDS= bash:shells/bash \