aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-sympy/Makefile
blob: 31ff239181751d318a4db4f7145b36b0b70d1ec7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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>