will want to use the "System.Console.CmdArgs.Implicit" module, whose documentation contains an example. WWW: http://community.haskell.org/~ndm/cmdargs/ Approved by: pgj (mentor) Obtained from: FreeBSD Haskell
23 lines
440 B
Makefile
23 lines
440 B
Makefile
# New ports collection makefile for: hs-cmdargs
|
|
# Date created: March 13, 2011
|
|
# Whom: haskell@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cmdargs
|
|
PORTVERSION= 0.6.8
|
|
CATEGORIES= devel haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Command line argument processing
|
|
|
|
LICENSE= BSD
|
|
|
|
CABAL_SETUP= Setup.hs
|
|
USE_CABAL= transformers
|
|
|
|
EXECUTABLE= cmdargs
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.mk>
|