Changeset 114608 for trunk/dports/office


Ignore:
Timestamp:
Dec 11, 2013, 7:46:03 PM (5 years ago)
Author:
snc@…
Message:

todotxt:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/office/todotxt/Portfile

    r99635 r114608  
    66
    77github.setup        ginatrapani todo.txt-cli 2.9 v
    8 revision            1
     8revision            2
    99name                todotxt
    1010categories          office
     
    2626build {}
    2727
     28post-patch {
     29    reinplace "s/todo\\.sh/${name}/" ${worksrcpath}/todo_completion
     30}
     31
    2832destroot {
    2933    xinstall -m 755 ${worksrcpath}/todo.sh ${destroot}${prefix}/bin/$name
    3034    xinstall -d -m 755 ${destroot}${prefix}/share/${name}
    3135    xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/share/${name}/todo.cfg-dist
     36}
     37
     38post-destroot {
     39    set completions_path ${destroot}${prefix}/share/bash-completion/completions
     40    xinstall -d ${completions_path}
     41    xinstall -m 644 ${worksrcpath}/todo_completion ${completions_path}/${name}
    3242}
    3343
     
    3848}
    3949
    40 notes "Copy the default configuration file from  ${prefix}/etc/todo.cfg-dist \
     50variant bash_completion {
     51    depends_run-append  path:etc/bash_completion:bash-completion
     52}
     53
     54notes "Copy the default configuration file from  ${prefix}/share/${name}/todo.cfg-dist \
    4155to  ~/.todo/config  and customize it."
Note: See TracChangeset for help on using the changeset viewer.