source: trunk/dports/science/bkchem/Portfile

Last change on this file was 142815, checked in by jmr@…, 22 months ago

various ports: remove redundant clearing of python.link_binaries_suffix, the portgroup now handles this

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 142815 2015-11-24 03:22:35Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                bkchem
7version             0.13.0
8revision            1
9categories          science python chemistry
10platforms           darwin
11maintainers         nomaintainer
12supported_archs     noarch
13license             GPL-2+
14
15description         Free chemical drawing program.
16long_description    Free chemical drawing program written in Python by Beda \
17                    Kosata.
18
19homepage            http://bkchem.zirael.org/
20master_sites        ${homepage}download/ http://distfiles.macports.org/python
21
22checksums           sha1    ab38ba090682f36b1f34c7805f888c5c92e75186 \
23                    rmd160  d6fba65d2c4cb58f9d9c3f6a4e8e850e2338ec8e
24
25python.default_version  27
26
27depends_lib-append  port:py${python.version}-tkinter
28patchfiles          patch-setup.py.diff
29
30post-patch {
31    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
32    reinplace "s|__PYTHON__|${python.bin}|g" ${worksrcpath}/setup.py
33    reinplace "s|__PYTHON_PKGD__|${python.pkgd}|g" ${worksrcpath}/setup.py
34}
35
36post-destroot {
37    file delete -force "${destroot}${prefix}/share"
38    move ${destroot}${python.prefix}/share ${destroot}${prefix}
39}
40
41livecheck.type      regex
42livecheck.url       ${homepage}download_en.html
43livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.