Ticket #10711: Portfile.diff

File Portfile.diff, 1.8 KB (added by master@…, 18 years ago)

As you wish, Mark

  • Portfile

    old new  
    11PortSystem 1.0
    22name            pinfo
    3 version         0.6.8
     3version         0.6.9
    44categories      textproc
    55maintainers     master@iaas.msu.ru
    66description     Pinfo - Ncurses based info documentation browser
     
    1313
    1414platforms       darwin
    1515
    16 homepage        http://directory.fsf.org/text/doc/pinfo.html
    17 master_sites    http://dione.ids.pl/~pborys/software/pinfo/
     16homepage        http://pinfo.alioth.debian.org/
     17master_sites    http://alioth.debian.org/download.php/1502/
    1818
    19 checksums       md5 55feb4ebaa709b52bd00a15ed0fb52fb
     19checksums       md5 c3298d36537601753558b3e9240b00b7
    2020
    2121pre-patch       {       
    22                 file delete ${worksrcpath}/config.guess
    23                 file copy ${portpath}/${filesdir}/config.guess ${worksrcpath}/
    24                 file delete ${worksrcpath}/config.sub
    25                 file copy ${portpath}/${filesdir}/config.sub ${worksrcpath}/
    26                 file delete ${worksrcpath}/install-sh
    27                 file copy ${portpath}/${filesdir}/install-sh ${worksrcpath}/
    28                 file delete ${worksrcpath}/missing
    29                 file copy ${portpath}/${filesdir}/missing ${worksrcpath}/
    30                 file delete ${worksrcpath}/mkinstalldirs
    31                 file copy ${portpath}/${filesdir}/mkinstalldirs ${worksrcpath}/
    32                 reinplace "s#/usr/info:/usr/share/info:/usr/local/info#/usr/share/info:/usr/local/info:${prefix}/share/info#" "${worksrcpath}/src/datatypes.c"
     22                reinplace "s#/usr/share/info:/usr/info:/usr/local/share/info:/usr/local/info:/opt/info#/usr/share/info:/usr/info:/usr/local/share/info:/usr/local/info:/opt/info:${prefix}/share/info#" "${worksrcpath}/src/datatypes.c"
    3323                }
    3424
    35 patchfiles      patch-common_includes.h patch-utils.h
     25configure.env   CFLAGS="-I'${prefix}/include'" LDFLAGS="-L'${prefix}/lib'"
    3626
    3727configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
    38                 --with-ncurses --with-readline=no --disable-nls
     28                --with-ncurses --disable-nls