blob: b29d915dd5f01b169093398cac82e67f2bb761d6 (
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
36
37
|
# New ports collection makefile for: py-gnuplot
# Date created: 3 July 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= py-gnuplot
PORTVERSION= 1.5
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnuplot-py
DISTNAME= Gnuplot-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric
USE_PYTHON= yes
SETUP_CMD= cd ${WRKSRC}; ${PYTHON_CMD} setup.py
do-build:
@${SETUP_CMD} build
do-install:
@${SETUP_CMD} install
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/py-gnuplot
cd ${WRKSRC}/doc && ${TAR} -chf - * | \
${TAR} --unlink -xf - -C ${PREFIX}/share/doc/py-gnuplot
.endif
.include <bsd.port.mk>
|