View | Details | Raw Unified | Return to bug 211641 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+5 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	mayavi
4
PORTNAME=	mayavi
5
PORTVERSION=	4.5.0
5
PORTVERSION=	4.5.0
6
PORTREVISION=	1
6
CATEGORIES=	graphics science python
7
CATEGORIES=	graphics science python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 46-51 Link Here
46
		${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \
47
		${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \
47
	fi
48
	fi
48
49
50
post-stage:
51
	${MV} ${STAGEDIR}${PREFIX}/bin/mayavi2 ${STAGEDIR}${PREFIX}/bin/mayavi2.py
52
	${CP} ${FILESDIR}/mayavi2.sh ${STAGEDIR}${PREFIX}/bin/mayavi2
53
49
post-install:
54
post-install:
50
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/tvtk/array_ext.so
55
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/tvtk/array_ext.so
51
56
(-)files/mayavi2.sh (+3 lines)
Line 0 Link Here
1
#!
2
LD_LIBRARY_PATH=/usr/local/lib/gcc48 /usr/local/bin/mayavi2.py $@
3

Return to bug 211641