aboutsummaryrefslogtreecommitdiff
path: root/math/py-sympy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-sympy/Makefile')
-rw-r--r--math/py-sympy/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/math/py-sympy/Makefile b/math/py-sympy/Makefile
index f0edc123db6a..31ff23918175 100644
--- a/math/py-sympy/Makefile
+++ b/math/py-sympy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sympy
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.1
CATEGORIES= math python
MASTER_SITES= GOOGLE_CODE \
CHEESESHOP
@@ -18,11 +18,19 @@ COMMENT= A Python Library For Symbolic Mathematics
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
-USE_PYTHON= yes
+USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
MAN1= isympy.1
+OPTIONS= PYGLET "Enable plotting support" Off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_PYGLET)
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s#share/man/man1#man/man1#" ${WRKSRC}/setup.py