Ticket #5782: Portfile

File Portfile, 1.5 KB (added by pkern@…, 18 years ago)

mail/gnupg2/Portfile

Line 
1# $Id: Portfile,v 1.34 2005/08/05 18:47:11 waqar Exp $
2
3PortSystem      1.0
4name            gnupg2
5version         1.9.19
6categories      mail security
7maintainers     pkern@opendarwin.org
8description     GNU pretty-good-privacy package
9long_description        \
10        GnuPG is a complete and free replacement for PGP. Because       \
11        it does not use the patented IDEA algorithm, it can be used     \
12        without any restrictions. GnuPG is a RFC2440 (OpenPGP)          \
13        compliant application.
14homepage        http://www.gnupg.org
15platforms       darwin freebsd sunos
16distname        gnupg-${version}
17master_sites    http://mirrors.rootmode.com/ftp.gnupg.org/alpha/gnupg/ \
18                ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ \
19                ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
20
21use_bzip2       yes
22checksums       ${distfiles} md5 8084256a61aa90e0173d436bf1e6f82b
23
24configure.args  --mandir=${prefix}/share/man            \
25                --infodir=${prefix}/share/info          \
26                --disable-asm --disable-dynload         \
27                --enable-gpg                            \
28                --with-libiconv-prefix=${prefix}        \
29                --with-libintl-prefix=${prefix}         \
30                --with-zlib=${prefix}                   \
31                --with-bzip2=${prefix}
32
33depends_lib     port:libiconv   \
34                port:gettext    \
35                port:zlib       \
36                port:bzip2      \
37                port:libassuan  \
38                port:libksba    \
39                port:pth
40
41patchfiles      patch-pthlibs
42
43test.run        yes
44test.dir        ${worksrcpath}/checks
45test.target     check
46
47platform sunos  {
48        configure.args-delete --disable-asm --disable-dynload
49}
50
51post-destroot   {
52        file delete -force ${destroot}${prefix}/share/info/dir \
53                ${destroot}${prefix}/share/locale/locale.alias \
54                ${destroot}${prefix}/lib/charset.alias
55}
56