Ignore:
Timestamp:
Jul 28, 2016, 7:05:27 AM (2 years ago)
Author:
larryv@…
Message:

tmux-pasteboard: Install documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/tmux-pasteboard/Portfile

    r150767 r150768  
    77github.setup        ChrisJohnsen tmux-MacOSX-pasteboard 2.4 v
    88name                tmux-pasteboard
     9revision            1
    910categories          sysutils
    1011platforms           darwin
     
    2930build.args          ARCHES="[get_canonical_archs]"
    3031
     32set docdir ${prefix}/share/doc/${name}
    3133destroot {
    32     xinstall -m 755 ${worksrcpath}/reattach-to-user-namespace \
    33             ${destroot}${prefix}/bin
     34    xinstall -m 755 -W ${worksrcpath}
     35            reattach-to-user-namespace ${destroot}${prefix}/bin
     36
     37    xinstall -d ${destroot}${docdir}
     38    xinstall -m 644 -W ${worksrcpath} \
     39            README.md Usage.md ${destroot}${docdir}
    3440}
    3541
    36 notes \
    37 "To enable tmux-MacOSX-pasteboard add the following line to ~/.tmux.conf replacing 'bash' with your actual shell:
    38     set-option -g default-command \"${prefix}/bin/reattach-to-user-namespace bash\"" \
    39 "You can then copy last tmux buffer into system general pasteboard using:
    40     tmux save-buffer - | pbcopy" \
    41 "or define a handier alias for it"
     42notes "
     43Please refer to the tmux-MacOSX-pasteboard documentation for usage\
     44instructions:
    4245
     46${docdir}/README.md
     47${github.homepage}/blob/${git.branch}/README.md
     48
     49${docdir}/Usage.md
     50${github.homepage}/blob/${git.branch}/Usage.md
     51"
Note: See TracChangeset for help on using the changeset viewer.