aboutsummaryrefslogtreecommitdiff
path: root/math/py-gnuplot/Makefile
blob: 94bd8b6257c5b88c5e9fbdc22383466241c688a8 (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
# 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

BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
RUN_DEPENDS=	python:${PORTSDIR}/lang/python \
		gnuplot:${PORTSDIR}/math/gnuplot \
		${LOCALBASE}/lib/python1.5/site-packages/Numeric/_numpy.so:${PORTSDIR}/math/numpy

do-build:
	@${LOCALBASE}/bin/python \
		${LOCALBASE}/lib/python1.5/compileall.py ${WRKSRC}

do-install:
	${MKDIR} ${PREFIX}/lib/python1.5/site-packages/Gnuplot
	${INSTALL_DATA} ${WRKSRC}/*.py? \
		${PREFIX}/lib/python1.5/site-packages/Gnuplot

.include <bsd.port.mk>