freebsd-ports/devel/hs-ansi-terminal/Makefile
2010-06-08 04:11:04 +00:00

30 lines
760 B
Makefile

# New ports collection makefile for: hs-ansi-terminal
# Date created: May 21, 2010
# Whom: Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ansi-terminal
PORTVERSION= 0.5.2
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Simple ANSI terminal support, with Windows compatibility
OPTIONS= EXAMPLE "Build the example application" off
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
.if defined(WITH_EXAMPLE)
CONFIGURE_ARGS+= --flags="Example"
EXECUTABLE= ansi-terminal-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>