aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2018-09-10 21:14:50 +0800
committermat <mat@FreeBSD.org>2018-09-10 21:14:50 +0800
commit6baece3b7ae06d93445a0e0ecf02e59541a92a95 (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /java
parentc6f82ca14271d2d9433ac4938a2188b9b6d092c1 (diff)
downloadfreebsd-ports-gnome-6baece3b7ae06d93445a0e0ecf02e59541a92a95.tar.gz
freebsd-ports-gnome-6baece3b7ae06d93445a0e0ecf02e59541a92a95.tar.zst
freebsd-ports-gnome-6baece3b7ae06d93445a0e0ecf02e59541a92a95.zip
Add DOCS options to ports that should have one.
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
Diffstat (limited to 'java')
-rw-r--r--java/castor/Makefile2
-rw-r--r--java/jaxen/Makefile2
-rw-r--r--java/jdk8-doc/Makefile2
-rw-r--r--java/jdk9-doc/Makefile2
4 files changed, 8 insertions, 0 deletions
diff --git a/java/castor/Makefile b/java/castor/Makefile
index 0e30c5e60deb..c923ef859f04 100644
--- a/java/castor/Makefile
+++ b/java/castor/Makefile
@@ -28,6 +28,8 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-anttasks.jar \
PORTDOCS= *.html *.txt *.css *.dtd *.xsd *.pdf \
ora-mar-2k images rss
+OPTIONS_DEFINE= DOCS
+
do-install:
.for f in ${PLIST_FILES:T:R}
${INSTALL_DATA} \
diff --git a/java/jaxen/Makefile b/java/jaxen/Makefile
index 76a0aeea2368..b6ea26babec5 100644
--- a/java/jaxen/Makefile
+++ b/java/jaxen/Makefile
@@ -21,6 +21,8 @@ PLIST_FILES+= ${JARFILES:S,^lib/,,:S,^,%%JAVAJARDIR%%/,}
DOCS= default.css download.html faq.html index.html javadoc status.html style
PORTDOCS= LICENSE ${DOCS}
+OPTIONS_DEFINE= DOCS
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
diff --git a/java/jdk8-doc/Makefile b/java/jdk8-doc/Makefile
index 962644e20b4e..9976fe268675 100644
--- a/java/jdk8-doc/Makefile
+++ b/java/jdk8-doc/Makefile
@@ -23,6 +23,8 @@ NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
diff --git a/java/jdk9-doc/Makefile b/java/jdk9-doc/Makefile
index 89747493432f..f481d8e870cb 100644
--- a/java/jdk9-doc/Makefile
+++ b/java/jdk9-doc/Makefile
@@ -23,6 +23,8 @@ NO_BUILD= yes
USES= zip
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})