b6ec06f079
Ports 02f27a83b4 fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
PORTNAME= commons-math
|
|
PORTVERSION= 3.6.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= math java
|
|
MASTER_SITES= APACHE_COMMONS_SOURCE \
|
|
https://repo1.maven.org/maven2/junit/junit/4.8.2/:source2
|
|
PKGNAMEPREFIX= apache-
|
|
DISTNAME= ${PORTNAME}3-${PORTVERSION}-src
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
junit-4.8.2.jar:source2
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Java library of self-contained mathematics and statistics components
|
|
WWW= https://commons.apache.org/proper/commons-math/
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= java:ant,run
|
|
|
|
ALL_TARGET= compile jar
|
|
MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true
|
|
|
|
JARFILE= ${PORTNAME:S,3,,}-3.6.jar
|
|
DESTJARFILE= ${PORTNAME}.jar
|
|
PLIST_FILES+= ${JAVAJARDIR}/${DESTJARFILE}
|
|
PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt license-header.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_ALL_TARGET= javadoc
|
|
|
|
NO_ARCH= yes
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/lib
|
|
${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|