Index: Makefile =================================================================== --- Makefile (revision 419733) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= mayavi PORTVERSION= 4.5.0 +PORTREVISION= 1 CATEGORIES= graphics science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -46,6 +47,10 @@ ${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \ fi +post-stage: + ${MV} ${STAGEDIR}${PREFIX}/bin/mayavi2 ${STAGEDIR}${PREFIX}/bin/mayavi2.py + ${CP} ${FILESDIR}/mayavi2.sh ${STAGEDIR}${PREFIX}/bin/mayavi2 + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/tvtk/array_ext.so Index: files/mayavi2.sh =================================================================== --- files/mayavi2.sh (nonexistent) +++ files/mayavi2.sh (working copy) @@ -0,0 +1,3 @@ +#! +LD_LIBRARY_PATH=/usr/local/lib/gcc48 /usr/local/bin/mayavi2.py $@ + Property changes on: files/mayavi2.sh ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property