source: trunk/dports/python/py-xmlsec/Portfile @ 139229

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

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-xmlsec
7version                 0.3.0
8revision                1
9categories-append       security textproc
10license                 GPL-2+
11platforms               darwin
12maintainers             nomaintainer
13description             a set of Python bindings for the XML Security Library.
14long_description        ${description}
15
16homepage                http://pyxmlsec.labs.libre-entreprise.org/
17master_sites    http://labs.libre-entreprise.org/download.php/430/
18distname                pyxmlsec-${version}
19checksums               md5     150631f634654804076f73a0859fea1a \
20                                sha1    4752ced5316d676a800230eca0408dd204ffe2b4 \
21                                rmd160  aa945ca704ea92747e3ad46041c03b0d37380147
22
23python.versions 27
24
25if {${name} ne ${subport}} {
26    patchfiles          patch-setup.py
27   
28    depends_lib-append  port:py${python.version}-libxml2 \
29                    path:lib/libssl.dylib:openssl \
30                    port:xmlsec
31   
32    post-destroot       {
33        file delete ${destroot}${prefix}/share/doc/${subport}/examples
34        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}/
35        file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${subport}/
36        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
37            PKG-INFO README TODO ${destroot}${prefix}/share/doc/${subport}
38    }
39}
Note: See TracBrowser for help on using the repository browser.