aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-gdchart2/Makefile
blob: 98209168fd8553f8b900de3fe49863c0fc13501e (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
# 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= whitekid@gmail.com
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
USE_REINPLACE=  yes

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

.include <bsd.port.mk>