Ticket #13994: Portfile-trafshow-no-cd.diff

File Portfile-trafshow-no-cd.diff, 849 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • Portfile

     
    3535                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.c
    3636                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.1 }
    3737
    38 destroot                {       cd ${workpath}/${worksrcdir}
    39                                 xinstall -m 755 -s -c trafshow ${destroot}/${prefix}/bin
    40                                 xinstall -m 755 -s -c trafshow.1 ${destroot}/${prefix}/share/man/man1
    41                                 xinstall -b -m 755 -s -c .trafshow ${destroot}/${prefix}/etc/trafshow.default }
     38destroot                {       xinstall -W ${worksrcpath} -m 755 -s -c trafshow ${destroot}/${prefix}/bin
     39                                xinstall -W ${worksrcpath} -m 755 -s -c trafshow.1 ${destroot}/${prefix}/share/man/man1
     40                                xinstall -W ${worksrcpath} -b -m 755 -s -c .trafshow ${destroot}/${prefix}/etc/trafshow.default }