You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
44 lines
1.4 KiB
Tcl
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 aa4d607f050284c803583ba78852c845f749d67d
|
|
version 20200806
|
|
revision 0
|
|
|
|
platforms darwin
|
|
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 1bcfabc63075a4b863ca54d49662f3afc53a1e7f \
|
|
sha256 1cebb022d8951712a11cf0336e46557ba1ef57631df6a19afa7f95c5b6048895 \
|
|
size 24025
|
|
|
|
depends_run-append port:ruby${ruby.suffix} \
|
|
port:gnuplot
|
|
|
|
patchfiles 0001-Add-PREFIX-token-for-MacPorts.patch
|
|
patch.args -p1
|
|
|
|
use_configure no
|
|
|
|
post-patch {
|
|
reinplace -W ${worksrcpath} "s|#!/usr/bin/ruby|#!${ruby.bin}|" ec eplot
|
|
reinplace -W ${worksrcpath} "s|@@PREFIX@@|${prefix}|" eplot
|
|
}
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
xinstall -m 0755 -W ${worksrcpath} ec eplot ${destroot}${prefix}/bin
|
|
}
|