# -*- 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 github 1.0 PortGroup python 1.0 github.setup mikf gallery-dl 1.26.9 v github.tarball_from releases distname gallery_dl-${github.version} categories net maintainers {@akierig fastmail.de:akierig} openmaintainer revision 0 checksums rmd160 88c30991aef6666780f9354305634bc3368806d3 \ sha256 3e06dfa69c890a9805ba90509e0f0c50f8a16c39a2b780bec569d2cc2272bb99 \ size 505390 description command-line program to download image galleries and \ collections from several image hosting sites long_description ${name} is a {*}${description}. It is a cross-platform tool \ with many configuration options and powerful filenaming \ capabilities. supported_archs noarch platforms {darwin any} license GPL-2 python.default_version 312 depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-brotli \ port:py${python.version}-requests \ port:py${python.version}-socks variant ffmpeg description {Add ffmpeg dependency to enable Pixiv Ugoira to WebM conversion} { depends_run-append path:bin/ffmpeg:ffmpeg } variant youtubedl description {Add youtube-dl dependency to enable video downloads} { depends_run-append port:youtube-dl } variant ytdlp description {Add yt-dlp dependency to enable video downloads} { depends_run-append port:yt-dlp } post-destroot { ln -s ${python.prefix}/share/man/man1/gallery-dl.1 ${destroot}${prefix}/share/man/man1/gallery-dl.1 ln -s ${python.prefix}/share/man/man5/gallery-dl.conf.5 ${destroot}${prefix}/share/man/man5/gallery-dl.conf.5 }