Ticket #40539: symlink_perl_modules.diff

File symlink_perl_modules.diff, 570 bytes (added by gregori.emiliano@…, 11 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 110560 2013-09-02 06:15:08Z jmr@macports.org $
    22
    33PortSystem 1.0
     4PortGroup       perl5 1.0
    45
    56name                    naturaldocs
    67version                 1.5
     
    4243destroot {
    4344    file copy ${worksrcpath} ${destroot}${prefix}/lib/
    4445    ln -sf ${prefix}/lib/NaturalDocs-${version}/NaturalDocs ${destroot}${prefix}/bin/
     46    file mkdir ${destroot}${perl5.lib}
     47    ln -sf ${prefix}/lib/NaturalDocs-${version}/Modules/NaturalDocs ${destroot}${perl5.lib}/
    4548}