aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-BNFC
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2014-08-10 22:34:50 +0000
committerGabor Pali <pgj@FreeBSD.org>2014-08-10 22:34:50 +0000
commitcc555442337c7591ab5c3fd19ad8e3e185a256b0 (patch)
treea6a0dfa4f440949889fc7b609c83f74555f6894e /devel/hs-BNFC
parent5e492199d1e024a681c6d21087c8d948cb3b7bc3 (diff)
Notes
Diffstat (limited to 'devel/hs-BNFC')
-rw-r--r--devel/hs-BNFC/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/hs-BNFC/Makefile b/devel/hs-BNFC/Makefile
index 1f723a2b90f3..df05b0648206 100644
--- a/devel/hs-BNFC/Makefile
+++ b/devel/hs-BNFC/Makefile
@@ -3,7 +3,7 @@
PORTNAME= BNFC
PORTVERSION= 2.6.0.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -12,8 +12,14 @@ COMMENT= Compiler front-end generator
LICENSE= GPLv2
USE_CABAL= mtl
+USE_ALEX= yes
+USE_HAPPY= yes
EXECUTABLE= bnfc
+# Force regeneration of the lexer and parser.
+post-patch::
+ @${RM} -rf ${WRKSRC}/dist
+
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>