aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-gnuplot/Makefile
blob: d374787c8f100704fbdbcb4bbd8e33dc33279093 (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
# New ports collection makefile for:	py-gnuplot
# Date created:				3 July 2000
# Whom:			Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	py-gnuplot
PORTVERSION=	1.4
CATEGORIES=	math python
MASTER_SITES=	http://monsoon.harvard.edu/~mhagger/Gnuplot/
DISTNAME=	Gnuplot-${PORTVERSION}

MAINTAINER=	sobomax@FreeBSD.org

RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot \
		${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/numpy

USE_PYTHON=	yes

do-build:
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}

do-install:
	${MKDIR} ${PYTHON_SITELIBDIR}/Gnuplot
	${INSTALL_DATA} ${WRKSRC}/*.py? ${PYTHON_SITELIBDIR}/Gnuplot

.include <bsd.port.mk>