Ticket #26255: tsung-1.3.3-Portfile.patch

File tsung-1.3.3-Portfile.patch, 850 bytes (added by jpo@…, 14 years ago)

tsung portfile patch - perl and python interpreters location; rrdtool requirement

  • Portfile

    old new  
    55
    66name             tsung
    77version          1.3.3
     8revision         1
    89categories       erlang devel
    910maintainers      nomaintainer
    1011supported_archs  noarch
     
    2425depends_lib      port:erlang \
    2526        port:mochiweb \
    2627        port:gnuplot \
    27         port:p5-template-toolkit
     28        port:p5-template-toolkit \
     29        port:rrdtool
    2830
    2931build.target     all doc
     32
     33post-patch {
     34    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" \
     35        ${worksrcpath}/src/tsung-rrd.pl.in \
     36        ${worksrcpath}/src/tsung_stats.pl.in
     37    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl|" \
     38        ${worksrcpath}/src/log2tsung.pl.in
     39    reinplace "s| /usr/bin/python|${prefix}/bin/python|" \
     40        ${worksrcpath}/src/tsung-plotter/tsung/tsung.py
     41}
     42