Ticket #43518: Portfile-pass.diff

File Portfile-pass.diff, 664 bytes (added by john@…, 11 years ago)
  • Portfile

    old new  
    3939
    4040destroot.env-append PREFIX=${prefix} \
    4141                    SYSCONFDIR=${prefix}/etc
     42
     43default_variants    +bash
     44
     45variant bash description {Include Bash completion support} {
     46    depends_run-append port:bash
     47    destroot.env-append FORCE_BASHCOMP=1
     48}
     49
     50variant zsh description {Include Zsh completion support} {
     51    depends_run-append port:zsh
     52    destroot.env-append FORCE_ZSHCOMP=1
     53}
     54
     55variant fish description {Include fish completion support} {
     56    depends_run-append port:fish
     57    destroot.env-append FORCE_FISHCOMP=1
     58}