summaryrefslogtreecommitdiff
path: root/math/py-matplotlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-matplotlib/Makefile')
-rw-r--r--math/py-matplotlib/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 64f7fc56126e..f9e5f9eb921d 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= matplotlib
-PORTVERSION= 0.87.2
+PORTVERSION= 0.87.6
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,17 +17,18 @@ MAINTAINER= mainland@apeiron.net
COMMENT= A plotting library uses a syntax familiar to matlab users
BUILD_DEPENDS= ${PYNUMERIC} \
+ ${PYTHON_SITELIBDIR}/dateutil/__init__.py:${PORTSDIR}/devel/py-dateutil \
+ ${PYTHON_SITELIBDIR}/pytz/__init__.py:${PORTSDIR}/devel/py-pytz \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
${LOCALBASE}/lib/libagg.a:${PORTSDIR}/graphics/agg
-LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
+ png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
.endif
-CONFLICTS= devel/py-dateutil-[0-9]*
-
USE_PYTHON= 2.2+
USE_PYDISTUTILS= yes
USE_GNOME= gtk20 pygtk2
@@ -35,8 +36,9 @@ CFLAGS+= -I${X11BASE}/include
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-PLISTDIR= ${PYTHON_SITELIBDIR}/${PORTNAME} ${PYTHON_SITELIBDIR}/dateutil ${PYTHON_SITELIBDIR}/pytz \
- ${PYTHON_SITELIBDIR}/pylab*
+PLISTDIR= ${PYTHON_SITELIBDIR}/${PORTNAME} \
+ ${PYTHON_SITELIBDIR}/pylab* \
+ ${PYTHON_SITELIBDIR}/matplotlib-0.87.6-py2.5.egg-info
.if !defined(NOPORTDOCS)
PLISTDIR+= ${EXAMPLESDIR}
.endif