Ticket #5782: Portfile.3

File Portfile.3, 1.6 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 --disable-agent            \
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:bison              \
38                port:libassuan          \
39                port:libksba            \
40                port:libgcrypt          \
41                port:libgpg-error       \
42                port:pth
43
44patchfiles      patch-pthlibs
45
46test.run        yes
47test.dir        ${worksrcpath}/checks
48test.target     check
49
50platform sunos  {
51        configure.args-delete --disable-asm --disable-dynload
52}
53
54post-destroot   {
55        file delete -force ${destroot}${prefix}/share/info/dir \
56                ${destroot}${prefix}/share/locale/locale.alias \
57                ${destroot}${prefix}/lib/charset.alias
58}
59