mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
antlr: bump version
This commit is contained in:
36
dev-java/antlr-tool/antlr_tool-4.13.2.recipe
Normal file
36
dev-java/antlr-tool/antlr_tool-4.13.2.recipe
Normal file
@@ -0,0 +1,36 @@
|
||||
SUMMARY="The ANTLR Parser Generator"
|
||||
DESCRIPTION="ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for \
|
||||
reading, processing, executing, or translating structured text or binary files. It's widely used \
|
||||
to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can \
|
||||
build and walk parse trees."
|
||||
HOMEPAGE="https://www.antlr.org/"
|
||||
COPYRIGHT="2012-2022 The ANTLR Project"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.antlr.org/download/antlr-$portVersion-complete.jar#noarchive"
|
||||
CHECKSUM_SHA256="eae2dfa119a64327444672aff63e9ec35a20180dc5b8090b7a6ab85125df4d76"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
antlr_tool = $portVersion
|
||||
cmd:antlr4 = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:java >= 11
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir $libDir
|
||||
cp antlr-$portVersion-complete.jar $libDir
|
||||
echo java -jar $libDir/antlr-$portVersion-complete.jar \"\$@\" > $binDir/antlr4
|
||||
chmod +x $binDir/antlr4
|
||||
}
|
||||
Reference in New Issue
Block a user