aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/jdk13-doc/Makefile7
-rw-r--r--java/jdk14-doc/Makefile7
-rw-r--r--java/jdk15-doc/Makefile7
3 files changed, 15 insertions, 6 deletions
diff --git a/java/jdk13-doc/Makefile b/java/jdk13-doc/Makefile
index 2b74c9e1f40d..ba51b2f5f9b8 100644
--- a/java/jdk13-doc/Makefile
+++ b/java/jdk13-doc/Makefile
@@ -16,8 +16,11 @@ COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
LATEST_LINK= jdk${JDK_CONCAT_VER}-doc
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
-NO_CDROM= "License does not allow distribution with fee."
-RESTRICTED= "This documentation is under license and export control."
+NO_CDROM= License does not allow distribution with fee.
+RESTRICTED= This documentation is under license and export control.
+.if defined(NOPORTDOCS)
+IGNORE= port only installs documentation
+.endif
WRKSRC= ${WRKDIR}/docs
JDK_VERSION= 1.3.1
diff --git a/java/jdk14-doc/Makefile b/java/jdk14-doc/Makefile
index 63d3ef36618a..e2d72d12a9b7 100644
--- a/java/jdk14-doc/Makefile
+++ b/java/jdk14-doc/Makefile
@@ -16,8 +16,11 @@ COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
LATEST_LINK= jdk${JDK_CONCAT_VER}-doc
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
-NO_CDROM= "License does not allow distribution with fee."
-RESTRICTED= "This documentation is under license and export control."
+NO_CDROM= License does not allow distribution with fee.
+RESTRICTED= This documentation is under license and export control.
+.if defined(NOPORTDOCS)
+IGNORE= port only installs documentation
+.endif
WRKSRC= ${WRKDIR}/docs
JDK_VERSION= 1.4.2
diff --git a/java/jdk15-doc/Makefile b/java/jdk15-doc/Makefile
index 5865b17d239a..dc339e231092 100644
--- a/java/jdk15-doc/Makefile
+++ b/java/jdk15-doc/Makefile
@@ -17,8 +17,11 @@ COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
LATEST_LINK= jdk${JDK_CONCAT_VER}-doc
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
-NO_CDROM= "License does not allow distribution with fee."
-RESTRICTED= "This documentation is under license and export control."
+NO_CDROM= License does not allow distribution with fee.
+RESTRICTED= This documentation is under license and export control.
+.if defined(NOPORTDOCS)
+IGNORE= port only installs documentation
+.endif
WRKSRC= ${WRKDIR}/docs
JDK_VERSION= 1.5.0