# -*- 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: Portfile 49235 2009-04-06 01:58:48Z jmr@macports.org $

PortSystem              1.0
PortGroup               python26 1.0

name                    py26-bpython
version                 0.7.1
platforms               darwin
maintainers             ucla.edu:jameskyle
description             fancy interface to the Python interpreter
long_description        a fancy interface to the Python interpreter for \
                        Unix-like operating systems

homepage                http://www.noiseforfree.com/bpython/
master_sites            ${homepage}
distname                bpython-${version}
worksrcdir              bpython

checksums               md5 65554d3ebb9f9b5cab62e446424b8ab7 \
                        sha1 c43693f80b8bd7cfa81ec25568b411e29960aa36 \
                        rmd160 40af44675fc06394b83d656370fae1362dd87c32 

depends_lib-append      port:py26-parsing \
                        port:py26-pygments 

post-destroot {
    ln -s ${python.prefix}/bin/bpython ${destroot}${prefix}/bin/bpython
    xinstall -d ${destroot}${python.prefix}/share/bpython2.6
    xinstall ${worksrcpath}/sample-rc ${destroot}${python.prefix}/share/bpython2.6/
}                        
