freebsd-ports/textproc/hs-highlighting-kate/Makefile

33 lines
792 B
Makefile
Raw Normal View History

# New ports collection makefile for: highlighting-kate
# Date created: December 16, 2008
# Whom: Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= highlighting-kate
2010-07-30 11:00:51 +02:00
PORTVERSION= 0.2.7.1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= A Haskell syntax highlighting library for 50+ languages
USE_HACKAGE= pcre-light
2010-05-15 21:24:50 +02:00
OPTIONS= EXECUTABLE "Build the Highlight executable" off
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
2010-05-15 21:24:50 +02:00
.include <bsd.port.options.mk>
.if defined(WITH_EXECUTABLE)
CONFIGURE_ARGS+= --flags="executable"
EXECUTABLE+= Highlight
2010-05-15 21:24:50 +02:00
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>