source: trunk/dports/python/py-chm/Portfile

Last change on this file was 126879, checked in by larryv@…, 3 years ago

py{24,25,26}-chm: Replace with py27-chm

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
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 126879 2014-10-16 20:36:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-chm
8version             0.8.4
9revision            1
10categories-append   textproc
11platforms           darwin
12maintainers         nomaintainer
13
14description         PyCHM is a set of Python bindings for Jed Wing's chmlib.
15long_description    ${description}
16homepage            http://gnochm.sourceforge.net/pychm.html
17
18master_sites        sourceforge:gnochm
19distname            pychm-${version}
20checksums           sha1 73104f4a351dc1450a16f07680d772817b05442d
21
22python.versions     27
23
24if {${name} ne ${subport}} {
25    depends_lib-append  port:chmlib
26
27    patchfiles      patch-no-inline.diff
28
29    build.env       CFLAGS=-I${prefix}/include \
30                    LDFLAGS=-L${prefix}/lib
31
32    post-destroot {
33        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README \
34            ${destroot}${prefix}/share/doc/${subport}
35    }
36}
Note: See TracBrowser for help on using the repository browser.