Source
# -*- 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
PortSystem 1.0
PortGroup texlive 1.0
PortGroup xcodeversion 1.0
PortGroup wxWidgets 1.0
name gnuplot
version 5.2.4
categories math science
# the license has some inconvenient requirements that we're not meeting
# to be allowed to distribute binaries
license Restrictive
# luckily nothing has to link against this
installs_libs no
platforms darwin
maintainers {mojca @mojca} openmaintainer
description A command-driven interactive function plotting program
long_description Gnuplot is a command-driven interactive function \
plotting program. Plots any number of functions, \
built up of C operators, C library functions, and \
some things C does not have like **, sgn(), etc. \
Also support for plotting data files, to compare \
actual data to theoretical curves.
homepage http://gnuplot.sourceforge.net/
master_sites sourceforge:project/gnuplot/gnuplot/${version}
dist_subdir ${name}/${version}
checksums rmd160 fcf8e239cb40b9bd0e4bf19b3da398e81b4abec5 \
sha256 1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb \
size 5292321
depends_build port:pkgconfig
depends_lib port:expat \
port:fontconfig \
port:gd2 \
port:webp \
port:jpeg \
path:lib/libcaca.dylib:libcaca \
port:libcerf \
port:libiconv \
port:libpng \
port:ncurses \
port:readline \
port:zlib
minimum_xcodeversions \
{9 3.1}
patchfiles patch-configure.diff
configure.args --with-caca=${prefix} \
--with-gd=${prefix} \
--with-readline=${prefix} \
--without-aquaterm \
--without-x \
--infodir='\${prefix}/share/info' \
--mandir='\${prefix}/share/man' \
--disable-wxwidgets \