blob: 4bcb8a639bcffc2a76b2dd0e23da37abc116f5ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# ex:ts=8
# Ports collection makefile for: mayavi
# Date created: Mar 9, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mayavi
PORTVERSION= 1.5
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= MayaVi-${PORTVERSION}
MAINTAINER= tonymaher@optusnet.com.au
COMMENT= A scientific data visualizer
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
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
CPIO_ARGS= --quiet -pdum -R
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc && ${FIND} * | ${CPIO} ${CPIO_ARGS} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR})
.endif
.include <bsd.port.mk>
|