Changeset 77688


Ignore:
Timestamp:
Apr 9, 2011, 6:05:20 PM (10 years ago)
Author:
and.damore@…
Message:

port lua-luasocket: added docs (LICENSE, README, NEWS) and examples (samples, test, etc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/lua-luasocket/Portfile

    r57947 r77688  
    55name                lua-luasocket
    66version             2.0.2
     7revision            1
    78categories          devel
    89platforms           darwin
     
    3637    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/config
    3738}
     39
     40post-destroot {
     41    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     42    xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
     43   
     44    xinstall -m 644 ${worksrcpath}/LICENSE ${worksrcpath}/NEW /
     45        ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     46    file copy ${worksrcpath}/etc ${worksrcpath}/samples ${worksrcpath}/test /
     47        ${destroot}${prefix}/share/examples/${name}
     48}
Note: See TracChangeset for help on using the changeset viewer.