Port details on branch 2024Q2 |
- rubygem-main Class Factory and Dsl for Generating Command Line Programs
- 6.3.0 devel
=2 6.3.0Version of this port present on the latest quarterly branch. - Maintainer: ruby@FreeBSD.org
 - Port Added: 2008-11-09 23:05:21
- Last Update: 2023-02-05 15:50:09
- Commit Hash: cdc749d
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-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 = 1675192027
SHA256 (rubygem/main-6.3.0.gem) = ebd573133ab3707e2b43710de79f03bde7f10d41b86f2ba75e93da1482b04897
SIZE (rubygem/main-6.3.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:
-
- ruby30 : lang/ruby30
- 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
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
-
- This port is required by:
- for Build
-
- sysutils/vagrant
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-main
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|