Ignore:
Timestamp:
Dec 8, 2007, 5:41:46 AM (11 years ago)
Author:
ricci@…
Message:

add a pre-destroot step to copy over the lib and include files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/afflib/Portfile

    r31800 r31806  
    3434                --with-zlib=${prefix}
    3535
     36pre-destroot {
     37        ## install things that don't get automatically installed (say, libs, headers...)
     38        ## really the auto* stuff needs to be reworked, below is a band-aid
     39        xinstall -d ${destroot}/${prefix}/lib
     40        xinstall -m 0644 ${worksrcpath}/lib/.libs/libafflib.a ${destroot}/${prefix}/lib/
     41        xinstall -d ${destroot}/${prefix}/include/${name}/lib
     42        foreach header [glob ${worksrcpath}/lib/*.h] {
     43                xinstall -m 0644 $header ${destroot}${prefix}/include/${name}/lib
     44        }
     45        xinstall -m 0644 ${worksrcpath}/config.h ${destroot}${prefix}/include/${name}/
     46}
     47
    3648
    3749variant s3 description { Enable the use of Amazon's S3 service } {
Note: See TracChangeset for help on using the changeset viewer.