mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
06d85c9843
PR: 246754 Submitted by: fluffy Relnotes: https://github.com/antlr/antlr4/releases/tag/4.8
32 lines
719 B
Makefile
32 lines
719 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= antlr4
|
|
PORTVERSION= 4.8
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://www.antlr.org/download/
|
|
DISTNAME= antlr-${PORTVERSION}-complete
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= ANother Tool for Language Recognition
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.8+
|
|
INSTALL_JAR= ${DISTFILES}
|
|
SUB_LIST= INSTALL_JAR=${INSTALL_JAR}
|
|
SUB_FILES= antlr.sh
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
${JAVAJARDIR}/${INSTALL_JAR}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/${INSTALL_JAR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/antlr.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|