2008-08-12 00:14:50 +02:00
|
|
|
# New ports collection makefile for: py-sympy
|
|
|
|
# Date created: 2008-08-09
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sympy
|
2011-08-08 04:42:22 +02:00
|
|
|
PORTVERSION= 0.7.1
|
2008-08-12 00:14:50 +02:00
|
|
|
CATEGORIES= math python
|
2009-09-25 09:37:30 +02:00
|
|
|
MASTER_SITES= GOOGLE_CODE \
|
|
|
|
CHEESESHOP
|
2008-08-12 00:14:50 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2009-09-25 09:37:30 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2008-08-12 00:14:50 +02:00
|
|
|
COMMENT= A Python Library For Symbolic Mathematics
|
|
|
|
|
2011-06-29 05:25:09 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2011-08-08 04:42:22 +02:00
|
|
|
USE_PYTHON= 2.5+
|
2008-08-12 00:14:50 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
|
|
|
MAN1= isympy.1
|
|
|
|
|
2011-08-08 04:42:22 +02:00
|
|
|
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
|
|
|
|
|
2008-08-12 00:14:50 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s#share/man/man1#man/man1#" ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|