# $Id: Portfile,v 1.1 2005/05/31 19:15:39 toby Exp $

PortSystem 1.0
name             ploticus
version          2.31
categories       math
maintainers      toby@opendarwin.org
description      plot generation program
long_description \
	A free, GPL, non-interactive software package for producing plots, \
	charts, and graphics from data. It was developed in a Unix/C \
	environment and runs on various Unix, Linux, and win32 systems. \
	ploticus is good for automated or just-in-time graph generation, \
	handles date and time data nicely, and has basic statistical \
	capabilities. It allows significant user control over colors, \
	styles, options and details.
homepage         http://ploticus.sourceforge.net/
platforms        darwin

master_sites     http://ploticus.sourceforge.net/download/
distname         pl231src
checksums        md5 70712f7f41484db3bfd9210ae7742762

depends_lib      lib:libX11:XFree86 lib:XXX:libpng lib:XXX:zlib

patchfiles       patch-src__Makefile \
                 patch-src__gd16.c

post-patch {
	reinplace s|__PREFIX__|${prefix}| ${worksrcpath}/src/Makefile
}

configure        {}

build.dir        ${worksrcpath}/src
build.target
