34171d18e7
for some ports: - pre-fetch -> pre-everything PR: ports/56785-56799 Submitted by: KATO Tsuguru <tkato@prontomail.com>
38 lines
939 B
Makefile
38 lines
939 B
Makefile
# 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
|
|
|
|
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
|
GSPORT?= print/ghostscript-afpl
|
|
.else
|
|
GSPORT?= print/ghostscript-gnu
|
|
.endif
|
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
|
|
|
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>
|