Bug 128664

Summary: [NEW PORT]devel/rubygem-main:A Class Factory and Dsl for Generating Command Line Programs
Product: Ports & Packages Reporter: wenheping <wenheping>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description wenheping 2008-11-07 06:30:02 UTC
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/


(It require rubygem-arrayfields and rubygem-fattr:
http://www.freebsd.org/cgi/query-pr.cgi?pr=128662
http://www.freebsd.org/cgi/query-pr.cgi?pr=128663)

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-07 06:30:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-11-09 23:05:12 UTC
miwi        2008-11-09 23:05:04 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/rubygem-main   Makefile distinfo pkg-descr 
  Log:
  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>
  
  Revision  Changes    Path
  1.3241    +1 -0      ports/devel/Makefile
  1.1       +32 -0     ports/devel/rubygem-main/Makefile (new)
  1.1       +3 -0      ports/devel/rubygem-main/distinfo (new)
  1.1       +18 -0     ports/devel/rubygem-main/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-11-09 23:06:30 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!