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

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

gnupg: update to 1.4.14 (#39953)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 108801 2013-08-02 02:45:22Z ryandesign@macports.org $
3
4PortSystem  1.0
5
6name            gnupg
7version         1.4.14
8categories      mail security
9license         GPL-3+
10installs_libs   no
11maintainers     nomaintainer
12description     GNU pretty-good-privacy package
13long_description \
14    GnuPG is a complete and free replacement for PGP. Because \
15    it does not use the patented IDEA algorithm, it can be used \
16    without any restrictions. GnuPG is a RFC2440 (OpenPGP) \
17    compliant application.
18homepage        http://www.gnupg.org
19platforms       darwin freebsd sunos
20master_sites    gnupg
21
22use_bzip2       yes
23checksums       ${distname}${extract.suffix}    md5     99dede468204cb6ee22de7e3e3772ab1 \
24                                                sha1    6202181ba2871fb3448c751a573b4ae0c4770806 \
25                                                rmd160  a834d1d4933b8927bfefb3936baa76f12ce7fc1d
26
27configure.args  --mandir=${prefix}/share/man \
28                --infodir=${prefix}/share/info \
29                --disable-asm \
30                --with-libiconv-prefix=${prefix} \
31                --with-libintl-prefix=${prefix} \
32                --with-zlib=${prefix} \
33                --with-bzip2=${prefix} \
34                --with-libusb=${prefix} \
35                --with-ldap=${prefix} \
36                --with-libcurl=${prefix}
37
38depends_lib     port:libiconv \
39                port:gettext \
40                port:readline \
41                port:zlib \
42                port:bzip2 \
43                port:libusb-compat \
44                port:openldap \
45                port:curl
46
47test.run        yes
48test.dir        ${worksrcpath}/checks
49test.target     check
50
51# clang defaults to c99, and gnupg doesn't play nicely
52if {${configure.compiler} == "clang"} {
53    configure.cflags-append -std=gnu89
54}
55
56variant idea description {Add support for the patented IDEA algorithm} {
57    patch_sites-append  http://www.gnupg.dk/contrib-dk
58    patchfiles          idea.c.gz
59    checksums-append \
60        idea.c.gz md5    9dc3bc086824a8c7a331f35e09a3e57f \
61                  sha1   82fded4ec31b97b3b2dd22741880b67cfee40f84 \
62                  rmd160 e35be5a031d10d52341ac5f029d28f811edd908d
63    patch.dir           ${worksrcpath}/cipher
64    patch.cmd           cat
65    patch.pre_args      > idea.c
66}
67
68platform sunos {
69    configure.args-delete --disable-asm
70}
71
72livecheck.type  regex
73livecheck.url   ftp://ftp.gnupg.org/GnuPG/${name}/
74livecheck.regex ${name}-(1\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.