Ticket #8920: Portfile.diff

File Portfile.diff, 1.0 KB (added by master@…, 19 years ago)

Portfile patch

  • Portfile

    old new  
    1717master_sites            ftp://ftp.nsk.su/pub/RinetSoftware/
    1818checksums               md5 0b2f0bb23b7832138b7d841437b9e182
    1919extract.suffix          .tgz
    20 patchfiles              patch-domain_resolver.c patch-colormask.c
     20patchfiles              patch-domain_resolver.c patch-colormask.c patch-trafshow.c patch-trafshow.1 \
     21                        patch-configure
    2122build.target            trafshow
    2223
    2324pre-configure           {       file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess
    2425                                file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub }
    2526
    26 post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c }
     27post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c
     28                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.c
     29                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.1 }
    2730
    2831destroot                {       cd ${workpath}/${worksrcdir}
    2932                                xinstall -m 755 -s -c trafshow ${destroot}/${prefix}/bin