You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
46 lines
1.7 KiB
Tcl
46 lines
1.7 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-py2app
|
|
version 0.24
|
|
categories-append devel
|
|
license {MIT PSF}
|
|
maintainers {jmr @jmroot} openmaintainer
|
|
description converts python scripts into executable Mac OS X apps
|
|
long_description \
|
|
A distutils extension which converts python scripts into executable \
|
|
Mac OS X applications, able to run without requiring an existing python \
|
|
installation. This is a replacement for bundlebuilder.
|
|
|
|
platforms darwin
|
|
|
|
homepage https://github.com/ronaldoussoren/py2app
|
|
|
|
checksums md5 cf9a2a27d150856f9845cb5ef9249e81 \
|
|
rmd160 597e745425c76d765067b8f0ec25de83a411144d \
|
|
sha256 753915b2efaa72b23de1553e00f2cd9d3b4fdc05269ccae4b65c710e38121d67
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {$subport ne $name} {
|
|
depends_lib port:py${python.version}-macholib
|
|
# needs either importlib.metadata or pkg_resources at runtime
|
|
if {${python.version} >= 38} {
|
|
depends_build-append port:py${python.version}-setuptools
|
|
} else {
|
|
depends_lib-append port:py${python.version}-setuptools
|
|
}
|
|
|
|
post-destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
|
|
${destroot}${prefix}/share/examples/${subport}
|
|
xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.rst \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
file copy {*}[glob ${worksrcpath}/examples/*] \
|
|
${destroot}${prefix}/share/examples/${subport}
|
|
}
|
|
livecheck.type none
|
|
}
|