source: trunk/dports/ruby/rbenv/Portfile @ 140661

Last change on this file since 140661 was 140661, checked in by mojca@…, 4 years ago

rbenv: fix initialization to specific paths that MacPorts is trying to follow

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 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 140661 2015-09-29 05:58:29Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        sstephenson rbenv 0.4.0 v
8revision            1
9license             MIT
10platforms           darwin
11supported_archs     noarch
12
13maintainers         nomaintainer
14
15description         Simple Ruby Version Management
16long_description    ${description}
17
18checksums           rmd160  1201f1072c63464ffa829d332c363ddc0d2ef1b6 \
19                    sha256  e9b54d2d3669e52aed439094fa92aab36d826573e1a4f8dd65241406204a3e23
20
21patchfiles          patch-libexec-rbenv-init.diff
22use_configure       no
23build {}
24destroot {
25    delete ${destroot}${prefix}/bin
26    copy ${worksrcpath}/libexec ${destroot}${prefix}/bin
27    xinstall -d ${destroot}${prefix}/etc/bash_completion.d
28    xinstall ${worksrcpath}/completions/rbenv.bash \
29        ${destroot}${prefix}/etc/bash_completion.d/rbenv
30    xinstall -d ${destroot}${prefix}/share/zsh/site-functions
31    xinstall ${worksrcpath}/completions/rbenv.zsh \
32        ${destroot}${prefix}/share/zsh/site-functions/rbenv.zsh_completion
33}
Note: See TracBrowser for help on using the repository browser.