ANTLR, 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
C++ or Java actions.
===> The following configuration options are available for antlr-2.7.7_4:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.
- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
1302507 and less than 1400000
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663). Now this patch completely removes remaining stuff from the
ports tree.
PR: 241953 (exp-run)
Reviewed by: glewis
Approved by: portmgr (antoine)
Differential Revision: https://reviews.freebsd.org/D22342
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Add patch to fix build with ports GCC (the port builds with base GCC,
but not with GCC 8 from ports).
PR: 234204
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).
I also emailed him 2 weeks ago and have received no response so far.
devel/antlr:
- Convert to new options helpers
- Remove outdated JAVA_VERSION restriction
- Remove WITH_BUILT_JAVA_LIB knob, I don't see a point for converting it
into option
devel/antlr: Remove faulty gcc 2.95 patches
According to the commit log, these patches were supposed to use
<istream.h> for gcc version less than 3.2 (namely GCC 2.95). The
logic is flawed. It doesn't work for gcc 3.2 or greater. There must
have been a compatibility header in gcc 4 that masked the error. GCC5
doesn't have one so it broke.
The logic is __GNU__ < 3 || __GNUC_MINOR__ < 2
it was intended to be __GNU__ < 3 || (__GNU__ == 3 && __GNU_MINOR__ < 2)
However, there is no point in fixing these patches. These ancient
GCCs aren't available on currently supported FreeBSD releases.
Approved by: Just fix it
- Add staging support
- Remove dependency on javavmwrapper, pulled in by java
- Convert to USES=gmake
- Use SUB_FILES instead of sed substitutions, move antlr.sh to antlr.sh.in
- Use options subs for PYTHON option
Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.
Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .
PR: ports/158969
Submitted by: rene
Tested on: pointyhat-west -exp
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
. Antlr now seems to require Java 1.4 or better (certainly the build fails
with 1.3). So fix the build for 4.x by requiring Java 1.4+.
. Reflect this requirement in antlr.sh.
- Update to 2.7.4
- Update to bsd.java.mk 2.0
- Use HAS_CONFIGURE and CONFIGURE_ENV
- Cleanup unnecessary *_DEPENDS
- Honor hier(7): install examples in ${EXAMPLESDIR}
- Honor Porter's handbook: install JAR in ${JAVAJARDIR}
- Cleanup unnecessary port variables
- No longer use DIST_SUBDIR
- Use javavmwrapper in shell script (rather than hardcoding the use of a
particular JVM)
- New option WITH_BUILD_JAVA_LIB which force the build of the Java lib
- Switch maintainer to ports@
PR: 73509
Submitted by: me
Approved by: maintainer
Fix the my previous commit, CONFLICTS gets feeded into ls, so it has
to be a shell glob pattern to detect all versions of the port.
Noticed by: Marius Strobl <marius@alchemy.franken.de>
New port: devel/antlr
ANTLR, 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 C++ or Java actions.
PR: ports/40238
Submitted by: Geoffrey Mainland <mainland@apeiron.net>