source: trunk/dports/security/apg/Portfile @ 12014

Last change on this file since 12014 was 12014, checked in by mww, 15 years ago

Bug: 2969
Submitted by: cssdev@…
Reviewed by: mww@

new port security/apg

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.1 2005/04/25 13:01:35 mww Exp $
2
3PortSystem 1.0
4name                    apg
5version                 2.2.3
6categories              security
7maintainers             cssdev@mac.com
8
9description             tool set for random password generation
10
11long_description        APG generates random passwords. Its pronounceable \
12        password generation algorithm conforms to NIST FIPS 181, and its  \
13        random character algorithm has 35 configurable modes. APG         \
14        supports ANSI X9.17 random number generation (CAST/SHA1) with a   \
15        built-in password quality checking system.
16
17platforms               darwin
18homepage                http://www.adel.nursat.kz/apg/
19master_sites            ${homepage}/download/
20checksums               md5 3b3fc4f11e90635519fe627c1137c9ac
21
22depends_lib             lib:crypto:openssl
23
24patchfiles              patch-Makefile.diff
25
26post-patch {
27        reinplace "s|__DESTROOT__|${destroot}|" ${worksrcpath}/Makefile
28}
29
30use_configure           no
31
32destroot {
33        xinstall -m 755 -s ${worksrcpath}/apg ${destroot}${prefix}/bin
34        xinstall -m 644 ${worksrcpath}/doc/man/apg.1 \
35                ${destroot}${prefix}/share/man/man1
36        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
37        xinstall -m 644 -W ${worksrcpath}/doc APG_TIPS pronun.txt rfc0972.txt \
38                rfc1750.txt ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 644 -W ${worksrcpath} README COPYING THANKS \
40                ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.