Ticket #17969: patch-Portfile.diff

File patch-Portfile.diff, 582 bytes (added by krunk7@…, 16 years ago)

patch-Portfile

  • math/lp_solve/Portfile

    diff --git a/math/lp_solve/Portfile b/math/lp_solve/Portfile
    index 8723d29..810e0ae 100644
    a b destroot { 
    3434                liblpsolve55.a liblpsolve55.dylib ${destroot}${prefix}/lib
    3535        xinstall -m 755 -W ${worksrcpath}/lp_solve \
    3636                lp_solve ${destroot}${prefix}/bin
     37
     38  if {[variant_isset dev]} {
     39    xinstall -m 755 -d ${destroot}${prefix}/include/lpsolve
     40    eval xinstall -m 444 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/lpsolve/
     41  }
    3742}
    3843
     44variant dev description {install development headers} {
     45 
     46}