diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2021-06-06 12:17:17 -0500 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2021-06-06 12:19:00 -0500 |
| commit | a55c02860799a75557845ab1740f01f5db737a8f (patch) | |
| tree | db3e5d0b4ef78c789a9086479bb1ffb322259451 /math/apache-commons-math | |
| parent | converters/lua-iconv: fix build on powerpc (diff) | |
math/apache-commons-math: Fix DOCS build and PORTDOCS
- Mark NO_ARCH
Diffstat (limited to 'math/apache-commons-math')
| -rw-r--r-- | math/apache-commons-math/Makefile | 9 |
1 files 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 |
