aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-gnuplot/Makefile
blob: fdbc5032d10723f7e9e589e07cc93308fbe3ef92 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gnuplot
PORTVERSION=    1.8
PORTREVISION=   7
CATEGORIES= math python
MASTER_SITES=   SF/${PORTNAME}-py/Gnuplot-py/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   gnuplot-py-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python interface to gnuplot plotting program

BUILD_DEPENDS=  ${PYNUMPY}
RUN_DEPENDS=    gnuplot:${PORTSDIR}/math/gnuplot \
        ${PYNUMPY}

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

PORTDOCS=   *

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>