Ticket #11731: man-1.6e_2.diff

File man-1.6e_2.diff, 3.0 KB (added by pipping@…, 18 years ago)
  • files/patch-conf_script

     
    1 --- conf_script.orig    2007-04-04 19:49:22.000000000 +0200
    2 +++ conf_script 2007-04-04 19:52:59.000000000 +0200
    3 @@ -29,7 +29,7 @@
    4 -s,@troff@,/usr/bin/groff -Tps -mandoc -c,
    5 -s,@nroff@,/usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c,
    6 -s,@jnroff@,/usr/bin/groff -Tnippon -mandocj -c,
    7 -s,@eqn@,/usr/bin/eqn -Tps,
    8 -s,@neqn@,/usr/bin/eqn -Tascii,
    9 -s,@jneqn@,/usr/bin/eqn -Tnippon,
    10 -s,@tbl@,/usr/bin/tbl,
    11 +s,@troff@,__PREFIX__/bin/groff -Tps -mandoc -c,
    12 +s,@nroff@,__PREFIX__/bin/groff -Wall -mtty-char -Tascii -mandoc -c,
    13 +s,@jnroff@,__PREFIX__/bin/groff -Tnippon -mandocj -c,
    14 +s,@eqn@,__PREFIX__/bin/eqn -Tps,
    15 +s,@neqn@,__PREFIX__/bin/eqn -Tascii,
    16 +s,@jneqn@,__PREFIX__/bin/eqn -Tnippon,
    17 +s,@tbl@,__PREFIX__/bin/tbl,
    18 @@ -40 +40 @@
    19 -s,@refer@,/usr/bin/refer,
    20 +s,@refer@,__PREFIX__/bin/refer,
    21 @@ -42 +42 @@
    22 -s,@pic@,/usr/bin/pic,
    23 +s,@pic@,__PREFIX__/bin/pic,
    24 @@ -45,3 +45,3 @@
    25 -s,@zcat@,/usr/bin/zcat,
    26 -s,@gunzip@,/usr/bin/gunzip -c,
    27 -s,@bzip2@,/usr/bin/bzip2 -c -d,
    28 +s,@zcat@,__PREFIX__/bin/zcat,
    29 +s,@gunzip@,__PREFIX__/bin/gunzip -c,
    30 +s,@bzip2@,__PREFIX__/bin/bzip2 -c -d,
    31 @@ -49 +49 @@
    32 -s,@compress@,/usr/bin/bzip2,
    33 +s,@compress@,__PREFIX__/bin/bzip2,
    34 @@ -51,6 +51,6 @@
    35 -s,@decompress@,/usr/bin/bzip2 -c -d,
    36 -s,@pager@,/usr/bin/less -is,
    37 -s,@browser@,/usr/bin/less -is,
    38 -s,@htmlpager@,/bin/cat,
    39 -s,@cmp@,/usr/bin/cmp -s,
    40 -s,@cat@,/bin/cat,
    41 +s,@decompress@,__PREFIX__/bin/bzip2 -c -d,
    42 +s,@pager@,__PREFIX__/bin/less -is,
    43 +s,@browser@,__PREFIX__/bin/less -is,
    44 +s,@htmlpager@,__PREFIX__/bin/gcat,
    45 +s,@cmp@,__PREFIX__/bin/gcmp -s,
    46 +s,@cat@,__PREFIX__/bin/gcat,
  • Portfile

     
    3737                                +fhs
    3838
    3939post-configure {                                                           
    40         system "cd ${worksrcpath} && patch < ${filespath}/patch-conf_script"   
    41         reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/conf_script         
     40    cd ${worksrcpath}
     41    reinplace "s|/bin/cat|${prefix}/bin/gcat|g" conf_script
     42    reinplace "s|/usr/bin/bzip2|${prefix}/bin/bzip2|g" conf_script
     43    reinplace "s|/usr/bin/cmp|${prefix}/bin/gcmp|g" conf_script
     44    reinplace "s|/usr/bin/eqn|${prefix}/bin/eqn|g" conf_script
     45    reinplace "s|/usr/bin/groff|${prefix}/bin/groff|g" conf_script
     46    reinplace "s|/usr/bin/gunzip|${prefix}/bin/gunzip|g" conf_script
     47    reinplace "s|/usr/bin/gzip|${prefix}/bin/gzip|g" conf_script
     48    reinplace "s|/usr/bin/less|${prefix}/bin/less|g" conf_script
     49    reinplace "s|/usr/bin/pic|${prefix}/bin/pic|g" conf_script
     50    reinplace "s|/usr/bin/refer|${prefix}/bin/refer|g" conf_script
     51    reinplace "s|/usr/bin/tbl|${prefix}/bin/tbl|g" conf_script
     52    reinplace "s|/usr/bin/zcat|${prefix}/bin/zcat|g" conf_script
    4253}
    4354
    4455depends_run             port:bzip2 \