Thu May 22 21:39:23 2014 UTC ()
Import cmdargs-0.10.7 as devel/hs-cmdargs,
packaged for wip.

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.

For a general reference on what command line flags are commonly used,
see http://www.faqs.org/docs/artu/ch10s05.html.


(szptvlfn)
diff -r0 -r1.1 pkgsrc/devel/hs-cmdargs/DESCR
diff -r0 -r1.1 pkgsrc/devel/hs-cmdargs/Makefile
diff -r0 -r1.1 pkgsrc/devel/hs-cmdargs/PLIST
diff -r0 -r1.1 pkgsrc/devel/hs-cmdargs/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/hs-cmdargs/distinfo

File Added: pkgsrc/devel/hs-cmdargs/DESCR
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.

For a general reference on what command line flags are commonly used,
see http://www.faqs.org/docs/artu/ch10s05.html.

File Added: pkgsrc/devel/hs-cmdargs/Makefile
# $NetBSD: Makefile,v 1.1 2014/05/22 21:39:23 szptvlfn Exp $

DISTNAME=	cmdargs-0.10.7
CATEGORIES=	devel

MAINTAINER=	szptvlfn@NetBSD.org
COMMENT=	Command line argument processing
LICENSE=	modified-bsd

.include "../../mk/haskell.mk"
.include "../../devel/hs-transformers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/hs-cmdargs/PLIST
@comment $NetBSD: PLIST,v 1.1 2014/05/22 21:39:23 szptvlfn Exp $
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/Data/Generics/Any.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/Data/Generics/Any/Prelude.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/HScmdargs-${PKGVERSION}.o
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Annotate.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Default.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit/Complete.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit/ExpandArgsAt.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit/Help.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit/Process.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit/SplitJoin.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Explicit/Type.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/GetOpt.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Helper.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/Ann.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/Global.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/Local.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/Reader.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/Reform.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/Type.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Implicit/UI.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Quote.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Text.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/System/Console/CmdArgs/Verbosity.hi
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/libHScmdargs-${PKGVERSION}.a
lib/cmdargs-${PKGVERSION}/${HASKELL_VERSION}/package-description
share/doc/cmdargs-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Annotate.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Default.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Explicit.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-GetOpt.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Helper.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Implicit.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Quote.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Text.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs-Verbosity.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/System-Console-CmdArgs.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/cmdargs.haddock
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-38.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-43.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-58.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-A.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-All.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-C.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-D.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-E.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-F.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-G.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-H.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-I.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-J.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-L.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-M.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-N.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-O.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-P.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-Q.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-R.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-S.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-T.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-U.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-V.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index-W.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/frames.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/haddock-util.js
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/hslogo-16.png
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/index-frames.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Annotate.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Default.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Explicit.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-GetOpt.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Helper.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Implicit.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Quote.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Text.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs-Verbosity.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/mini_System-Console-CmdArgs.html
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/minus.gif
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/ocean.css
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/plus.gif
${PLIST.doc}share/doc/cmdargs-${PKGVERSION}/html/synopsis.png

File Added: pkgsrc/devel/hs-cmdargs/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2014/05/22 21:39:23 szptvlfn Exp $

BUILDLINK_TREE+=	hs-cmdargs

.if !defined(HS_CMDARGS_BUILDLINK3_MK)
HS_CMDARGS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-cmdargs+=	hs-cmdargs>=0.10.7
BUILDLINK_PKGSRCDIR.hs-cmdargs?=	../../devel/hs-cmdargs

.include "../../devel/hs-transformers/buildlink3.mk"
.endif	# HS_CMDARGS_BUILDLINK3_MK

BUILDLINK_TREE+=	-hs-cmdargs

File Added: pkgsrc/devel/hs-cmdargs/distinfo
$NetBSD: distinfo,v 1.1 2014/05/22 21:39:23 szptvlfn Exp $

SHA1 (cmdargs-0.10.7.tar.gz) = a3ded794be497c2b63bafe2a8e0805843cb25c9c
RMD160 (cmdargs-0.10.7.tar.gz) = eebac56bb4085f7192342df9340c2b9c479d374d
Size (cmdargs-0.10.7.tar.gz) = 61526 bytes