[32919] trunk/dports/devel/qca/Portfile

rowue at macports.org rowue at macports.org
Mon Jan 14 18:38:37 PST 2008


Revision: 32919
          http://trac.macosforge.org/projects/macports/changeset/32919
Author:   rowue at macports.org
Date:     2008-01-14 18:38:36 -0800 (Mon, 14 Jan 2008)

Log Message:
-----------
Had overseen the include files

Modified Paths:
--------------
    trunk/dports/devel/qca/Portfile

Modified: trunk/dports/devel/qca/Portfile
===================================================================
--- trunk/dports/devel/qca/Portfile	2008-01-15 01:34:03 UTC (rev 32918)
+++ trunk/dports/devel/qca/Portfile	2008-01-15 02:38:36 UTC (rev 32919)
@@ -1,44 +1,55 @@
 # $Id$
 
-PortSystem          1.0
-name                qca
-version             2.0
-categories          devel crypto security
-maintainers         rowue at macports.org
-description         Qt Cryptographic Architecture
+PortSystem            1.0
+name                  qca
+version               2.0.0
+categories            devel crypto security
+maintainers           rowue at digitalis.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
+platforms            darwin
 
-homepage            http://delta.affinix.com/qca/
-master_sites        http://delta.affinix.com/download/qca/2.0/
-use_bzip2           yes
+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
+checksums            md5 07d54358ef4880d05b3c6f56b629aa55 \
+                     sha1 5b896647426637e1974703f2950786746408c70b \
+                     rmd160 256ca518fea507d03b67c0f5d26ba2ac7b3db517
 
+depends_lib          port:qt4-mac
 
-depends_lib         port:qt4-mac
+configure.args       --qtdir=${prefix}
 
-configure.args      --qtdir=${prefix}
-
 post-build {
     system "install_name_tool -id ${prefix}/lib/libqca.2.dylib \
-        ${worksrcpath}/libqca.2.dylib"
+        ${worksrcpath}/lib/libqca.2.dylib"
 }
 
 destroot {
     xinstall -m 755 -d ${destroot}${prefix}/lib ${destroot}${prefix}/include \
-            ${destroot}${prefix}/share/doc/${name} \
-            ${destroot}${prefix}/share/examples/${name} \
-            ${destroot}${prefix}/include/QTCrypto
+        ${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} COPYING INSTALL README TODO \
-            ${destroot}${prefix}/share/doc/${name}
+        ${destroot}${prefix}/share/doc/${name}
     eval file copy [glob ${worksrcpath}/examples/*] \
-            ${destroot}${prefix}/share/examples/${name}
+        ${destroot}${prefix}/share/examples/${name}
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080114/4cb4c3a6/attachment.html


More information about the macports-changes mailing list