|
|
@@ -2,52 +2,45 @@ |
|
|
|
|
|
PortSystem 1.0 |
|
|
PortGroup compilers 1.0 |
|
|
PortGroup github 1.0 |
|
|
|
|
|
name giza |
|
|
version 0.9.3 |
|
|
github.setup danieljprice giza 0.9.5 v |
|
|
categories science graphics |
|
|
platforms darwin |
|
|
maintainers monash.edu:daniel.price |
|
|
maintainers {monash.edu:daniel.price @danieljprice} |
|
|
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} |
|
|
homepage https://danieljprice.github.io/giza/ |
|
|
github.tarball_from releases |
|
|
license GPL-2+ |
|
|
|
|
|
checksums rmd160 8380548bfa3e25da26780b5c76616689edb4c639 \ |
|
|
sha256 a2e986f993e4557227639dde4570e6d31df518ed942abe102b6a445040733a6e |
|
|
checksums rmd160 cafae86b7a37700b97c4a35e1fee628eca16d7d8 \ |
|
|
sha256 0151be118d8249161b1bc547ef4dd5f28f6340106f1e209e71ad8a0b6617b7b1 \ |
|
|
size 774866 |
|
|
|
|
|
conflicts pgplot |
|
|
use_configure no |
|
|
|
|
|
depends_build port:pkgconfig |
|
|
|
|
|
depends_lib path:lib/pkgconfig/cairo.pc:cairo \ |
|
|
port:xorg-libX11 |
|
|
|
|
|
compilers.setup require_fortran -dragonegg -g95 |
|
|
|
|
|
build.cmd make |
|
|
build.args CC=${configure.cc} FC=${configure.fc} |
|
|
configure.args --disable-silent-rules |
|
|
|
|
|
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+)*) |