source: trunk/dports/mail/gnupg/Portfile @ 75257

Last change on this file since 75257 was 75257, checked in by ryandesign@…, 10 years ago

Mark Waqar's ports as openmaintainer since he hasn't committed in years

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 75257 2011-01-19 06:23:12Z ryandesign@macports.org $
3
4PortSystem  1.0
5
6name            gnupg
7version         1.4.11
8categories      mail security
9maintainers     waqar openmaintainer
10description     GNU pretty-good-privacy package
11long_description \
12    GnuPG is a complete and free replacement for PGP. Because \
13    it does not use the patented IDEA algorithm, it can be used \
14    without any restrictions. GnuPG is a RFC2440 (OpenPGP) \
15    compliant application.
16homepage        http://www.gnupg.org
17platforms       darwin freebsd sunos
18master_sites    gnupg
19
20use_bzip2       yes
21checksums       ${distname}${extract.suffix}    md5     411744e1ef8ce90b87938c4203f001f1 \
22                                                sha1    78e22f5cca88514ee71034aafff539c33f3c6676 \
23                                                rmd160  9daf2dedfd4c6211fc13b8cdee8f08b8f5925378
24
25configure.args  --mandir=${prefix}/share/man \
26                --infodir=${prefix}/share/info \
27                --disable-asm --disable-dynload \
28                --with-libiconv-prefix=${prefix} \
29                --with-libintl-prefix=${prefix} \
30                --with-zlib=${prefix} \
31                --with-bzip2=${prefix} \
32                --with-libusb=${prefix}
33
34depends_lib     port:libiconv \
35                port:gettext \
36                port:readline \
37                port:zlib \
38                port:bzip2 \
39                port:libusb-compat
40
41test.run        yes
42test.dir        ${worksrcpath}/checks
43test.target     check
44
45variant idea description {Add support for the patented IDEA algorithm} {
46    patch_sites-append  http://www.gnupg.dk/contrib-dk
47    patchfiles          idea.c.gz
48    checksums-append \
49        idea.c.gz md5    9dc3bc086824a8c7a331f35e09a3e57f \
50                  sha1   82fded4ec31b97b3b2dd22741880b67cfee40f84 \
51                  rmd160 e35be5a031d10d52341ac5f029d28f811edd908d
52    patch.dir           ${worksrcpath}/cipher
53    patch.cmd           cat
54    patch.pre_args      > idea.c
55}
56
57platform sunos {
58    configure.args-delete --disable-asm --disable-dynload
59}
60
61livecheck.type  regex
62livecheck.url   ftp://ftp.gnupg.org/GnuPG/${name}/
63livecheck.regex ${name}-(1\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.