# $Id$ PortSystem 1.0 name qca version 2.0.0 categories devel crypto security maintainers digitalis.org:rowue description Qt Cryptographic Architecture revision 2 long_description \ This library provides an easy API for the following features: SSL/TLS, \ X509, SASL, RSA, Hashing (SHA1, MD5), Ciphers (BlowFish, 3DES, AES), \ Functionality is supplied via plugins. platforms darwin homepage http://delta.affinix.com/qca/ master_sites http://delta.affinix.com/download/qca/2.0/ use_bzip2 yes checksums md5 07d54358ef4880d05b3c6f56b629aa55 \ sha1 5b896647426637e1974703f2950786746408c70b \ rmd160 256ca518fea507d03b67c0f5d26ba2ac7b3db517 depends_lib port:qt4-mac configure.args --qtdir=${prefix}/libexec/qt4-mac post-build { system "install_name_tool -id ${prefix}/lib/libqca.2.dylib \ ${worksrcpath}/lib/libqca.2.dylib" } destroot { xinstall -m 755 -d ${destroot}${prefix}/lib ${destroot}${prefix}/include \ ${destroot}${prefix}/share/qt4/mkspecs/features \ ${destroot}${prefix}/lib/pkgconfig \ ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/examples/${name} \ ${destroot}${prefix}/include/QTCrypto xinstall -m 644 -W ${worksrcpath}/lib libqca.2.0.0.dylib \ ${destroot}${prefix}/lib system "ln -sf libqca.2.0.0.dylib ${destroot}${prefix}/lib/libqca.dylib" system "ln -sf libqca.2.0.0.dylib ${destroot}${prefix}/lib/libqca.2.dylib" system "ln -sf libqca.2.0.0.dylib \ ${destroot}${prefix}/lib/libqca.2.0.dylib" foreach f [glob ${worksrcpath}/include/QtCrypto/*] { xinstall -m 644 $f ${destroot}${prefix}/include/QTCrypto } xinstall -m 644 -W ${worksrcpath} crypto.prf \ ${destroot}${prefix}/share/qt4/mkspecs/features xinstall -m 644 -W ${worksrcpath}/lib qca2.pc \ ${destroot}${prefix}/lib/pkgconfig xinstall -m 644 -W ${worksrcpath} COPYING INSTALL README TODO \ ${destroot}${prefix}/share/doc/${name} eval file copy [glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${name} }