aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-chart/Makefile
blob: 1f9448ef2cb195793bb8cfd6ea8f0b22a4839063 (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.28.1
CATEGORIES= graphics python
MASTER_SITES=   http://www.hpl.hp.com/personal/Yasushi_Saito/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>