Files
2026-01-13 18:52:36 +09:00

37 lines
1.2 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-xkcdpass
version 1.30.0
revision 0
description A flexible and scriptable password generator which generates strong \
passphrases, inspired by XKCD 936
long_description {*}${description}
homepage https://github.com/redacted/XKCD-password-generator
platforms {darwin any}
supported_archs noarch
categories python security
license BSD
maintainers {amake @amake} openmaintainer
checksums rmd160 e8092f8d8fb23ed4ee521422dfff260e36a43c10 \
sha256 8a3a6b60255da40d0e5c812458280278c82d2c1cb90e48afbd6777dbbf8795c3 \
size 2763380
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
post-destroot {
xinstall -m 0755 -d ${destroot}${python.prefix}/share/man/man1
xinstall -m 0644 ${worksrcpath}/xkcdpass.1 ${destroot}${python.prefix}/share/man/man1
system "gzip -9vf ${destroot}${python.prefix}/share/man/man1/xkcdpass.1"
}
test.run yes
}