[31806] trunk/dports/security/afflib/Portfile
ricci at macports.org
ricci at macports.org
Fri Dec 7 21:41:48 PST 2007
Revision: 31806
http://trac.macosforge.org/projects/macports/changeset/31806
Author: ricci at macports.org
Date: 2007-12-07 21:41:46 -0800 (Fri, 07 Dec 2007)
Log Message:
-----------
add a pre-destroot step to copy over the lib and include files
Modified Paths:
--------------
trunk/dports/security/afflib/Portfile
Modified: trunk/dports/security/afflib/Portfile
===================================================================
--- trunk/dports/security/afflib/Portfile 2007-12-08 04:25:07 UTC (rev 31805)
+++ trunk/dports/security/afflib/Portfile 2007-12-08 05:41:46 UTC (rev 31806)
@@ -33,7 +33,19 @@
--with-ssl=${prefix} \
--with-zlib=${prefix}
+pre-destroot {
+ ## install things that don't get automatically installed (say, libs, headers...)
+ ## really the auto* stuff needs to be reworked, below is a band-aid
+ xinstall -d ${destroot}/${prefix}/lib
+ xinstall -m 0644 ${worksrcpath}/lib/.libs/libafflib.a ${destroot}/${prefix}/lib/
+ xinstall -d ${destroot}/${prefix}/include/${name}/lib
+ foreach header [glob ${worksrcpath}/lib/*.h] {
+ xinstall -m 0644 $header ${destroot}${prefix}/include/${name}/lib
+ }
+ xinstall -m 0644 ${worksrcpath}/config.h ${destroot}${prefix}/include/${name}/
+}
+
variant s3 description { Enable the use of Amazon's S3 service } {
configure.args-append --enable-s3=yes \
--with-curl=${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071207/e9748d67/attachment.html
More information about the macports-changes
mailing list