freebsd-ports/math/py-sympy/Makefile

34 lines
679 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= sympy
PORTVERSION= 0.7.2
CATEGORIES= math python
MASTER_SITES= GOOGLE_CODE \
CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= A Python Library For Symbolic Mathematics
LICENSE= BSD
USE_PYTHON= yes
USE_PYDISTUTILS= yes
MAN1= isympy.1
OPTIONS_DEFINE= PYGLET
PYGLET_DESC= Enable plotting support
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYGLET}
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
.include <bsd.port.mk>