The Xerces Java Parser is a complete implementation of the parser related
portions of JAXP 1.4 and also brings Xerces into compliance with SAX 2.0.2, the
DOM Level 3 Core and Load/Save W3C Recommendations, the XML Inclusions
(XInclude) Version 1.0 W3C Recommendation and the XML Schema 1.0 Structures and
Datatypes Second Edition W3C Recommendations.
Xerces2 is the next generation of high performance, fully compliant XML parsers
in the Apache Xerces family. This version of Xerces introduces the Xerces
Native Interface (XNI), a complete framework for building parser components and
configurations that is extremely modular and easy to program.
The Apache Xerces2 parser is the reference implementation of XNI but other
parser components, configurations, and parsers can be written using the Xerces
Native Interface.
===> The following configuration options are available for xerces-j-2.12.2_2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> 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
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 )
textproc/xerces-j: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Approved by: ale (port maintainer), arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32414
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
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
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)
- Disable Jikes to avoid trouble with JDK 1.3
- Disable building extra documentation when not using JDK 1.5 as the Xalan
processor used to tranform the XML source files seems to try and use X11
(which fails if built by superuser in a console) [1]
NOTE: When using JDK 1.5 (java/jdk15) this error does not occur so it seems
like we could find a fix for that. Otherwise I will probably convert the port
to a binary one.
Reported by: pointyhat [1]
- Update to 2.7.1 [1]
This release provides a complete implementation of the parser related
portions of JAXP 1.3 and also brings Xerces into compliance with SAX 2.0.2,
the DOM Level 3 Core and Load/Save W3C Recommendations, the XML Inclusions
(XInclude) Version 1.0 W3C Recommendation and the XML Schema 1.0 Structures
and Datatypes Second Edition W3C Recommendations.
- Update pkg-descr to reflect latest additions and newly supported features
- Install deprecated JARs in ${DATADIR}/deprecated/ to avoid bloating
${JAVAJARDIR}
- Build and install extra documentation (not just JavaDoc)
- Add SHA256 info
- Do not ${MKDIR} ${JAVAJARDIR} as it has been part of mtree for more than 3
years now
WARNING: Some deprecated JAR files are no longer built nor installed
(xmlParserAPIs.jar and resolver.jar). I contacted people maintaining ports that
were depending on these files [2] and it seems to be fine. Any subsequent
problem would come from ports depending on files from textproc/xerces-j but not
effectively registering the dependency.
Reported by: FreeBSD Ports Version Check (via edwin) [1]
Tested by: thierry (for some depending ports breaking) [2]
- Samples are now installed by default
- The source code for samples is now installed with the samples
- Fixed some OPTIONS/package issue
- Updated pkg-descr
- Performance improvement: removed the unnecessary loop
- Cosmetic changes: honor 80 chars line length
PR: ports/69015
Submitted by: Herve Quiroz
Requested by: me
Fix subtle bug in a plist substitution rule that left an unnecessary
leading slash in certain filenames (only affected 'make package').
Prompted by: bento via kris
Update to version 2.6.2:
- Now using JAVAJARDIR instead of JAVASHAREDIR/classes
- Now using PORTDOCS macro (to reduce pkg-plist size and fix the apidocs
deinstall issue with some JDKs)
- Now using PLIST_FILES macro (thus no more pkg-plist)
- Now using MASTER_SITE_APACHE_XML/MASTER_SITE_SUBDIR
- Now using OPTIONS macro for a more flexible build/install:
- WITH_DEPRECATED_JARS: build and install deprecated JARs (default:
on, as some ports may depend on it)
- WITH_SAMPLES_JAR: build and install samples (default: off)
- bsd.java.mk 2.0 compliant
- ECHO -> ECHO_CMD
- explicit mkdir JAVAJARDIR (just in case)
- SIZE added to distinfo
- assign maintainership to submitter
PR: ports/51415
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Upgrade from 2.1.0 to 2.2.0.
This version of the port will build from source instead of taking
a binary distro. It does not install the Stylebook-based
documentation. We will need to create a textproc/xml-stylebook
port for that. I've looked at it, but it's a bit cumbersome.
There is no official release of xml-stylebook (d'oh).
Approved by: kevlo