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
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
PORTNAME= jfreechart
|
|
PORTVERSION= 1.0.17
|
|
PORTREVISION= 3
|
|
CATEGORIES= java graphics
|
|
MASTER_SITES= SF/${PORTNAME}/1.%20JFreeChart/${PORTVERSION}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Free Java class library for generating charts
|
|
WWW= http://www.jfree.org/jfreechart/index.php
|
|
|
|
LICENSE= LGPL21
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/jcommon.jar:java/jcommon
|
|
|
|
OPTIONS_DEFINE= COMPILE DOCS
|
|
OPTIONS_DEFAULT=COMPILE
|
|
|
|
COMPILE_DESC= Build from source
|
|
|
|
COMPILE_USES= java:ant,run
|
|
COMPILE_USES_OFF= java
|
|
COMPILE_ALL_TARGET= compile
|
|
COMPILE_VARS_OFF= NO_BUILD=yes
|
|
COMPILE_MAKE_ARGS+= -Dsrc.version=1.8 -Dtarget.version=1.8
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MCOMPILE}
|
|
BUILD_WRKSRC= ${WRKSRC}/ant
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
ALL_TARGET+= javadoc
|
|
PORTDOCS= *
|
|
.endif
|
|
.endif
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/jfreechart.jar
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MCOMPILE}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/javadoc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|