Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2021 17:19:22 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a55c02860799 - main - math/apache-commons-math: Fix DOCS build and PORTDOCS
Message-ID:  <202106061719.156HJMjC071874@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a55c02860799a75557845ab1740f01f5db737a8f

commit a55c02860799a75557845ab1740f01f5db737a8f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2021-06-06 17:17:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106061719.156HJMjC071874>