aboutsummaryrefslogtreecommitdiffstats
path: root/science/mayavi/Makefile
blob: b1f7d7ac100a4f9a78a74d3266b31875864897dc (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
# ex:ts=8
# Ports collection makefile for:    mayavi
# Date created:         Mar 9, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   mayavi
PORTVERSION=    1.1
CATEGORIES= science python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   MayaVi-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PYTHON= yes
USE_MESA=   yes
PLIST_SUB=  PYTHON_SITELIBDIR=lib/${PYTHON_VERSION}/site-packages

SETUP_CMD=  cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py

do-build:
    @${SETUP_CMD} build

do-install:
    @${SETUP_CMD} install

.include <bsd.port.mk>