Ticket #13993: Portfile-trafshow.diff
File Portfile-trafshow.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
18 18 checksums md5 0b2f0bb23b7832138b7d841437b9e182 \ 19 19 sha1 1c68f603f12357e932c83de850366c9b46e53d89 \ 20 20 rmd160 f1ae068f898160f16ae9b3cb5f9d73ae3aece6cb 21 depends_lib port:libpcap \ 21 depends_lib port:libtool \ 22 port:libpcap \ 22 23 port:ncurses 23 24 extract.suffix .tgz 24 25 patchfiles patch-domain_resolver.c patch-colormask.c patch-trafshow.c patch-trafshow.1 \ … … 28 29 fetch.user anonymous 29 30 fetch.password -macports@ 30 31 31 pre-configure { file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess 32 file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub } 32 pre-configure { copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath} 33 } 34 33 35 configure.cflags-append "-I${prefix}/include" 34 36 post-configure { reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c 35 37 reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.c