Files
macports-ports/math/eplot/Portfile
T
Joshua Root f6abd23fb6 math/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-25 02:50:03 +11:00

44 lines
1.4 KiB
Tcl

# -*- 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
github.setup chriswolfvision eplot a198a8fa43e69a69b3f788d706627a92d983b376
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 20230228
revision 0
supported_archs noarch
platforms any
license GPL-2+
categories math ruby
maintainers {amake @amake} openmaintainer
description Easily pipe data through gnuplot and create plots quickly
long_description {*}${description}. Save in PostScript, PDF, PNG or EMF format. \
Plotting of multiple files into a single diagram is supported.
ruby.branch 2.7
checksums rmd160 74efd63b135bc69cdbe07c4c5cc978fc260702bf \
sha256 eea9e705ccf256f7323ef01c94bd5878daee3c8fbd17e063931cef6ced7d8f7b \
size 24036
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
reinplace -W ${worksrcpath} "s|^\$GnuPlotBin=.*|\$GnuPlotBin=\"${prefix}/bin/gnuplot\"|" eplot
}
build {}
destroot {
xinstall -m 0755 -W ${worksrcpath} ec eplot ${destroot}${prefix}/bin
}