aboutsummaryrefslogtreecommitdiff
path: root/math/py-sympy/Makefile
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2011-08-08 02:42:22 +0000
committerWen Heping <wen@FreeBSD.org>2011-08-08 02:42:22 +0000
commit2c4c62af8ee67f1c10db861b2cdb57920cadd7d7 (patch)
tree02d7fe8c24ee6d7446f5b69238b77ef866d807ca /math/py-sympy/Makefile
parent18fa0b9e3aac478e79bc1ac4d15d191e08c43954 (diff)
Notes
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