aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hs-highlighting-kate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hs-highlighting-kate/Makefile')
-rw-r--r--textproc/hs-highlighting-kate/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/hs-highlighting-kate/Makefile b/textproc/hs-highlighting-kate/Makefile
index c49cdc24d747..785258e3fa42 100644
--- a/textproc/hs-highlighting-kate/Makefile
+++ b/textproc/hs-highlighting-kate/Makefile
@@ -7,6 +7,7 @@
PORTNAME= highlighting-kate
PORTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
@@ -16,12 +17,13 @@ LICENSE= GPLv2
USE_CABAL= blaze-html>=0.4.2 mtl parsec regex-pcre-builtin
-OPTIONS= EXECUTABLE "Build the Highlight executable" off
+OPTIONS_DEFINE= EXECUTABLE
+
+EXECUTABLE_DESC= Build the Highlight executable
-.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
-.if defined(WITH_EXECUTABLE)
+.if ${PORT_OPTIONS:MEXECUTABLE}
CONFIGURE_ARGS+= --flags="executable"
EXECUTABLE+= Highlight
.else