Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (29 sloc) 1.35 KB
PortSystem 1.0
PortGroup ruby 1.0
ruby.branches 2.3 2.4 2.5
ruby.setup bundler 1.16.1 gem
license MIT
categories-append www devel
platforms darwin
maintainers {kimuraw @kimuraw} openmaintainer
homepage http://bundler.io/
description \
Bundler provides a consistent environment for Ruby projects by tracking and \
installing the exact gems and versions that are needed.
long_description ${description}\
\nBundler is an exit from dependency hell, and ensures that the gems you \
need are present in development, staging, and production. Starting work on \
a project is as simple as bundle install.
checksums md5 250ac082e64245f439c76b2c641e85b5 \
rmd160 5b42f41957bcdd6b3758f094594957c453d4562e \
sha1 bca8cd6a0d44524c55a04256307da33e6fe37d5f \
sha256 42b8e0f57093e1d10c15542f956a871446b759e7969d99f91caf3b6731c156e8
post-destroot {
# bundler expects tne name of gem command is "gem",
# this causes failure of `rake build` when write a new gem with bundler.
if {$subport ne $name} {
# sh "gem build ..." -> sh "gem2.3 build ..."
reinplace -E "s/(gem) (build|install|push)/gem${ruby.branch} \\2/g" \
${destroot}${ruby.gemdir}/gems/bundler-${version}/lib/bundler/gem_helper.rb
}
}