aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/svgfig/Makefile
blob: 1b11ac2131c8486fc54a37ad4b0dd90cadbed427 (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
# New ports collection makefile for:    svgfig
# Date created:     01 June 2008
# Whom:         Wesley Shields <wxs@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   SVGFig
PORTVERSION=    1.1.6
CATEGORIES= graphics python
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME:L}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= wxs@FreeBSD.org
COMMENT=    Draw mathematical figures in SVG using Python

WRKSRC=     ${WRKDIR}/${PORTNAME:L}

USE_PYTHON= 2.4+
USE_PYDISTUTILS=    yes

post-patch:
    @${REINPLACE_CMD} -e 's|1.1.2|${PORTVERSION}|' ${WRKSRC}/setup.py

.include <bsd.port.mk>