ruby21 Port dependencies question
kimura wataru
kimuraw at macports.org
Mon Nov 10 07:20:02 PST 2014
On Fri, 07 Nov 2014 19:09:59 +0100, Oschwald Robert wrote:
> Hi,
>
> I'm currently working on a FontCustom port, which only works with
> Ruby 2.1 (https://github.com/FontCustom/fontcustom/issues/194) and
> needs lots of Gems for it.
> Do I need to submit new Portfiles for those gem dependencies prefixed
> with rb21, like rb21-celluloid, rb21-hitimes, rb21-listener,
> rb21-thor, rb21-timers?
> Just to get sure.
>
> Thx.
Yes. We expects prefix "rb21" for ruby 2.1 tools or libraries.
FYI, you can write new ports using portgroup ruby.
Here is a sample of port:rb21-bundler, bundler for ruby 2.1.
----
PortSystem 1.0
PortGroup ruby 1.0
ruby.setup bundler 1.7.4 gem {} rubygems ruby21
revision 0
license MIT
platforms darwin
maintainers nomaintainer
supported_archs noarch
homepage http://bundler.io/
description Ruby application dependency manager
long_description \
Bundler manages an application's dependencies through its entire life \
across many machines systematically and repeatably.
checksums sha1 e11eb7f9b807f5b7f3beb7c23a06803c7484aebc \
sha256 09414b2dedd098bab278a46bd9a10b9cf6b409e06bb90f40ae001d60fe015388 \
rmd160 a506d3bab411794799df46d8128984dd59abb8de
----
--
kimura wataru
More information about the macports-dev
mailing list