diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-11-24 18:07:40 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-11-24 18:07:40 +0000 |
commit | 6e220b3286e463873e137e98d05737be3a5bef93 (patch) | |
tree | 2af8f78877fc38ec3aa79b8aec18b76d33adceb8 /textproc/xerces-j/Makefile | |
parent | Update to 2.12.3. (diff) |
Cross-link API documentation with JDK API documentation (if installed)
Diffstat (limited to 'textproc/xerces-j/Makefile')
-rw-r--r-- | textproc/xerces-j/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 . |