the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: antlr
Version: 2.7.7
Revision: 1001
GCC: 4.0
Maintainer: Matthias Neeracher
Conflicts: pccts
Source: http://www.antlr2.org/download/%n-%v.tar.gz
Source-MD5: 01cc9a2a454dd33dcd8c856ec89af090
Type: java(1.4)
BuildDepends: system-java14-dev
Depends: system-java (>= 1.4-1)
CompileScript: <<
#!/bin/sh -ex
export JAVAC=javac
./configure --prefix=%i
make
<<
InstallScript: <<
#!/bin/sh -ex
export JAVAC=javac
make install DESTDIR=%i
# Remove version number from doc directory
mv %i/share/doc/%n-%v %i/share/doc/%n
# Remove version number from share directory
mv %i/share/%n-%v %i/share/%n
# Remove redundant JAR files
rm %i/lib/%n.jar
rm %i/share/%n/%n.jar
# Copy examples and scripts
cp -r examples scripts %i/share/doc/%n
ranlib %i/lib/libantlr.a
<<
JarFiles: %n/%n.jar
Description: ANother Tool for Language Recognition (formerly PCCTS)
DescDetail: <<
ANother Tool for Language Recognition (formerly PCCTS) is a language
tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
Java, C#, or C++ actions. ANTLR provides excellent support for tree
construction, tree walking, and translation.
<<
License: Public Domain
Homepage: http://www.antlr.org
Package: antlr
Version: 2.7.7
Revision: 1001
GCC: 4.0
Maintainer: Matthias Neeracher
Conflicts: pccts
Source: http://www.antlr2.org/download/%n-%v.tar.gz
Source-MD5: 01cc9a2a454dd33dcd8c856ec89af090
Type: java(1.4)
BuildDepends: system-java14-dev
Depends: system-java (>= 1.4-1)
CompileScript: <<
#!/bin/sh -ex
export JAVAC=javac
./configure --prefix=%i
make
<<
InstallScript: <<
#!/bin/sh -ex
export JAVAC=javac
make install DESTDIR=%i
# Remove version number from doc directory
mv %i/share/doc/%n-%v %i/share/doc/%n
# Remove version number from share directory
mv %i/share/%n-%v %i/share/%n
# Remove redundant JAR files
rm %i/lib/%n.jar
rm %i/share/%n/%n.jar
# Copy examples and scripts
cp -r examples scripts %i/share/doc/%n
ranlib %i/lib/libantlr.a
<<
JarFiles: %n/%n.jar
Description: ANother Tool for Language Recognition (formerly PCCTS)
DescDetail: <<
ANother Tool for Language Recognition (formerly PCCTS) is a language
tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
Java, C#, or C++ actions. ANTLR provides excellent support for tree
construction, tree walking, and translation.
<<
License: Public Domain
Homepage: http://www.antlr.org