From 6e220b3286e463873e137e98d05737be3a5bef93 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Thu, 24 Nov 2005 18:07:40 +0000 Subject: Cross-link API documentation with JDK API documentation (if installed) --- textproc/xerces-j/Makefile | 5 +++ textproc/xerces-j/files/patch-build.xml | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 textproc/xerces-j/files/patch-build.xml (limited to 'textproc/xerces-j') diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile index f3b05c45ce26..e16ef205a655 100644 --- a/textproc/xerces-j/Makefile +++ b/textproc/xerces-j/Makefile @@ -50,6 +50,11 @@ TOOLS_JARFILES= resolver.jar stylebook-1.0-b2.jar bin/xjavac.jar CLASSPATH!= ${ECHO_CMD} ${TOOLS_JARFILES:S,^,tools/,} | ${TR} " " ":" MAKE_ENV= CLASSPATH=${CLASSPATH} +JAVA_PORT_API= ${LOCALBASE}/share/doc/jdk${JAVA_PORT_VERSION:C/([0-9]\.[0-9])\.[0-9]/\1/}/api +.if exists(${JAVA_PORT_API}) +MAKE_ARGS+= -Djdk.api="${JAVA_PORT_API}" +.endif + post-extract: @cd ${WRKSRC} && ${MV} ../tools . diff --git a/textproc/xerces-j/files/patch-build.xml b/textproc/xerces-j/files/patch-build.xml new file mode 100644 index 000000000000..8621b1652dca --- /dev/null +++ b/textproc/xerces-j/files/patch-build.xml @@ -0,0 +1,61 @@ +Allows to enforce a packagelistLoc for JDK API documentation + +$FreeBSD$ + +--- build.xml.orig Thu Nov 24 16:57:51 2005 ++++ build.xml Thu Nov 24 17:19:25 2005 +@@ -402,7 +402,9 @@ + windowtitle='XML Standard API' doctitle='XML Standard API' + bottom='${copyright}' + additionalparam='${additional.param}' +- /> ++ > ++ ++ + + ++ > ++ ++ + + ++ > ++ ++ + + + ++ > ++ ++ + + ++ > ++ ++ + + + -- cgit v1.2.3