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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-bpython |
---|
8 | set my_name bpython |
---|
9 | version 0.7.1 |
---|
10 | categories python |
---|
11 | platforms darwin |
---|
12 | maintainers jameskyle@ucla.edu |
---|
13 | description a fancy interface to the Python interpreter for Unix-like operating systems |
---|
14 | long_description ${description} |
---|
15 | |
---|
16 | homepage http://www.noiseforfree.com/bpython/ |
---|
17 | master_sites ${homepage} |
---|
18 | distfiles ${my_name}-${version}.tar.gz |
---|
19 | worksrcdir ${my_name} |
---|
20 | |
---|
21 | checksums md5 65554d3ebb9f9b5cab62e446424b8ab7 \ |
---|
22 | sha1 c43693f80b8bd7cfa81ec25568b411e29960aa36 \ |
---|
23 | rmd160 40af44675fc06394b83d656370fae1362dd87c32 |
---|
24 | |
---|
25 | depends_lib-append port:py26-parsing \ |
---|
26 | port:py26-pygments |
---|
27 | |
---|
28 | post-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 | } |
---|