# -*- 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

name                py-graphpath
version             0.7
license             GPL-2
platforms           darwin freebsd
supported_archs     noarch
maintainers         nomaintainer
description         small language for ananlysing graph-structured data in Python
long_description    GraphPath is a little-language for analysing \
                    graph-structured data, especially RDF. The syntax of \
                    GraphPath is reminiscent of XPath. It provides a query \
                    evaluator and a goal-driven inference engine, which \
                    work together to perform graph analysis.

homepage            http://www.langdale.com.au/GraphPath
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            GraphPath-${version}
checksums           md5     fa81c0166a6be4bf437597362c4af163 \
                    rmd160  8a64e7213fa13ee52a31fc58dfffadf975186d07 \
                    sha256  3f4668c2f1e87a2905f6872845b8eb1d08897336370685dbdddb94578ea52dcc \
                    size    44232

python.versions     27

if {${name} ne ${subport}} {
    test.run        yes
    test.cmd        ${python.bin} test.py
    test.target

    post-destroot {
        xinstall -m 644 -W ${worksrcpath} LICENSE README index.html \
            python.html rdf_w3c_icon.128.gif reference.html style.css \
            tutorial.html ${destroot}${prefix}/share/doc/${subport}
    }
}