aboutsummaryrefslogtreecommitdiff
path: root/databases/jakarta-commons-dbutils/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 21:48:44 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 21:48:44 +0000
commit4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e (patch)
treea217c2f6b9317591e25a1528cad83dd0d6c1510b /databases/jakarta-commons-dbutils/Makefile
parentf7622d1fc81f368c475b5acccae9b33957754f02 (diff)
downloadports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.tar.gz
ports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.zip
Nuke NOPORTDOCS. While, here, correct a couple offenders who label examples
with PORTDOCS. And, fix a couple WITH_foo invocations.
Notes
Notes: svn path=/head/; revision=360463
Diffstat (limited to 'databases/jakarta-commons-dbutils/Makefile')
-rw-r--r--databases/jakarta-commons-dbutils/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/jakarta-commons-dbutils/Makefile b/databases/jakarta-commons-dbutils/Makefile
index 8c82d04354ca..ced0b6dc072e 100644
--- a/databases/jakarta-commons-dbutils/Makefile
+++ b/databases/jakarta-commons-dbutils/Makefile
@@ -23,9 +23,9 @@ ALL_TARGET= dist
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= LICENSE.txt api
-.endif
post-patch:
${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|' ${WRKSRC}/build.xml
@@ -35,7 +35,6 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/dist/commons-dbutils-1.1.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
-.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/dist/docs && ${FIND} api \