source: trunk/dports/sysutils/tmux-pasteboard/Portfile

Last change on this file was 151134, checked in by larryv@…, 14 months ago

tmux-pasteboard: Update to 2.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151134 2016-08-07 23:31:53Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        ChrisJohnsen tmux-MacOSX-pasteboard 2.5 v
8name                tmux-pasteboard
9categories          sysutils
10platforms           darwin
11license             BSD
12maintainers         larryv
13
14description         Wrapper for accessing the OS X pasteboard in tmux sessions
15long_description    ${description}
16
17depends_run         path:bin/tmux:tmux
18
19checksums           rmd160  4be706e4d7824ba8ccc3a239309ee4b3a1151fe7 \
20                    sha256  50a88af5d8ed9e0f37130e453a78fbeec3020e5e64c5f5a52b37084c89067bd2
21
22use_configure       no
23variant universal {}
24
25build.env           CC="${configure.cc}" \
26                    CFLAGS="-I${prefix}/include" \
27                    LDFLAGS="-L${prefix}/lib"
28build.target        reattach-to-user-namespace
29build.args          ARCHES="[get_canonical_archs]"
30
31set docdir ${prefix}/share/doc/${name}
32destroot {
33    xinstall -m 755 -W ${worksrcpath} \
34            reattach-to-user-namespace ${destroot}${prefix}/bin
35
36    xinstall -d ${destroot}${docdir}
37    xinstall -m 644 -W ${worksrcpath} \
38            README.md Usage.md ${destroot}${docdir}
39}
40
41notes "
42Please refer to the tmux-MacOSX-pasteboard documentation for usage\
43instructions:
44
45${docdir}/README.md
46${github.homepage}/blob/${git.branch}/README.md
47
48${docdir}/Usage.md
49${github.homepage}/blob/${git.branch}/Usage.md
50"
Note: See TracBrowser for help on using the repository browser.