freebsd-ports/math/py-gnuplot/Makefile
2002-04-29 18:05:54 +00:00

32 lines
794 B
Makefile

# 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
USE_PYDISTUTILS= yes
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>