# -*- 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 python 1.0 PortGroup github 1.0 github.setup gpilab examples d9a6861 version 0 name py-gpilab-examples revision 2 python.versions 38 39 supported_archs noarch platforms any license LGPL-3 maintainers {eborisch @eborisch} \ openmaintainer 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 checksums \ rmd160 8ef5bad59d148f2b2aeb8e5f5d883f7915392da2 \ sha256 c771227cc1e8ad834e5f905e50f1ddef3aefd85f0fd0a6e32f9d8df018dc1886 \ size 37484309 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-gpilab-core livecheck.type none use_configure no build { } destroot { 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/ } } } } }