diff --git a/devel/antlr/Makefile b/devel/antlr/Makefile index b5f5e35e81d9..3f7e18bad219 100644 --- a/devel/antlr/Makefile +++ b/devel/antlr/Makefile @@ -29,8 +29,9 @@ CONFIGURE_ARGS= --disable-csharp --prefix=${PREFIX} PORT_CLASSPATH= ${WRKSRC}/antlrall.jar:. -.include EXAMPLES= cpp java + +.include .if ${PORT_OPTIONS:MDOCS} PORTDOCS= ANTLRException.gif closure.gif cpp-runtime.html \ csharp-runtime.html err.html glossary.html hidden.stream.gif \ @@ -42,8 +43,6 @@ PORTDOCS= ANTLRException.gif closure.gif cpp-runtime.html \ vocab.html .endif -.include - .if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= 2.2+ PORTDOCS+= python-runtime.html