Index: head/devel/antlr/Makefile =================================================================== --- head/devel/antlr/Makefile (revision 550133) +++ head/devel/antlr/Makefile (revision 550134) @@ -1,70 +1,56 @@ # Created by: Geoffrey Mainland # $FreeBSD$ PORTNAME= antlr PORTVERSION= 2.7.7 PORTREVISION= 2 CATEGORIES= devel java -MASTER_SITES= http://www.antlr2.org/download/ +MASTER_SITES= https://www.antlr2.org/download/ MAINTAINER= makc@FreeBSD.org COMMENT= ANother Tool for Language Recognition LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE.txt CONFLICTS= pccts-[0-9]* USES= compiler:c++11-lang gmake USE_JAVA= yes HAS_CONFIGURE= yes CONFIGURE_ENV= JAVAC="${JAVAC}" JAR="${JAR}" JAVA="${JAVA}" CLASSPATH="${PORT_CLASSPATH}" CONFIGURE_ARGS= --disable-csharp --prefix=${PREFIX} PORT_CLASSPATH= ${WRKSRC}/antlrall.jar:. SUB_FILES= antlr.sh PORTDOCS= ANTLRException.gif closure.gif cpp-runtime.html \ csharp-runtime.html err.html glossary.html hidden.stream.gif \ index.html inheritance.html j-guru-blue.jpg jguru-logo.gif \ lexer.html lexer.to.parser.tokens.gif logo.gif metalang.html \ optional.gif options.html posclosure.gif runtime.html sor.html \ stream.perspectives.gif stream.selector.gif \ stream.splitter.gif streams.html subrule.gif trees.html \ vocab.html -OPTIONS_DEFINE= PYTHON DOCS -OPTIONS_SUB= yes +OPTIONS_DEFINE= DOCS -PYTHON_USES= python:2.7 -PYTHON_PORTDOCS= python-runtime.html - post-extract: (cd ${WRKSRC} && ${CP} antlr.jar antlrall.jar) -post-configure-PYTHON-on: - (cd ${WRKSRC}/lib/python && ${PYTHON_CMD} setup.py config) - -post-build-PYTHON-on: - (cd ${WRKSRC}/lib/python && ${PYTHON_CMD} setup.py build && \ - ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/lib/python) - do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/antlr.jar ${STAGEDIR}${JAVAJARDIR} ${INSTALL_SCRIPT} ${WRKDIR}/antlr.sh ${STAGEDIR}${PREFIX}/bin/antlr @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/lib/cpp/antlr/*.hpp \ ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/lib/cpp/src/libantlr.a ${STAGEDIR}${PREFIX}/lib do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) - -do-install-PYTHON-on: - @(cd ${WRKSRC}/lib/python && ${PYTHON_CMD} setup.py install --root=${STAGEDIR}) .include Index: head/devel/antlr/pkg-plist =================================================================== --- head/devel/antlr/pkg-plist (revision 550133) +++ head/devel/antlr/pkg-plist (revision 550134) @@ -1,57 +1,53 @@ bin/antlr include/antlr/ANTLRException.hpp include/antlr/ANTLRUtil.hpp include/antlr/AST.hpp include/antlr/ASTArray.hpp include/antlr/ASTFactory.hpp include/antlr/ASTNULLType.hpp include/antlr/ASTPair.hpp include/antlr/ASTRefCount.hpp include/antlr/BaseAST.hpp include/antlr/BitSet.hpp include/antlr/CharBuffer.hpp include/antlr/CharInputBuffer.hpp include/antlr/CharScanner.hpp include/antlr/CharStreamException.hpp include/antlr/CharStreamIOException.hpp include/antlr/CircularQueue.hpp include/antlr/CommonAST.hpp include/antlr/CommonASTWithHiddenTokens.hpp include/antlr/CommonHiddenStreamToken.hpp include/antlr/CommonToken.hpp include/antlr/IOException.hpp include/antlr/InputBuffer.hpp include/antlr/LLkParser.hpp include/antlr/LexerSharedInputState.hpp include/antlr/MismatchedCharException.hpp include/antlr/MismatchedTokenException.hpp include/antlr/NoViableAltException.hpp include/antlr/NoViableAltForCharException.hpp include/antlr/Parser.hpp include/antlr/ParserSharedInputState.hpp include/antlr/RecognitionException.hpp include/antlr/RefCount.hpp include/antlr/SemanticException.hpp include/antlr/String.hpp include/antlr/Token.hpp include/antlr/TokenBuffer.hpp include/antlr/TokenRefCount.hpp include/antlr/TokenStream.hpp include/antlr/TokenStreamBasicFilter.hpp include/antlr/TokenStreamRewriteEngine.hpp include/antlr/TokenWithIndex.hpp include/antlr/TreeParser.hpp include/antlr/TokenStreamException.hpp include/antlr/TokenStreamHiddenTokenFilter.hpp include/antlr/TokenStreamIOException.hpp include/antlr/TokenStreamRecognitionException.hpp include/antlr/TokenStreamRetryException.hpp include/antlr/TokenStreamSelector.hpp include/antlr/TreeParserSharedInputState.hpp include/antlr/config.hpp lib/libantlr.a %%JAVAJARDIR%%/antlr.jar -%%PYTHON%%%%PYTHON_SITELIBDIR%%/antlr/__init__.py -%%PYTHON%%%%PYTHON_SITELIBDIR%%/antlr/__init__.pyc -%%PYTHON%%%%PYTHON_SITELIBDIR%%/antlr/antlr.py -%%PYTHON%%%%PYTHON_SITELIBDIR%%/antlr/antlr.pyc