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 75519 2011-01-28 16:07:25Z jameskyle@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python27 1.0 |
---|
6 | |
---|
7 | name py27-bpython |
---|
8 | version 0.9.7.1 |
---|
9 | platforms darwin |
---|
10 | categories python |
---|
11 | maintainers jameskyle |
---|
12 | description fancy interface to the Python interpreter |
---|
13 | long_description a fancy interface to the Python interpreter for \ |
---|
14 | Unix-like operating systems |
---|
15 | |
---|
16 | homepage http://www.bpython-interpreter.org/ |
---|
17 | master_sites ${homepage}/releases/ |
---|
18 | distname bpython-${version} |
---|
19 | |
---|
20 | checksums md5 f32ce6aa8ae6af8d2cf65e13f58859d4 \ |
---|
21 | sha1 4ab3b8c06e3ab0bd30fc20f52cd97c1687731699 \ |
---|
22 | rmd160 4e5f3e1603957bdd0984024d0abb0e3e59f33aa8 |
---|
23 | depends_lib-append port:py27-parsing \ |
---|
24 | port:py27-pygments \ |
---|
25 | port:py27-distribute |
---|
26 | |
---|
27 | post-destroot { |
---|
28 | set sharedoc ${destroot}${prefix}/share/bpython2.7 |
---|
29 | xinstall -d ${sharedoc} |
---|
30 | xinstall ${worksrcpath}/sample-config ${sharedoc} |
---|
31 | xinstall ${worksrcpath}/sample.theme ${sharedoc} |
---|
32 | xinstall ${worksrcpath}/light.theme ${sharedoc} |
---|
33 | |
---|
34 | set pyman ${python.prefix}/share/man/ |
---|
35 | set manroot ${destroot}${prefix}/share/man/ |
---|
36 | |
---|
37 | xinstall -d ${manroot}/man5 |
---|
38 | xinstall -d ${manroot}/man1 |
---|
39 | ln -s ${pyman}man5/bpython-config.5 ${manroot}/man5/ |
---|
40 | ln -s ${pyman}/man1/bpython.1 ${manroot}/man1/ |
---|
41 | } |
---|