Ignore:
Timestamp:
Mar 31, 2006, 9:46:01 AM (14 years ago)
Author:
takanori
Message:

Updated to 2.08b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/FDclone/Portfile

    r16889 r17257  
    1 # $Id: Portfile,v 1.3 2006/03/11 18:43:29 takanori Exp $
     1# $Id: Portfile,v 1.4 2006/03/31 09:46:01 takanori Exp $
    22
    33PortSystem        1.0
    44name              FDclone
    5 version           2.08a
     5version           2.08b
    66categories        sysutils
    77maintainers       takanori@opendarwin.org
     
    1010homepage          http://hp.vector.co.jp/authors/VA012337/soft/fd/index.html
    1111master_sites      http://hp.vector.co.jp/authors/VA012337/soft/fd/
     12platforms         darwin
    1213distfiles         FD-${version}.tar.gz
    13 checksums         md5 532f3645130a72aa80321bb7ffa2fb37 \
    14                   sha1 c579061935dc26200f520a87c60024348c5e90ba \
    15                   rmd160 70c7dc0476d86e9e2303aa454de97d1afbe54e93
     14checksums         md5 c9e33e49e032002a74d18d50bfc2210a \
     15                  sha1 93d4996c68c654fcb8b9fa42f8eadc173347d783 \
     16                  rmd160 042eeeaf47478f1f160b8b81a2c411aae1a6d161
     17
     18set editor ""
     19set pager ""
    1620
    1721worksrcdir        FD-${version}
     
    2428                  }
    2529
    26                   if {[variant_isset emacs]} {
    27                      reinplace "s|\"vi\"|\"emacs\"|g" ${worksrcpath}/fd.h
    28                   }
    29 
    30                   if {[variant_isset lv]} {
    31                      reinplace "s|\"more%K\"|\"lv\"|g" ${worksrcpath}/fd.h
    32                   }
    33 
    34                   if {[variant_isset less]} {
    35                      reinplace "s|\"more%K\"|\"less\"|g" ${worksrcpath}/fd.h
    36                   }
    37 
    38                   if {[variant_isset jless]} {
    39                      reinplace "s|\"more%K\"|\"jless\"|g" ${worksrcpath}/fd.h
    40                   }
     30                  if {${editor} != ""} { reinplace "s|\"vi\"|\"${editor}\"|g" ${worksrcpath}/fd.h }
     31                  if {${pager} != ""} { reinplace "s|\"more%K\"|\"${pager}\"|g" ${worksrcpath}/fd.h }
    4132
    4233                  if {[variant_isset autosort]} {
     
    5950
    6051variant nojpnmes {}
    61 variant emacs {}
    62 variant lv conflicts less jless {}
    63 variant less conflicts lv jless {}
    64 variant jless conflicts lv less {}
     52variant emacs {set editor emacs}
     53variant lv conflicts less jless {set pager lv}
     54variant less conflicts lv jless {set pager less}
     55variant jless conflicts lv less {set pager jless}
    6556variant autosort {}
Note: See TracChangeset for help on using the changeset viewer.