Modified: trunk/dports/security/afflib/Portfile (31805 => 31806)
--- 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