aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hs-highlighting-kate-ghc/Makefile
blob: bcf28714b49a1d234d3fbf2181fcb380c30238ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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>