Date: Mon, 27 Jul 2009 02:46:49 GMT From: Stas Timokhin <stast@bsdportal.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137162: Change in port math/vtk5: add GL2PS knobs to OPTIONS Message-ID: <200907270246.n6R2knqT003757@www.freebsd.org> Resent-Message-ID: <200907270250.n6R2o05V096282@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137162 >Category: ports >Synopsis: Change in port math/vtk5: add GL2PS knobs to OPTIONS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 02:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stas Timokhin >Release: 8.0-Current >Organization: None >Environment: >Description: This knobs need to build Salome (http://www.salome-platform.org/ex/att/16_SALOME_4_1_5_Release_Notes.pdf, page 14,) application. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2009-07-27 09:37:52.000000000 +0700 +++ Makefile 2009-07-27 09:40:46.000000000 +0700 @@ -3,12 +3,12 @@ # Whom: Mykola Khotyaintsev <ko@irfu.se> # Repocopied from math/vtk by: Jason W. Bacon <bacon@smithers.neuro.mcw.edu> # -# $FreeBSD: ports/math/vtk5/Makefile,v 1.49 2009/07/18 11:11:11 dinoex Exp $ +# $FreeBSD$ # PORTNAME= vtk PORTVERSION= 5.0.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/ \ http://www.neuro.mcw.edu/Ports/distfiles/VTK5/ @@ -50,7 +50,8 @@ USE_LDCONFIG= yes OPTIONS= MANGLEDMESA "Use off-screen (Mangled) Mesa" Off \ - VTKMPEG2 "Install patented MPEG2 encoder module" Off + VTKMPEG2 "Install patented MPEG2 encoder module" Off \ + GL2PS "Install support conversion OpenGL to PostScript" Off PLIST_SUB= VER=${PORTVERSION} VER1=${PORTVERSION:R} VER2=${PORTVERSION:R:R} @@ -107,6 +108,12 @@ -DVTK_USE_MPEG2_ENCODER:BOOL=ON .endif +.if defined(WITH_GL2PS) +LIB_DEPENDS+= gl2ps.1:${PORTSDIR}/print/gl2ps +CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON +PLIST_FILES+= include/vtk-5.0/vtkGL2PSExporter.h +.endif + post-extract: ${MKDIR} ${WRKSRC} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907270246.n6R2knqT003757>