[150768] trunk/dports/sysutils/tmux-pasteboard/Portfile
larryv at macports.org
larryv at macports.org
Thu Jul 28 00:05:28 PDT 2016
Revision: 150768
https://trac.macports.org/changeset/150768
Author: larryv at macports.org
Date: 2016-07-28 00:05:27 -0700 (Thu, 28 Jul 2016)
Log Message:
-----------
tmux-pasteboard: Install documentation
Modified Paths:
--------------
trunk/dports/sysutils/tmux-pasteboard/Portfile
Modified: trunk/dports/sysutils/tmux-pasteboard/Portfile
===================================================================
--- trunk/dports/sysutils/tmux-pasteboard/Portfile 2016-07-28 07:05:22 UTC (rev 150767)
+++ trunk/dports/sysutils/tmux-pasteboard/Portfile 2016-07-28 07:05:27 UTC (rev 150768)
@@ -6,6 +6,7 @@
github.setup ChrisJohnsen tmux-MacOSX-pasteboard 2.4 v
name tmux-pasteboard
+revision 1
categories sysutils
platforms darwin
license BSD
@@ -28,15 +29,23 @@
build.target reattach-to-user-namespace
build.args ARCHES="[get_canonical_archs]"
+set docdir ${prefix}/share/doc/${name}
destroot {
- xinstall -m 755 ${worksrcpath}/reattach-to-user-namespace \
- ${destroot}${prefix}/bin
+ xinstall -m 755 -W ${worksrcpath}
+ reattach-to-user-namespace ${destroot}${prefix}/bin
+
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ README.md Usage.md ${destroot}${docdir}
}
-notes \
-"To enable tmux-MacOSX-pasteboard add the following line to ~/.tmux.conf replacing 'bash' with your actual shell:
- set-option -g default-command \"${prefix}/bin/reattach-to-user-namespace bash\"" \
-"You can then copy last tmux buffer into system general pasteboard using:
- tmux save-buffer - | pbcopy" \
-"or define a handier alias for it"
+notes "
+Please refer to the tmux-MacOSX-pasteboard documentation for usage\
+instructions:
+${docdir}/README.md
+${github.homepage}/blob/${git.branch}/README.md
+
+${docdir}/Usage.md
+${github.homepage}/blob/${git.branch}/Usage.md
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160728/b80c30b3/attachment-0001.html>
More information about the macports-changes
mailing list