aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-connector-java
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2012-06-04 19:25:56 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2012-06-04 19:25:56 +0000
commitce2305af6799357159c317fc826d37d8137bfef3 (patch)
tree13d6e5539796d50a49425c14bd27da9e21368025 /databases/mysql-connector-java
parentd9ad877b7e7d15d03ebcf6713e90e9b6559e34f0 (diff)
downloadports-ce2305af6799357159c317fc826d37d8137bfef3.tar.gz
ports-ce2305af6799357159c317fc826d37d8137bfef3.zip
Notes
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r--databases/mysql-connector-java/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index 18f2baa6db3a..cdc0fa985aea 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/Makefile
@@ -35,12 +35,14 @@ JDCLASSPATH= ${SRCDIR}:${CLASSPATH}
PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
do-build:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \
${JAVADOC} -quiet -breakiterator -encoding utf8 \
-d ${JAVADOCDIR} -package -classpath ${JDCLASSPATH} \
@@ -55,7 +57,7 @@ do-install-jar:
@${ECHO_MSG} " [ DONE ]"
do-install-apidocs:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${APIDOCSDIR}
@cd ${JAVADOCDIR} && for src in $$( ${FIND} . ) ; do \