source: trunk/dports/devel/qca/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem          1.0
4name                qca
5version             2.0.0
6categories          devel crypto security
7maintainers         digitalis.org:rowue
8description         Qt Cryptographic Architecture
9revision            2
10long_description \
11    This library provides an easy API for the following features: SSL/TLS, \
12    X509, SASL, RSA, Hashing (SHA1, MD5), Ciphers (BlowFish, 3DES, AES), \
13    Functionality is supplied via plugins.
14
15platforms            darwin
16
17homepage             http://delta.affinix.com/qca/
18master_sites         http://delta.affinix.com/download/qca/2.0/
19use_bzip2            yes
20
21checksums            md5 07d54358ef4880d05b3c6f56b629aa55 \
22                     sha1 5b896647426637e1974703f2950786746408c70b \
23                     rmd160 256ca518fea507d03b67c0f5d26ba2ac7b3db517
24
25depends_lib          port:qt4-mac
26
27configure.args       --qtdir=${prefix}/libexec/qt4-mac
28
29post-build {
30    system "install_name_tool -id ${prefix}/lib/libqca.2.dylib \
31        ${worksrcpath}/lib/libqca.2.dylib"
32}
33
34destroot {
35    xinstall -m 755 -d ${destroot}${prefix}/lib ${destroot}${prefix}/include \
36        ${destroot}${prefix}/share/qt4/mkspecs/features \
37        ${destroot}${prefix}/lib/pkgconfig \
38        ${destroot}${prefix}/share/doc/${name} \
39        ${destroot}${prefix}/share/examples/${name} \
40        ${destroot}${prefix}/include/QTCrypto
41       
42    xinstall -m 644 -W ${worksrcpath}/lib libqca.2.0.0.dylib \
43                ${destroot}${prefix}/lib
44    system "ln -sf libqca.2.0.0.dylib ${destroot}${prefix}/lib/libqca.dylib"
45    system "ln -sf libqca.2.0.0.dylib ${destroot}${prefix}/lib/libqca.2.dylib"
46    system "ln -sf libqca.2.0.0.dylib \
47                ${destroot}${prefix}/lib/libqca.2.0.dylib"
48
49    foreach f [glob ${worksrcpath}/include/QtCrypto/*] {
50        xinstall -m 644 $f ${destroot}${prefix}/include/QTCrypto
51    }
52
53    xinstall -m 644 -W ${worksrcpath} crypto.prf \
54        ${destroot}${prefix}/share/qt4/mkspecs/features
55    xinstall -m 644 -W ${worksrcpath}/lib qca2.pc \
56        ${destroot}${prefix}/lib/pkgconfig
57    xinstall -m 644 -W ${worksrcpath} COPYING INSTALL README TODO \
58        ${destroot}${prefix}/share/doc/${name}
59    eval file copy [glob ${worksrcpath}/examples/*] \
60        ${destroot}${prefix}/share/examples/${name}
61}
62
Note: See TracBrowser for help on using the repository browser.