git: a55c02860799 - main - math/apache-commons-math: Fix DOCS build and PORTDOCS
Muhammad Moinur Rahman
bofh at FreeBSD.org
Sun Jun 6 17:19:23 UTC 2021
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a55c02860799a75557845ab1740f01f5db737a8f
commit a55c02860799a75557845ab1740f01f5db737a8f
Author: Muhammad Moinur Rahman <bofh at FreeBSD.org>
AuthorDate: 2021-06-06 17:17:17 +0000
Commit: Muhammad Moinur Rahman <bofh at FreeBSD.org>
CommitDate: 2021-06-06 17:19:00 +0000
math/apache-commons-math: Fix DOCS build and PORTDOCS
- Mark NO_ARCH
---
math/apache-commons-math/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/math/apache-commons-math/Makefile b/math/apache-commons-math/Makefile
index 46d201594309..f690606a155f 100644
--- a/math/apache-commons-math/Makefile
+++ b/math/apache-commons-math/Makefile
@@ -2,6 +2,7 @@
PORTNAME= commons-math
PORTVERSION= 3.6.1
+PORTREVISION= 1
CATEGORIES= math java
MASTER_SITES= APACHE_COMMONS_SOURCE \
http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2
@@ -32,12 +33,13 @@ PLIST_FILES+= ${JAVAJARDIR}/${DESTJARFILE}
OPTIONS_DEFINE= DOCS
+NO_ARCH= yes
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= javadoc
-OTHERDOCS= LICENSE.txt NOTICE.txt
-PORTDOCS= apidocs ${OTHERDOCS}
+PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt license-header.txt
.endif
post-extract:
@@ -49,8 +51,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs
- (cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidocs/${SDIR})
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}/
.endif
More information about the dev-commits-ports-all
mailing list