aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-gdchart2/Makefile
blob: 58c9e6eea8bfa4896123391dbe7125c802ad27b7 (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
# New ports collection makefile for:    py-gdchart2
# Date created:             2005-06-30
# Whom:                 Choe, Cheng-Dae <whitekid@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   gdchart
DISTVERSION=    2.0-beta1
CATEGORIES= graphics python
MASTER_SITES=   http://www.nullcube.com/software/pygdchart2/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pygdchart2

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python interface to GDChart2

LIB_DEPENDS=    gdc.1:${PORTSDIR}/graphics/gdchart

CONFLICTS=  ${PYTHON_PKGNAMEPREFIX}gdchart-0.*

LATEST_LINK=    ${PKGNAMEPREFIX}${PORTNAME}2

USE_PYTHON= yes
USE_PYDISTUTILS=yes

post-patch:
    ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py

.include <bsd.port.mk>