You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
1b25609994
- drop py27 subport, add py312
36 lines
1.1 KiB
Tcl
36 lines
1.1 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-chm
|
|
python.rootname pychm
|
|
version 0.8.6
|
|
revision 0
|
|
|
|
categories-append textproc
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
|
|
description PyCHM is a set of Python bindings for Jed Wing's chmlib.
|
|
long_description {*}${description}
|
|
homepage https://github.com/dottedmag/pychm/
|
|
|
|
checksums rmd160 65654bc059a20166f0501f59b59f66626d330ec7 \
|
|
sha256 26606fec1e30cf7506c7afa943460c31e8dac87f35b7f178f437574d654cf672 \
|
|
size 19562
|
|
|
|
python.versions 312
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:chmlib
|
|
|
|
build.env CFLAGS=-I${prefix}/include \
|
|
LDFLAGS=-L${prefix}/lib
|
|
|
|
post-destroot {
|
|
xinstall -m 0644 -W ${worksrcpath} COPYING LICENSE NEWS README \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
}
|