# -*- 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 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 name makepasswd version 1.10-9 revision 1 categories security license GPL-2 platforms darwin maintainers nomaintainer description generate and encrypt passwords long_description A port of Rob Levin's makepasswd tool. homepage http://packages.debian.org/stable/source/makepasswd master_sites http://ftp.debian.org/debian/pool/main/m/makepasswd/ distfiles ${name}_${version}_all.deb patchfiles patch-usr-bin-makepasswd.diff checksums rmd160 f9030e907dda724d46e71675fc97e9594de70924 \ sha256 a20939a863dc262cbb22c2e7061e5bd22839149d59a5b82ebfbc1e149f4d9d5e perl5.branches 5.24 depends_run port:p${perl5.major}-crypt-passwdmd5 \ port:p${perl5.major}-crypt-openssl-random extract.cmd ar extract.pre_args -x extract.post_args data.tar.gz && mkdir ${worksrcpath} && \ tar -C ${worksrcpath} -xzf data.tar.gz use_configure no post-configure { reinplace "s|/usr/bin/perl|${perl5.bin}|g" \ "${worksrcpath}/usr/bin/makepasswd" } build {} destroot { xinstall -m 0755 ${worksrcpath}/usr/bin/makepasswd \ ${destroot}${prefix}/bin/makepasswd xinstall -m 0644 \ ${worksrcpath}/usr/share/man/man1/makepasswd.1.gz \ ${destroot}${prefix}/share/man/man1/makepasswd.1.gz }