Ticket #8920: Portfile.diff
File Portfile.diff, 1.0 KB (added by master@…, 19 years ago) |
---|
-
Portfile
old new 17 17 master_sites ftp://ftp.nsk.su/pub/RinetSoftware/ 18 18 checksums md5 0b2f0bb23b7832138b7d841437b9e182 19 19 extract.suffix .tgz 20 patchfiles patch-domain_resolver.c patch-colormask.c 20 patchfiles patch-domain_resolver.c patch-colormask.c patch-trafshow.c patch-trafshow.1 \ 21 patch-configure 21 22 build.target trafshow 22 23 23 24 pre-configure { file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess 24 25 file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub } 25 26 26 post-configure { reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c } 27 post-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 } 27 30 28 31 destroot { cd ${workpath}/${worksrcdir} 29 32 xinstall -m 755 -s -c trafshow ${destroot}/${prefix}/bin