Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143612529
D35031.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D35031.diff
View Options
diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6327,6 +6327,7 @@
SUBDIR += rubygem-ditz
SUBDIR += rubygem-diva
SUBDIR += rubygem-docile
+ SUBDIR += rubygem-docopt
SUBDIR += rubygem-drb
SUBDIR += rubygem-dry-configurable
SUBDIR += rubygem-dry-container
diff --git a/devel/rubygem-docopt/Makefile b/devel/rubygem-docopt/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/rubygem-docopt/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= docopt
+DISTVERSION= 0.6.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= salvadore@FreeBSD.org
+COMMENT= Parse command line arguments based on nothing more than a usage message
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem python:env shebangfix
+USE_RUBY= yes
+
+SHEBANG_FILES= test/language_agnostic_tester.py
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-docopt/distinfo b/devel/rubygem-docopt/distinfo
new file mode 100644
--- /dev/null
+++ b/devel/rubygem-docopt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1650642167
+SHA256 (rubygem/docopt-0.6.1.gem) = 73f837ed376d015971712c17f7aafa021998b964b77d52997dcaff79d6727467
+SIZE (rubygem/docopt-0.6.1.gem) = 19456
diff --git a/devel/rubygem-docopt/pkg-descr b/devel/rubygem-docopt/pkg-descr
new file mode 100644
--- /dev/null
+++ b/devel/rubygem-docopt/pkg-descr
@@ -0,0 +1,11 @@
+Rubygem implementation of docopt.
+
+Docopt helps you:
+- define an interface for your command-line app, and
+- automatically generate a parser for it.
+
+Docopt is based on conventions that have been used in help messages for decades
+and man pages for describing a program's interface. An interface description in
+docopt is such a help message, but formalized.
+
+WWW: https://github.com/docopt/docopt.rb
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 1:44 AM (18 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28243373
Default Alt Text
D35031.diff (1 KB)
Attached To
Mode
D35031: devel/rubygem-docopt: Add new port
Attached
Detach File
Event Timeline
Log In to Comment