# $Id$ PortSystem 1.0 name makepasswd version 1.10-3 revision 1 categories security platforms darwin maintainers gmail.com:ooburai 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/ patch_sites http://macports.quay.net/sources/security/makepasswd/files/ distfiles ${name}_${version}_all.deb patchfiles patch-makepasswd.diff checksums ${name}_${version}_all.deb \ sha1 6f89e016f52e43068f6feb2bda5f8a8c475a3ef5 \ patch-makepasswd.diff \ sha1 58b6d05b1da01ae75cb04fadd27aa6902fe9d403 depends_lib port:p5.12-crypt-passwdmd5 extract.cmd ar extract.pre_args -x extract.post_args data.tar.gz && mkdir ${worksrcpath} && \ tar -C ${worksrcpath} -xzf data.tar.gz configure {} post-configure { reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|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 }