This library provides an easy way to define command line parsers.
Most users will want to use the "System.Console.CmdArgs.Implicit" module, whose documentation contains an example.
This commit is contained in:
parent
6973ee7fdc
commit
438780150c
25
devel/hs-cmdargs/Makefile
Normal file
25
devel/hs-cmdargs/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/11/13 22:41:25 kili Exp $
|
||||
|
||||
COMMENT = command line parser library
|
||||
|
||||
DISTNAME = cmdargs-0.7
|
||||
CATEGORIES = devel
|
||||
HOMEPAGE = http://community.haskell.org/~ndm/cmdargs/
|
||||
|
||||
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
||||
|
||||
# BSD3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODULES = lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
MODGHC_SETUP_CONF_ARGS = -f -testprog
|
||||
|
||||
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||
RUN_DEPENDS = hs-transformers->=0.2,<0.3:devel/hs-transformers
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/hs-cmdargs/distinfo
Normal file
5
devel/hs-cmdargs/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (ghc/cmdargs-0.7.tar.gz) = xm2xHsqq46rX6+vnulqlTQ==
|
||||
RMD160 (ghc/cmdargs-0.7.tar.gz) = 4OetNvg43E1gOycxRerSbfVWdwI=
|
||||
SHA1 (ghc/cmdargs-0.7.tar.gz) = QpoJaNnTeX2rxqYKp+OCimmFtN0=
|
||||
SHA256 (ghc/cmdargs-0.7.tar.gz) = eAN2SKhPd//JGjoWruyZulbvug2EanHEFBk4Y1hzMmI=
|
||||
SIZE (ghc/cmdargs-0.7.tar.gz) = 43543
|
16
devel/hs-cmdargs/pkg/DESCR
Normal file
16
devel/hs-cmdargs/pkg/DESCR
Normal file
@ -0,0 +1,16 @@
|
||||
This library provides an easy way to define command line parsers.
|
||||
Most users will want to use the "System.Console.CmdArgs.Implicit"
|
||||
module, whose documentation contains an example.
|
||||
|
||||
* "System.Console.CmdArgs.Explicit" provides a way to write command
|
||||
line parsers for both single mode programs (most programs) and
|
||||
multiple mode programs (e.g. darcs or cabal). Parsers are defined
|
||||
by constructing a data structure.
|
||||
|
||||
* "System.Console.CmdArgs.Implicit" provides a way to concisely
|
||||
define command line parsers, up to three times shorter than getopt.
|
||||
These parsers are translated into the Explicit data type.
|
||||
|
||||
* "System.Console.CmdArgs.GetOpt" provides a wrapper allowing
|
||||
compatiblity with existing getopt parsers, mapping to the Explicit
|
||||
data type.
|
90
devel/hs-cmdargs/pkg/PLIST
Normal file
90
devel/hs-cmdargs/pkg/PLIST
Normal file
@ -0,0 +1,90 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/11/13 22:41:25 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/Data/
|
||||
lib/ghc/${DISTNAME}/Data/Generics/
|
||||
lib/ghc/${DISTNAME}/Data/Generics/Any/
|
||||
lib/ghc/${DISTNAME}/Data/Generics/Any.hi
|
||||
lib/ghc/${DISTNAME}/Data/Generics/Any/Prelude.hi
|
||||
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
|
||||
lib/ghc/${DISTNAME}/System/
|
||||
lib/ghc/${DISTNAME}/System/Console/
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Annotate.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Default.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Explicit/
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Explicit.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Explicit/Help.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Explicit/Process.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Explicit/Type.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/GetOpt.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/Ann.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/Global.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/Local.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/Reader.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/Reform.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/Type.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Implicit/UI.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Text.hi
|
||||
lib/ghc/${DISTNAME}/System/Console/CmdArgs/Verbosity.hi
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
|
||||
lib/ghc/${DISTNAME}/register.sh
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
|
||||
lib/ghc/${DISTNAME}/unregister.sh
|
||||
share/doc/hs-${DISTNAME}/
|
||||
share/doc/hs-${DISTNAME}/LICENSE
|
||||
share/doc/hs-${DISTNAME}/html/
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-Annotate.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-Default.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-Explicit.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-GetOpt.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-Implicit.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-Text.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs-Verbosity.html
|
||||
share/doc/hs-${DISTNAME}/html/System-Console-CmdArgs.html
|
||||
share/doc/hs-${DISTNAME}/html/cmdargs.haddock
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-38.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-43.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-58.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-A.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-All.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-C.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-D.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-E.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-F.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-G.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-H.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-I.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-L.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-M.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-N.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-O.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-P.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-Q.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-R.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-S.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-T.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-U.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-V.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index-W.html
|
||||
share/doc/hs-${DISTNAME}/html/doc-index.html
|
||||
share/doc/hs-${DISTNAME}/html/frames.html
|
||||
share/doc/hs-${DISTNAME}/html/haddock-util.js
|
||||
share/doc/hs-${DISTNAME}/html/hslogo-16.png
|
||||
share/doc/hs-${DISTNAME}/html/index-frames.html
|
||||
share/doc/hs-${DISTNAME}/html/index.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-Annotate.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-Default.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-Explicit.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-GetOpt.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-Implicit.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-Text.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs-Verbosity.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_System-Console-CmdArgs.html
|
||||
share/doc/hs-${DISTNAME}/html/minus.gif
|
||||
share/doc/hs-${DISTNAME}/html/ocean.css
|
||||
share/doc/hs-${DISTNAME}/html/plus.gif
|
||||
share/doc/hs-${DISTNAME}/html/synopsis.png
|
Loading…
Reference in New Issue
Block a user