Ticket #10907: elvis.diff

File elvis.diff, 2.0 KB (added by ehainry@…, 18 years ago)
  • editors/elvis/Portfile

    old new  
    1 # $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $
    2 
    31PortSystem 1.0
    42name            elvis
    53version         2.2_0
    6 revision        1
     4revision        2
    75homepage        http://elvis.the-little-red-haired-girl.org/
    86description     A vi/ex clone
    97categories      editors
     
    1412                  http://www.fh-wedel.de/pub/elvis/
    1513
    1614checksums       md5 6831b8df3e4a530395e66c2889783752
    17 configure.args  --with-x=no --bindir=${prefix}/bin --datadir=${prefix}/share/elvis
     15configure.args  --without-x --prefix=${prefix}
    1816
    1917variant         x11 {  depends_lib lib:libX11.6:XFree86
     18                       configure.args-delete --without-x
    2019                       configure.args-append --with-x }
    21 
    22 pre-destroot { cd ${worksrcpath}
    23               reinplace s|/usr/man/man.1|${destroot}${prefix}/share/man/man1| \
    24               instman.sh
    25               xinstall -d ${destroot}${prefix}/share/elvis
    26             }
    27 
    28 destroot.destdir  BINDIR=${destroot}${prefix}/bin \
    29                   LIBDIR=${destroot}${prefix}/share/elvis \
    30 
    31 
     20pre-destroot {
     21               reinplace "s|${prefix}|${destroot}${prefix}|g" Makefile
     22               reinplace "s|sh instman.sh|MANPATH=${destroot}${prefix}/share/man sh instman.sh|" Makefile
     23               reinplace "s|MAN/manl MAN/man1|MAN/man1|" instman.sh
     24               xinstall -d 0755 ${destroot}${prefix}/share/man/cat1
     25             }
     26post-configure { cd ${worksrcpath}
     27                reinplace "s|/etc|${prefix}/etc|g" Makefile
     28}
    3229long_description   \
    33 By Steve Kirkendall is a very powerful vi/ex clone providing \
     30Elvis is a very powerful vi/ex clone providing \
    3431a remarkable number of bells and whistles like, Syntax Highlighting, \
    3532Multiple files in multiple windows, Networking support (http and ftp).
     33