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:libassuan \ |
---|
38 | port:libksba \ |
---|
39 | port:pth |
---|
40 | |
---|
41 | patchfiles patch-pthlibs |
---|
42 | |
---|
43 | test.run yes |
---|
44 | test.dir ${worksrcpath}/checks |
---|
45 | test.target check |
---|
46 | |
---|
47 | platform sunos { |
---|
48 | configure.args-delete --disable-asm --disable-dynload |
---|
49 | } |
---|
50 | |
---|
51 | post-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 | |
---|