06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: jfreechart
|
|
# Date created: Nov 11, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jfreechart
|
|
PORTVERSION= 1.0.13
|
|
CATEGORIES= java graphics
|
|
MASTER_SITES= SF/${PORTNAME}/1.%20JFreeChart/${PORTVERSION}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= A free Java class library for generating charts
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/jcommon.jar:${PORTSDIR}/java/jcommon
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
|
|
.if !defined(WITHOUT_COMPILE)
|
|
USE_ANT= yes
|
|
ALL_TARGET= compile
|
|
BUILD_WRKSRC= ${WRKSRC}/ant
|
|
.else
|
|
NO_BUILD= yes
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
|
|
ALL_TARGET+= javadoc
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/jfreechart.jar \
|
|
%%JAVAJARDIR%%/gnujaxp.jar
|
|
|
|
pre-fetch:
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "You may use the following build options:"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file"
|
|
@${ECHO_MSG} ""
|
|
|
|
do-install:
|
|
@${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR}/..."
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/gnujaxp.jar ${JAVAJARDIR}/gnujaxp.jar
|
|
@${ECHO_MSG} " [DONE]"
|
|
.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/javadoc && ${FIND} . \
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
@${ECHO_MSG} " [DONE]"
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|