source: trunk/dports/security/xmlsec/Portfile @ 104704

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

gnutls: Bump to 3.1.10 and revbump dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 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 104704 2013-04-01 03:14:41Z jeremyhu@macports.org $
3
4PortSystem                  1.0
5
6name                        xmlsec
7version                     1.2.18
8revision                    1
9categories                  security textproc devel
10license                     MIT
11platforms                   darwin
12maintainers                 nomaintainer
13
14description                 XML Security Library is a C library based on LibXML2.
15
16long_description            XML Security Library is a C library based on LibXML2. The \
17                            library supports major XML security standards. XML Signature, \
18                            XML Encryption, Canonical XML and Exclusive Canonical XML.
19
20homepage                    http://www.aleksey.com/xmlsec/
21master_sites                ${homepage}download/ \
22                            ftp://ftp.xmlsoft.org/xmlsec/releases/
23distname                    xmlsec1-${version}
24
25checksums                   sha1    740c3c791be838bf638651a3fe0e80c624c2ae0e \
26                            rmd160  da4eb26dc0f9b2bcc7d8da216cbff47fd5fadbe2
27
28depends_build               port:pkgconfig
29
30depends_lib                 port:libxml2 \
31                            port:libxslt \
32                            port:libiconv \
33                            port:libtool \
34                            port:zlib
35
36patchfiles                  patch-src-dl.c.diff
37post-patch {
38    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/dl.c
39}
40
41configure.args              --with-libxml=${prefix} \
42                            --with-libxslt=${prefix}
43
44# Add gcrypt support.
45depends_lib-append          port:libgcrypt
46configure.args-append       --with-gcrypt=${prefix}
47
48# Add gnutls support.
49depends_lib-append          port:gnutls
50# Do not specify the path to gnutls or it will fail to find it, because
51# it looks for the libgnutls-config script that gnutls no longer provides.
52# Do not remove the equals sign or it will fail trying to find the
53# libraries and headers in a directory called "yes".
54configure.args-append       --with-gnutls=
55
56# Add nss and nspr support.
57depends_lib-append          port:nss port:nspr
58configure.args-append       --with-nss=${prefix} --with-nspr=${prefix}
59configure.ldflags-append    -L${prefix}/lib/nss -L${prefix}/lib/nspr
60# nss is not universal.
61universal_variant           no
62
63# Add openssl support.
64depends_lib-append          port:openssl
65# Do not specify the path to openssl or it will try to link with the
66# static library instead of the dynamic one, and it will fail when
67# openssl is installed universal.
68# Do not remove the equals sign or it will fail trying to find the
69# libraries and headers in a directory called "yes".
70configure.args-append       --with-openssl=
71
72test.run                    yes
73test.target                 check
74
75livecheck.type              regex
76livecheck.url               ${homepage}download.html
77livecheck.regex             {xmlsec1-([0-9.]+)\.}
Note: See TracBrowser for help on using the repository browser.