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:
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants his PRs (via the GNATS Auto Assign Tool)
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"
State Changed From-To: open->closed New port added, with minor changes. Thanks!