1 | # $Id: Portfile,v 1.34 2005/08/05 18:47:11 waqar Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name gnupg2 |
---|
5 | version 1.9.19 |
---|
6 | categories mail security |
---|
7 | maintainers pkern@opendarwin.org |
---|
8 | description GNU pretty-good-privacy package |
---|
9 | long_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. |
---|
14 | homepage http://www.gnupg.org |
---|
15 | platforms darwin freebsd sunos |
---|
16 | distname gnupg-${version} |
---|
17 | master_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 | |
---|
21 | use_bzip2 yes |
---|
22 | checksums ${distfiles} md5 8084256a61aa90e0173d436bf1e6f82b |
---|
23 | |
---|
24 | configure.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 | |
---|
33 | depends_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 | |
---|
44 | patchfiles patch-pthlibs |
---|
45 | |
---|
46 | test.run yes |
---|
47 | test.dir ${worksrcpath}/checks |
---|
48 | test.target check |
---|
49 | |
---|
50 | platform sunos { |
---|
51 | configure.args-delete --disable-asm --disable-dynload |
---|
52 | } |
---|
53 | |
---|
54 | post-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 | |
---|