# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories graphics devel
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description C/Fortran graphics library
long_description The PGPLOT Graphics Subroutine Library is a Fortran- or \
C-callable, device-independent graphics package for making \
simple scientific graphs. It is intended for making \
graphical images of publication quality with minimum \
effort on the part of the user. For most applications, the \
program can be device-independent, and the output can be \
directed to the appropriate device at run time.
homepage http://www.astro.caltech.edu/~tjp/pgplot/
# mirroring pgplot requires "a clear link to the original site http://www.astro.caltech.edu/~tjp/pgplot/"
master_sites ftp://ftp.astro.caltech.edu/pub/pgplot/
distname ${name}[join [split ${version} .] ""]
configure.dir ${workpath}/build
build.dir ${configure.dir}
checksums rmd160 4c21cad6613772f4104c65ac3d8d9a42e3c4afe1 \
sha256 a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4
depends_build bin:perl:perl5 \
depends_lib port:libpng \
patchfiles patch-makemake.diff \
patch-drivers.list.patch \
patch-drivers-pndriv.c.diff \
if { [string match *64 ${build_arch}] } {
patchfiles-append patch-64bit.diff
# Tell the compiler not to treat backslash characters as C-style escape sequences.
configure.fcflags-append -fno-backslash
set compat_version [join [lrange [split ${version} .] 0 0] .]