# -*- 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 makefile 1.0 PortGroup deprecated 1.0 name apg version 2.3.0b revision 1 categories security license BSD maintainers nomaintainer description tool set for random password generation long_description APG generates random passwords. Its pronounceable \ password generation algorithm conforms to NIST FIPS 181, and its \ random character algorithm has 35 configurable modes. APG \ supports ANSI X9.17 random number generation (CAST/SHA1) with a \ built-in password quality checking system. platforms darwin homepage https://web.archive.org/web/20130313042424/http://www.adel.nursat.kz/apg/ # this should eventually be macports_distfiles master_sites https://src.fedoraproject.org/repo/pkgs/apg/apg-2.3.0b.tar.gz/bd82400a5a731070ce895313576afe24/ deprecated.upstream_support \ no checksums rmd160 18f9955d6fdb721bec26613860b312d7fea6fba7 \ sha256 d1e52029709e2d7f9cb99bedce3e02ee7a63cff7b8e2b4c2bc55b3dc03c28b92 \ size 109995 post-extract { system "chmod -R ug+w ${worksrcpath}" } patchfiles patch-Makefile.diff \ patch-apg.c.diff depends_lib port:cracklib build.args-append CFLAGS="\$CPPFLAGS \$CFLAGS \$LDFLAGS" build.env-append CRACKLIB_DICTPATH=\"${prefix}/share/cracklib/pw_dict\" destroot { xinstall -m 755 -s ${worksrcpath}/apg \ ${worksrcpath}/apgbfm \ ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/doc/man/apg.1 \ ${worksrcpath}/doc/man/apgbfm.1 \ ${destroot}${prefix}/share/man/man1 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/doc \ APG_TIPS pronun.txt rfc0972.txt rfc1750.txt \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} \ README COPYING THANKS \ ${destroot}${prefix}/share/doc/${name} } livecheck.type none