Skip to content
Permalink
Browse files

Port: qca

Version:	1.0

New port devel/qca
The Qt Cryptographic Architecture extension for Qt

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15048 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
blb committed Nov 16, 2005
1 parent 9b00f4c commit a9b36980791893dc34f74728618a6381f395ff9f
Showing with 47 additions and 0 deletions.
  1. +47 −0 devel/qca/Portfile
@@ -0,0 +1,47 @@
# $Id: Portfile,v 1.1 2005/11/16 21:21:33 blb Exp $

PortSystem 1.0
name qca
version 1.0
categories devel crypto security
maintainers blb@opendarwin.org
description Qt Cryptographic Architecture
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 ${homepage}
use_bzip2 yes

checksums md5 ee44022eb0e5b8b5df64c62630f6e6b6

depends_lib port:qt3-mac

configure.args --qtdir=${prefix}

post-build {
system "install_name_tool -id ${prefix}/lib/libqca.1.dylib \
${worksrcpath}/libqca.1.dylib"
}

destroot {
xinstall -m 755 -d ${destroot}${prefix}/lib ${destroot}${prefix}/include \
${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/share/examples/${name}
xinstall -m 644 -W ${worksrcpath} libqca.1.0.0.dylib \
${destroot}${prefix}/lib
system "ln -sf libqca.1.0.0.dylib ${destroot}${prefix}/lib/libqca.dylib"
system "ln -sf libqca.1.0.0.dylib ${destroot}${prefix}/lib/libqca.1.dylib"
system "ln -sf libqca.1.0.0.dylib \
${destroot}${prefix}/lib/libqca.1.0.dylib"
xinstall -m 644 -W ${worksrcpath}/src qca.h ${destroot}${prefix}/include
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}
}

0 comments on commit a9b3698

Please sign in to comment.
You can’t perform that action at this time.