diff options
author | Matthew Seaman <matthew@FreeBSD.org> | 2012-06-04 19:25:56 +0000 |
---|---|---|
committer | Matthew Seaman <matthew@FreeBSD.org> | 2012-06-04 19:25:56 +0000 |
commit | ce2305af6799357159c317fc826d37d8137bfef3 (patch) | |
tree | 13d6e5539796d50a49425c14bd27da9e21368025 /databases/mysql-connector-java | |
parent | d9ad877b7e7d15d03ebcf6713e90e9b6559e34f0 (diff) | |
download | ports-ce2305af6799357159c317fc826d37d8137bfef3.tar.gz ports-ce2305af6799357159c317fc826d37d8137bfef3.zip |
Notes
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r-- | databases/mysql-connector-java/Makefile | 8 |
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 \ |