Files
reneeotten 245dc6da6c py-biggles: update to 1.7.2, add py37
- remove xorg-libXaw dependency, instead require plotutils +x11
- update homepage
- install files/examples in post-destroot
2019-02-20 08:53:10 -05:00

45 lines
1.5 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 python 1.0
PortGroup active_variants 1.1
github.setup biggles-plot biggles 1.7.2 v
name py-biggles
revision 0
categories-append graphics math science
platforms darwin
license GPL-2
maintainers nomaintainer
description Creates 2D scientific plots
long_description Biggles is a Python module for the creation of \
publication-quality 2D scientific plots.
homepage https://biggles-plot.github.io/
checksums rmd160 ab9e498ba91a89dba179c33083a2a0dc05ec80cd \
sha256 3806d9b64e6e0ad40bf9f7ed81b0477ba2d31688865c123de3d2a01bae13b81f \
size 215231
python.versions 27 37
if {${name} ne ${subport}} {
require_active_variants \
port:plotutils x11
depends_lib-append \
port:plotutils \
port:py${python.version}-numpy \
post-destroot {
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}/examples
xinstall -m 0644 -W ${worksrcpath} CHANGELOG COPYING CREDITS README.rst \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 {*}[glob -types f ${worksrcpath}/examples/*] \
${destroot}${prefix}/share/doc/${subport}/examples
}
}