From 4b0771b44383ffe636d63ce80636aad5a1856eeb Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 3 May 2009 06:17:08 +0000 Subject: [PATCH] . Remove quotes from NO_CDROM and RESTRICTED. [1] . Set IGNORE if NOPORTDOCS is set since this port only installs docs. [2] Pointed out by: portlint [1] QAT [2] --- java/jdk13-doc/Makefile | 7 +++++-- java/jdk14-doc/Makefile | 7 +++++-- java/jdk15-doc/Makefile | 7 +++++-- 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