# -*- 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
github.setup gpilab examples d9a6861
python.default_version 37
maintainers {eborisch @eborisch} \
description This provides the GPI Framework examples.
long_description GPI was packaged with a few demo networks to \
illustrate some of the use cases and features that \
might not be immediately apparent.
homepage http://gpilab.com
rmd160 8ef5bad59d148f2b2aeb8e5f5d883f7915392da2 \
sha256 c771227cc1e8ad834e5f905e50f1ddef3aefd85f0fd0a6e32f9d8df018dc1886 \
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-gpilab-core
set DD ${destroot}${prefix}/share/py${python.version}-gpilab-examples
set FP ${prefix}/share/py${python.version}-gpilab-examples
xinstall -d ${DD}/Examples
xinstall -d ${destroot}${prefix}/share/${subport}
xinstall -W ${worksrcpath} COPYING COPYING.LESSER LICENSE \
AUTHORS ${destroot}${prefix}/share/${subport}
xinstall -W ${worksrcpath} README.md ${DD}/Examples/doc.md
foreach d {data media net} {
fs-traverse f ${worksrcpath}/${d} {
if {[file isfile ${f}]} {
if {[regexp "\.net" ${f}]} {
reinplace "s^/opt/gpi/doc^${FP}^" ${f}
copy ${f} ${DD}/Examples/