aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-ansi-wl-pprint/Makefile
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2010-05-21 21:53:38 +0000
committerGabor Pali <pgj@FreeBSD.org>2010-05-21 21:53:38 +0000
commita541b24598579e5fdc6d702f0cbeee1afa87f10f (patch)
tree2d5bc907781682c182da674805eab9023c9dd26f /devel/hs-ansi-wl-pprint/Makefile
parentfd3b774de34babff72c1b507a0af99ca099d101e (diff)
Notes
Diffstat (limited to 'devel/hs-ansi-wl-pprint/Makefile')
-rw-r--r--devel/hs-ansi-wl-pprint/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/hs-ansi-wl-pprint/Makefile b/devel/hs-ansi-wl-pprint/Makefile
new file mode 100644
index 000000000000..8255d47bf323
--- /dev/null
+++ b/devel/hs-ansi-wl-pprint/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: hs-ansi-wl-pprint
+# Date created: May 21, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ansi-wl-pprint
+PORTVERSION= 0.5.1
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= The Wadler/Leijen Pretty Printer for colored ANSI terminal output
+
+USE_HACKAGE= ansi-terminal>=0.4.0
+
+OPTIONS= EXAMPLE "Build the example application" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_EXAMPLE)
+CONFIGURE_ARGS+= --flags="Example"
+EXECUTABLE= ansi-wl-pprint-example
+PLIST_SUB+= MAYBE_EXAMPLE=""
+.else
+CONFIGURE_ARGS+= --flags="-Example"
+PLIST_SUB+= MAYBE_EXAMPLE="@comment "
+.endif
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>