freebsd-ports/textproc/hs-highlighting-kate-ghc/Makefile
Gabor Pali f1905422ee - Fix OPTIONS support for Cabal ports by introducing
bsd.cabal.options.mk
- Fix ports broken with non-default options

Triggered by:	Yuri Pankov <yuri.pankov@gmail.com>
2010-05-22 22:41:50 +00:00

33 lines
812 B
Makefile

# New ports collection makefile for: highlighting-kate
# Date created: December 16, 2008
# Whom: Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= highlighting-kate
PORTVERSION= 0.2.6.2
CATEGORIES= textproc haskell
PKGNAMESUFFIX= -ghc
MAINTAINER= haskell@FreeBSD.org
COMMENT= A Haskell syntax highlighting library for 50+ languages
USE_HACKAGE= pcre-light
OPTIONS= EXECUTABLE "Build the Highlight executable" off
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
.if defined(WITH_EXECUTABLE)
CONFIGURE_ARGS+= --flags="executable"
EXECUTABLE+= Highlight
PLIST_SUB+= MAYBE_EXECUTABLE=""
.else
CONFIGURE_ARGS+= --flags="-executable"
PLIST_SUB+= MAYBE_EXECUTABLE="@comment "
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>