mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
2c4c62af8e
- Require python version >= 2.5 - Add graphics/py-pyglet dependency, since there is no more bundled pyglet PR: ports/159581 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
38 lines
755 B
Makefile
38 lines
755 B
Makefile
# New ports collection makefile for: py-sympy
|
|
# Date created: 2008-08-09
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sympy
|
|
PORTVERSION= 0.7.1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= GOOGLE_CODE \
|
|
CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= A Python Library For Symbolic Mathematics
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|