Port details |
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
6.3.0 05 Feb 2023 15:50:09
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-main: Update to 6.3.0
Changes: https://github.com/ahoward/main/commits/master |
6.2.3 14 Jan 2023 23:08:33
    |
Muhammad Moinur Rahman (bofh)  |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
6.2.3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
6.2.3 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
6.2.3 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
6.2.3 23 Aug 2020 19:44:51
  |
sunpoet  |
Update to 6.2.3
- Update version requirement of RUN_DEPENDS
Changes: https://github.com/ahoward/main/commits/master |
6.2.2 22 Jan 2017 14:38:15
  |
sunpoet  |
Update to 6.2.2
Changes: https://github.com/ahoward/main/commits/master |
6.2.1 31 Dec 2016 02:18:55
  |
swills  |
devel/rubygem-main: update to 6.2.1 |
6.2.0 27 Apr 2016 21:57:32
  |
swills  |
Convert USES=gem:autoplist to USES=gem since autoplist is default |
6.2.0 27 Apr 2016 16:36:42
  |
swills  |
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem
PR: 209041
Differential Revision: https://reviews.freebsd.org/D6070 |
6.2.0 01 Apr 2016 14:00:57
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
6.2.0 17 Jan 2016 13:15:16
  |
sunpoet  |
- Update to 6.2.0
Changes: https://github.com/ahoward/main/commits/master
Sponsored by: PortsCamp Taiwan |
6.1.0 02 Jul 2015 16:01:08
  |
pgollucci  |
Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from: DEVELOPER_MODE
With Hat: ruby@
Sponsored by: RideCharge Inc / Curb |
6.1.0 31 May 2015 21:39:00
  |
sunpoet  |
- Update to 6.1.0
Changes: https://github.com/ahoward/main/commits/master |
6.0.0 30 May 2015 23:10:26
  |
sunpoet  |
- Add LICENSE
- Sort RUN_DEPENDS |
6.0.0 24 Aug 2014 03:32:54
  |
swills  |
devel/rubygem-main: update to 6.0.0 |
5.2.0 10 Jun 2014 07:39:02
  |
olgeni  |
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt) |
5.2.0 30 Oct 2013 02:39:15
  |
swills  |
- Add stage support |
5.2.0 20 Sep 2013 17:17:45
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4) |
5.2.0 02 Jun 2013 02:20:51
  |
swills  |
- Update to 5.2.0 |
5.1.1 25 Jan 2013 22:26:13
  |
swills  |
- Update to 5.1.1 |
5.0.1 05 Jun 2012 14:55:52
 |
swills  |
- Update to 5.0.1 |
4.4.0 20 Dec 2011 00:21:54
 |
pgollucci  |
- Point at the homepage consistently as defined by rubygems.org |
4.4.0 27 Nov 2010 02:23:03
 |
pgollucci  |
- Update to 4.4.0
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
4.3.0 11 Nov 2010 03:22:25
 |
pgollucci  |
- github is redirecting all these to https now |
4.3.0 10 Nov 2010 05:10:48
 |
pgollucci  |
- Update to 4.3.0
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
4.2.0_1 20 Oct 2010 01:35:47
 |
pgollucci  |
- Mass fixup of WWW: lines pkg-descr based on rubygems.org Homepage meta info
Prompted by: distilator
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
4.2.0_1 22 Sep 2010 00:14:51
 |
pgollucci  |
- Fix dependency versions based on rubygems.org
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
4.2.0 26 Aug 2010 23:52:26
 |
pgollucci  |
Move wen@FreeBSD.org -> ruby@FreeBSD.org for rubygem-*
Approved by: wen
With Hat: ruby |
4.2.0 23 Jun 2010 18:42:12
 |
pgollucci  |
RF -> RG Conversion (Part II)
PR: ports/147844
Submitted by: pgollucci (myself)
Reviewed by: portmgr (flz)
Discussed with: portmgr (pav)
Tested by: make checksum
Feature safe: yes |
4.2.0 06 Jun 2010 19:25:10
 |
pgollucci  |
- GEMS are always RUN_DEPENDS of other GEMS
- Bump PORTREVISION when something other then BUILD_DEPENDS changes
- Some minor verticle whitespace in some ports for consistency with the rest
PR: ports/147551
Submitted by: pgollucci@ (myself)
Reviewed by: portmgr (pav)
With Hat: ruby |
4.2.0 04 Nov 2009 02:17:01
 |
wen  |
- Update to 4.2.0 |
4.0.0 24 Oct 2009 00:35:27
 |
wen  |
- Update to 4.0.0
Approved by: mentors(implicit) |
3.0.3 15 Oct 2009 10:05:45
 |
wen  |
- Update to 3.0.3
Approved by: mentors(implicit) |
2.9.2 01 Oct 2009 10:54:59
 |
wen  |
- Update to 2.9.2
- Update my mail address to FreeBSD
Approved by: mentors(implicit) |
2.8.4 30 May 2009 18:33:07
 |
miwi  |
- Update to 2.8.
Approved by: maintainer implicit |
2.8.3 09 Apr 2009 00:11:47
 |
pgollucci  |
- convert to RUBYGEM_AUTOPLIST
remove x-generate-plist and friends
- use RF macro and remove SUBDIR where possible
- remove some uneeded GEM_NAME=${DISTNAME}
(this c/should be handled better in bsd.*.mk)
other deltas specific to individual ports:
audio/rubygem-mp3info - unbreak, fix packaging, bump PORTREVISION
devel/rubygem-rapt - adopt
devel/rubygem-rspec - remove BUILD_DEPENDS=RUN_DEPENDS -- neither set
devel/rubygem-ruby2ruby - add #' for vim highlight
graphics/rubygem-extifr - drop PORTREVISION=0
graphics/rubygem-gd2 - add #' for vim highlight
www/rubygem-rubyfulsoup - swap GEM_NAME / DISTNAME for constistency
Sponsored by: RideCharge Inc.
Tested on: RideCharge's Tinderbox
Reviewed by: stas |
2.8.3 09 Nov 2008 23:05:04
 |
miwi  |
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.
WWW: http://codeforpeople.com/lib/ruby/main/
PR: ports/128664
Submitted by: Wen Heping <wenheping at gmail.com> |