View | Details | Raw Unified | Return to bug 137162
Collapse All | Expand All

(-)Makefile (-3 / +10 lines)
Lines 3-14 Link Here
3
# Whom:                 Mykola Khotyaintsev <ko@irfu.se>
3
# Whom:                 Mykola Khotyaintsev <ko@irfu.se>
4
# Repocopied from math/vtk by:	Jason W. Bacon <bacon@smithers.neuro.mcw.edu>
4
# Repocopied from math/vtk by:	Jason W. Bacon <bacon@smithers.neuro.mcw.edu>
5
#
5
#
6
# $FreeBSD: ports/math/vtk5/Makefile,v 1.49 2009/07/18 11:11:11 dinoex Exp $
6
# $FreeBSD$
7
#
7
#
8
8
9
PORTNAME=	vtk
9
PORTNAME=	vtk
10
PORTVERSION=	5.0.4
10
PORTVERSION=	5.0.4
11
PORTREVISION=	4
11
PORTREVISION=	5
12
CATEGORIES=	math graphics
12
CATEGORIES=	math graphics
13
MASTER_SITES=	http://www.vtk.org/files/release/${PORTVERSION:R}/ \
13
MASTER_SITES=	http://www.vtk.org/files/release/${PORTVERSION:R}/ \
14
		http://www.neuro.mcw.edu/Ports/distfiles/VTK5/
14
		http://www.neuro.mcw.edu/Ports/distfiles/VTK5/
Lines 50-56 Link Here
50
USE_LDCONFIG=	yes
50
USE_LDCONFIG=	yes
51
51
52
OPTIONS=	MANGLEDMESA	"Use off-screen (Mangled) Mesa" Off \
52
OPTIONS=	MANGLEDMESA	"Use off-screen (Mangled) Mesa" Off \
53
		VTKMPEG2	"Install patented MPEG2 encoder module" Off
53
		VTKMPEG2	"Install patented MPEG2 encoder module" Off \
54
		GL2PS           "Install support conversion OpenGL to PostScript" Off
54
55
55
PLIST_SUB=	VER=${PORTVERSION} VER1=${PORTVERSION:R} VER2=${PORTVERSION:R:R}
56
PLIST_SUB=	VER=${PORTVERSION} VER1=${PORTVERSION:R} VER2=${PORTVERSION:R:R}
56
57
Lines 107-112 Link Here
107
		-DVTK_USE_MPEG2_ENCODER:BOOL=ON
108
		-DVTK_USE_MPEG2_ENCODER:BOOL=ON
108
.endif
109
.endif
109
110
111
.if defined(WITH_GL2PS)
112
LIB_DEPENDS+=	gl2ps.1:${PORTSDIR}/print/gl2ps
113
CMAKE_ARGS+=	-DVTK_USE_GL2PS:BOOL=ON
114
PLIST_FILES+=	include/vtk-5.0/vtkGL2PSExporter.h
115
.endif
116
110
post-extract:
117
post-extract:
111
		${MKDIR} ${WRKSRC}
118
		${MKDIR} ${WRKSRC}
112
		${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
119
		${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \

Return to bug 137162