/
Portfile
36 lines (27 loc) · 1.17 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- 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.3.0
revision 0
supported_archs noarch
platforms {darwin any}
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 5dc74e6c9910587b3d1939c569729972fe6bbd54 \
sha256 1cc6ad5c6c88457230b3cc3d1f76c39c00dcd2597af9c6ee592dce5e67eb2cad \
size 4673
python.versions 38 39 310 311 312
if {${name} ne ${subport}} {
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}
}
}