# -*- 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 # $Id$ PortSystem 1.0 PortGroup compilers 1.0 name giza version 0.9.3 categories science graphics platforms darwin maintainers monash.edu:daniel.price description C/Fortran graphics library, PGPLOT replacement long_description giza is a 2D scientific plotting library \ for C/Fortran built on the cairo graphics library. \ Designed as a low-dependency, drop-in replacement for PGPLOT \ with antialiasing, real fonts, and PDF/svg/eps/png/X11 output. \ Builds both libpgplot and libcpgplot that directly replace the PGPLOT libraries. homepage http://giza.sourceforge.net/ master_sites sourceforge:/project/${name} license GPL-2+ checksums rmd160 8380548bfa3e25da26780b5c76616689edb4c639 \ sha256 a2e986f993e4557227639dde4570e6d31df518ed942abe102b6a445040733a6e conflicts pgplot use_configure no compilers.setup require_fortran -dragonegg -g95 build.cmd make build.args CC=${configure.cc} FC=${configure.fc} build.args-append X11DIR=${prefix} PREFIX=${prefix} depends_lib path:lib/pkgconfig/cairo.pc:cairo \ port:xorg-libX11 destroot.args PREFIX=${prefix} use_parallel_build no pre-build { build.args-append CC=${configure.cc} FC=${configure.fc} } post-destroot { system "install_name_tool -id ${prefix}/lib/libcpgplot.dylib ${destroot}${prefix}/lib/libcpgplot.dylib" system "install_name_tool -id ${prefix}/lib/libpgplot.dylib ${destroot}${prefix}/lib/libpgplot.dylib" system "install_name_tool -id ${prefix}/lib/libgiza.dylib ${destroot}${prefix}/lib/libgiza.dylib" } livecheck.type regex livecheck.url http://sourceforge.net/projects/${name}/files/ livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)