aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-gdchart2/Makefile
blob: e49188d45bcc7efa782d94661626a07fba3be477 (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
# 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
PORTREVISION=	3
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
PYDISTUTILS_PKGNAME=	pygdchart
PYDISTUTILS_PKGVERSION=	2.0.Beta

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

.include <bsd.port.mk>