2c2306afab
language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions. WWW: http://www.antlr3.org PR: 199674 Submitted by: takumiiinn@gmail.com
33 lines
801 B
Makefile
33 lines
801 B
Makefile
# Created by: Takumi Takahashi <takumiiinn@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= antlr3
|
|
PORTVERSION= 3.5.2
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://www.antlr3.org/download/
|
|
DISTNAME= antlr-${PORTVERSION}-complete
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= takumiiinn@gmail.com
|
|
COMMENT= ANother Tool for Language Recognition
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
NO_BUILD= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.7+
|
|
INSTALL_JAR= ${DISTFILES}
|
|
SUB_LIST= INSTALL_JAR=${INSTALL_JAR}
|
|
SUB_FILES= antlr.sh
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
${JAVAJARDIR}/${INSTALL_JAR}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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>
|