Port details on branch 2025Q3 |
- rubygem-main Class Factory and Dsl for Generating Command Line Programs
- 6.4.0 devel
=2 6.4.0Version of this port present on the latest quarterly branch. - Maintainer: ruby@FreeBSD.org
 - Port Added: 2008-11-09 23:05:21
- Last Update: 2025-04-18 05:38:43
- Commit Hash: ea5808e
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: rubygems
- License: BSD2CLAUSE RUBY
- WWW:
- https://github.com/ahoward/main
- Description:
- main.rb features the following:
- unification of option, argument, keyword, and environment
parameter parsing
- auto generation of usage and help messages
- support for mode/sub-commands
- io redirection support
- logging hooks using ruby's built-in logging mechanism
- intelligent error handling and exit codes
- use as dsl or library for building Main objects
- parsing user defined ARGV and ENV
- zero requirements for understanding the obtuse apis of any
command line option parsers
- leather pants
In short main.rb aims to drastically lower the barrier to writing
uniform command line applications.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-main>0:devel/rubygem-main
- To install the port:
- cd /usr/ports/devel/rubygem-main/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-main
- pkg install rubygem-main
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-main
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1744289436
SHA256 (rubygem/main-6.4.0.gem) = 6e7973576414987099726337d07cec3ed427a44fafaf5f9156417a78191d7e97
SIZE (rubygem/main-6.4.0.gem) = 42496
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-arrayfields>=4.9.2<5 : devel/rubygem-arrayfields
- rubygem-chronic>=0.10.2<1 : devel/rubygem-chronic
- rubygem-fattr>=2.4.0<3 : devel/rubygem-fattr
- rubygem-map>=6.6.0<7 : devel/rubygem-map
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Build
-
- sysutils/vagrant
- sysutils/vagrant-gitlab
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-main
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|