Skip to content

Instantly share code, notes, and snippets.

@jmroot
Created September 7, 2023 08:19
Show Gist options
  • Select an option

  • Save jmroot/199e3a9348226979350e4be7d20ae865 to your computer and use it in GitHub Desktop.

Select an option

Save jmroot/199e3a9348226979350e4be7d20ae865 to your computer and use it in GitHub Desktop.
Incomplete Portfile for osxphotos
# -*- 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 osxphotos
version 0.63.0
categories graphics
platforms {darwin any}
supported_archs noarch
maintainers nomaintainer
license MIT
description Export photos from Apple's macOS Photos app and \
query the Photos library database
long_description Python app to export pictures and associated \
metadata from Apple Photos on macOS. Also \
includes a package to provide programmatic access \
to the Photos library, pictures, and metadata.
homepage https://github.com/RhetTbull/osxphotos
checksums md5 176b7bc4323571c6058a0b05b50dcb33 \
rmd160 replaceme \
sha256 178d3cfd36d9c41409039e77c93cb4d5718c94a2b1dd92f2f17b02952e31766d
python.default_version 311
depends_run port:py${python.version}-click \
port:py${python.version}-mako
# add the rest of the dependencies...
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} LICENSE README.md README.rst \
${destroot}${docdir}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment