summaryrefslogtreecommitdiff
path: root/science/mayavi/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-04 16:18:28 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-04 16:18:28 +0000
commit4009f1ce4822ebe057bb8766e2dc3e576abdcc4c (patch)
tree3c1b989913f8269a362eca8bc24658a467e996ce /science/mayavi/Makefile
parent- Update to version 2.6.1 (diff)
- Update to version 1.3
PR: ports/63755 Submitted by: Ports Fury
Diffstat (limited to 'science/mayavi/Makefile')
-rw-r--r--science/mayavi/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/science/mayavi/Makefile b/science/mayavi/Makefile
index 26fc02db98a7..e613d1cb0392 100644
--- a/science/mayavi/Makefile
+++ b/science/mayavi/Makefile
@@ -7,21 +7,26 @@
#
PORTNAME= mayavi
-PORTVERSION= 1.1
+PORTVERSION= 1.3
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= MayaVi-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= The MayaVi Data Visualizer
+COMMENT= A scientific data visualizer
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/vtk.pth:${PORTSDIR}/math/vtk-python \
+ ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_MESA= yes
-PLIST_SUB= PYTHON_SITELIBDIR=lib/${PYTHON_VERSION}/site-packages
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.* ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>