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

PortSystem              1.0
PortGroup               python25 1.0

name                    py25-bpython
version                 0.9.7.1
platforms               darwin
categories              python 
maintainers             singingwolfboy openmaintainer
description             fancy interface to the Python interpreter
long_description        a fancy interface to the Python interpreter for \
                        Unix-like operating systems

homepage                http://www.bpython-interpreter.org/
master_sites            ${homepage}/releases/
distname                bpython-${version}

checksums           md5     f32ce6aa8ae6af8d2cf65e13f58859d4 \
                    sha1    4ab3b8c06e3ab0bd30fc20f52cd97c1687731699 \
                    rmd160  4e5f3e1603957bdd0984024d0abb0e3e59f33aa8
depends_lib-append      port:py25-parsing \
                        port:py25-pygments \
                        port:py25-distribute

post-destroot {
    set sharedoc ${destroot}${prefix}/share/bpython2.5
    xinstall -d ${sharedoc}
    xinstall ${worksrcpath}/sample-config ${sharedoc}
    xinstall ${worksrcpath}/sample.theme ${sharedoc}
    xinstall ${worksrcpath}/light.theme ${sharedoc}
    
    set manroot ${destroot}${prefix}/share/man/
    xinstall -d ${manroot}/man5
    xinstall -d ${manroot}/man1
}