summaryrefslogtreecommitdiff
path: root/java/jump/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jump/Makefile')
-rw-r--r--java/jump/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/java/jump/Makefile b/java/jump/Makefile
index 15fbdbe57fd2..ab744c5742c9 100644
--- a/java/jump/Makefile
+++ b/java/jump/Makefile
@@ -8,8 +8,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java library for arbitrary precision computations
WWW= https://jump-math.sourceforge.net/
-USE_JAVA= yes
-USE_ANT= yes
+USES= java:ant
+
ALL_TARGET= jar
JARFILE= ${PORTNAME}.jar
@@ -19,17 +19,13 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+= apidocs
-.endif
+DOCS_ALL_TARGET= apidocs
do-install:
${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/build/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>