source: trunk/dports/security/openpgpsdk/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                openpgpsdk
6version             0.9
7revision            2
8categories          security devel
9license             BSD
10maintainers         nomaintainer
11description         OpenPGP library SDK
12long_description \
13   The OpenPGP SDK project provides an open source library, written in C, \
14   which implements the OpenPGP specification.
15
16platforms           darwin
17
18homepage            http://openpgp.nominet.org.uk/
19master_sites        ${homepage}downloads/
20extract.suffix      .tgz
21
22checksums           md5     a2fe87ee864e6bcc0d5ea3db20e0f57a \
23                    sha1    faa2eb844da0f1689dee29c3220364545ca7746b \
24                    rmd160  9260e464f8f9b385d0cc8348d20e1c264856cee3
25
26depends_build       bin:perl:perl5 bin:gpg:gnupg
27
28depends_lib         path:lib/libssl.dylib:openssl port:bzip2 port:zlib port:cunit
29
30universal_variant   no
31
32patchfiles          patch-disable_werror.diff
33
34configure.pre_args
35configure.args      --with-bz2lib=${prefix}/lib --with-cunit=${prefix} \
36                    --with-openssl=${prefix} --with-zlib=${prefix}/lib \
37                    --cc=${configure.cc}
38
39test.run            yes
40
41destroot {
42   copy ${worksrcpath}/include/${name} ${destroot}${prefix}/include
43   xinstall -m 644 -W ${worksrcpath}/lib libops.a ${destroot}${prefix}/lib
44   xinstall -m 755 -W ${worksrcpath}/bin openpgp ${destroot}${prefix}/bin
45}
46
47variant doc description {Install doxygen-generated documentation} {
48   depends_build-append   port:doxygen
49   build.target-append    doc
50   post-destroot {
51      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
52      # Using foreach instead of copy due to the number of files
53      foreach htmlfile [glob ${worksrcpath}/doc/doxy-user/html/*] {
54         xinstall -m 644 ${htmlfile} ${destroot}${prefix}/share/doc/${name}
55      }
56      foreach manpage [glob ${worksrcpath}/doc/doxy-user/man/man3/*] {
57         xinstall -m 644 ${manpage} ${destroot}${prefix}/share/man/man3/
58      }
59   }
60}
61
62livecheck.type      none
Note: See TracBrowser for help on using the repository browser.