8bb8c53d57
Changelog: https://github.com/antlr/antlr4/releases/tag/4.11.1 https://github.com/antlr/antlr4/releases/tag/4.11.0 https://github.com/antlr/antlr4/releases/tag/4.10.1 https://github.com/antlr/antlr4/releases/tag/4.10.0 PR: 268965
32 lines
803 B
Makefile
32 lines
803 B
Makefile
PORTNAME= antlr4
|
|
DISTVERSION= 4.11.1
|
|
DISTVERSIONPREFIX= cpp-runtime-
|
|
DISTVERSIONSUFFIX= -source
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.antlr.org/download/
|
|
PKGNAMEPREFIX= lib
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= ANother Tool for Language Recognition (C runtime)
|
|
WWW= https://www.antlr.org/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp
|
|
|
|
USES= cmake:testing compiler:c11 localbase:ldflags zip
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
CMAKE_OFF= ANTLR_BUILD_CPP_TESTS
|
|
CMAKE_TESTING_ON= ANTLR_BUILD_CPP_TESTS # tests fail to link, see https://github.com/antlr/antlr4/issues/4074
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
LIBVERSION= ${PORTVERSION}
|
|
PLIST_SUB+= LIBVERSION=${PORTVERSION}
|
|
|
|
post-install:
|
|
@${RMDIR} ${STAGEDIR}${PREFIX}/include/antlr4-runtime/.idea
|
|
|
|
.include <bsd.port.mk>
|