aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-pycha/Makefile
blob: 9127e21e4956961e9fed52c1c21c7f97e209b5a4 (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
# Ports collection makefile for:    pycha
# Date created:         08 July, 2009
# Whom:             Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   pycha
PORTVERSION=    0.5.2
PORTREVISION=   1
CATEGORIES= graphics python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= wen@FreeBSD.org
COMMENT=    A library for making charts with Python

USE_PYTHON=     yes
USE_PYDISTUTILS=    easy_install

OPTIONS=    CAIRO   "Add support for py-cairo" On

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_CAIRO)
RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/cairo:${PORTSDIR}/graphics/py-cairo
.endif

.include <bsd.port.post.mk>