aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-chart/Makefile
blob: fa7a059a5d08ad65bb76118faa29f5f1e919adeb (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
# ex:ts=8
# Ports collection makefile for:    PyChart
# Date created:         Aug 4, 2002
# Whom:                 ijliao
#
# $FreeBSD$
#

PORTNAME=   chart
PORTVERSION=    1.39
CATEGORIES= graphics python
MASTER_SITES=   http://download.gna.org/pychart/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   PyChart-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Create high quality Encapsulated Postscript, PDF, or PNG charts

USE_GHOSTSCRIPT_RUN=    yes

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
    @${ECHO_MSG} ""
    @${ECHO_MSG} "      Define WITH_GHOSTSCRIPT_AFPL=yes to use"
    @${ECHO_MSG} "      AFPL Postscript interpreter instead of GNU one"
    @${ECHO_MSG} ""
.endif

.include <bsd.port.mk>