aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hs-highlighting-kate-ghc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hs-highlighting-kate-ghc/Makefile')
-rw-r--r--textproc/hs-highlighting-kate-ghc/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/textproc/hs-highlighting-kate-ghc/Makefile b/textproc/hs-highlighting-kate-ghc/Makefile
index 6d60345e60f7..d3b1f0a9fb7b 100644
--- a/textproc/hs-highlighting-kate-ghc/Makefile
+++ b/textproc/hs-highlighting-kate-ghc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= highlighting-kate
-PORTVERSION= 0.2.5.1
+PORTVERSION= 0.2.6.2
CATEGORIES= textproc haskell
PKGNAMESUFFIX= -ghc
@@ -15,5 +15,18 @@ COMMENT= A Haskell syntax highlighting library for 50+ languages
USE_HACKAGE= pcre-light
+OPTIONS= EXECUTABLE "Build the Highlight executable" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_EXECUTABLE)
+CONFIGURE_ARGS+= --flags="executable"
+EXECUTABLE+= Highlighting
+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>