Ticket #17542: Portfile

File Portfile, 1.3 KB (added by krunk7@…, 16 years ago)

bpython Portfile

Line 
1# -*- 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
2# $Id: Portfile 43150 2008-12-05 23:49:52Z jmr@macports.org $
3
4PortSystem              1.0
5PortGroup               python26 1.0
6
7name                    py26-bpython
8set my_name             bpython
9version                 0.7.1
10categories              python
11platforms               darwin
12maintainers             jameskyle@ucla.edu
13description             a fancy interface to the Python interpreter for Unix-like operating systems
14long_description        ${description}
15
16homepage                http://www.noiseforfree.com/bpython/
17master_sites            ${homepage}
18distfiles               ${my_name}-${version}.tar.gz
19worksrcdir              ${my_name}
20
21checksums               md5 65554d3ebb9f9b5cab62e446424b8ab7 \
22                        sha1 c43693f80b8bd7cfa81ec25568b411e29960aa36 \
23                        rmd160 40af44675fc06394b83d656370fae1362dd87c32
24
25depends_lib-append      port:py26-parsing \
26                        port:py26-pygments
27
28post-destroot {
29    system "ln -s ${python.prefix}/bin/${my_name} ${destroot}${prefix}/bin/${my_name}"
30    file mkdir ${python.prefix}/share/bpython2.6
31    system "cp ${worksrcpath}/sample-rc ${python.prefix}/share/bpython2.6/"
32}