Files
2021-03-05 22:30:43 -05:00

42 lines
1.3 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-applaunchservices
version 0.2.1
revision 0
platforms darwin
supported_archs noarch
license MIT
maintainers {reneeotten @reneeotten} openmaintainer
description Simple package for registering an app with apple Launch Services to handle UTI and URL
long_description ${description}
homepage https://github.com/impact27/applaunchservices
checksums rmd160 49acf20bf95346a3c4517740f692069470fc2046 \
sha256 3da9d5435aec18eb70000f51cdf5ca428ba4bf03f36d922eb04635f8b5af4296 \
size 4588
python.versions 27 35 36 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
port:py${python.version}-pyobjc
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md LICENSE.txt \
${destroot}${docdir}
}
livecheck.type none
}