Follow portlint's recommendation to NOT hide an install-command under @.
Use this opportunity to correct an error in an earlier commit, which referenced
an incorrect PR. The correct number is:
PR: 199869

Fix the build in the case of newer JUnit, that, in its turn, uses hamcrest now.
Upgrade from 6.1.5 to 6.2.31. Based on:
PR: 156251
Submitted by: pi
Now that the test-target fully works, add "regression-test" alias to it so it
can be used for that purpose.

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)

- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)

Update from 3.1.0 to 3.2.13. This should fix all of the self-test failures
observed so far (spurious and real). Update WWW.
Although supposedly a minor bug-fix release, this one still comes with a
file-format change, unfortunately. See vendor's announcement at:
http://forums.oracle.com/forums/ann.jspa?annID=372

Disable two more self-tests, which may hang in rare circumstance.
According to SleepyCat/Oracle, these will be fixed in the next release.
Provide two explicit download sites for those, whose FETCH_CMD is set to
NOT follow redirects (as is the default). Oracle uses such redirects to
facilitate downloads from the server closer to the downloader, but the
scheme breaks, when the redirects are not followed.
Approved by: portmgr (erwin)

Tune the port a little finer:
. Java-1.5 is required to build (although the result is usable
with 1.4 as well) -- reflect this in pkg-descr for the user
and in Makefile for the build process
. add a patch for the "occasionaly" failing test -- on advice
from Oracle:
http://forums.oracle.com/forums/thread.jspa?threadID=431242
. enable automatic testing post-build -- the tests stress out
both Java and JE and their failure may be a nice canary for
our mine.

Upgrade from 1.7.1 to 3.1.0, thanks largely to the diffs supplied by ijliao
(for the earlier version 3.0.12).
Make post-build test possible (via OPTIONS) and, unfortunately, disable it
by default due to several test failures. (Java-maintainers may want to take
a look.)
Switch to an auto-generated pkg-plist (HUGE amount of examples and
documentation).
Ying-Chieh is planning to delete his databases/java-db and is invited to
take over this port.