Files

44 lines
1.4 KiB
Tcl
Raw Permalink Normal View History

2020-10-24 14:53:32 +09:00
# -*- 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 github 1.0
PortGroup ruby 1.0
2023-02-28 20:03:27 +09:00
github.setup chriswolfvision eplot a198a8fa43e69a69b3f788d706627a92d983b376
2025-01-25 02:50:03 +11:00
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
2023-02-28 20:03:27 +09:00
version 20230228
2020-10-24 14:53:32 +09:00
revision 0
supported_archs noarch
platforms any
2020-10-24 14:53:32 +09:00
license GPL-2+
categories math ruby
maintainers {amake @amake} openmaintainer
description Easily pipe data through gnuplot and create plots quickly
2025-01-25 02:50:03 +11:00
long_description {*}${description}. Save in PostScript, PDF, PNG or EMF format. \
2020-10-24 14:53:32 +09:00
Plotting of multiple files into a single diagram is supported.
ruby.branch 2.7
2023-02-28 20:03:27 +09:00
checksums rmd160 74efd63b135bc69cdbe07c4c5cc978fc260702bf \
sha256 eea9e705ccf256f7323ef01c94bd5878daee3c8fbd17e063931cef6ced7d8f7b \
size 24036
2020-10-24 14:53:32 +09:00
depends_run-append port:ruby${ruby.suffix} \
port:gnuplot
use_configure no
post-patch {
reinplace -W ${worksrcpath} "s|#!/usr/bin/ruby|#!${ruby.bin}|" ec eplot
2023-02-28 20:03:27 +09:00
reinplace -W ${worksrcpath} "s|^\$GnuPlotBin=.*|\$GnuPlotBin=\"${prefix}/bin/gnuplot\"|" eplot
2020-10-24 14:53:32 +09:00
}
build {}
destroot {
xinstall -m 0755 -W ${worksrcpath} ec eplot ${destroot}${prefix}/bin
}