diff options
author | linimon <linimon@FreeBSD.org> | 2004-05-30 11:41:00 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-05-30 11:41:00 +0800 |
commit | 5118215ed9c108747f1d79161e26d7ea263832bb (patch) | |
tree | 9d47a630c0c90538dbe7eba1b5936c48ab90f896 /java | |
parent | a4eb8f0596720be6256131d0091377300a87f4f4 (diff) | |
download | freebsd-ports-gnome-5118215ed9c108747f1d79161e26d7ea263832bb.tar.gz freebsd-ports-gnome-5118215ed9c108747f1d79161e26d7ea263832bb.tar.zst freebsd-ports-gnome-5118215ed9c108747f1d79161e26d7ea263832bb.zip |
Upgrade to 0.9.18. Tweak original port a little according to ports'
CHANGES file. Assign maintainership.
PR: ports/67322
Submitted by: Sepherosa Ziehau <sepherosa at softhome.org>
Diffstat (limited to 'java')
-rw-r--r-- | java/jfreechart/Makefile | 49 | ||||
-rw-r--r-- | java/jfreechart/distinfo | 4 |
2 files changed, 44 insertions, 9 deletions
diff --git a/java/jfreechart/Makefile b/java/jfreechart/Makefile index c7b53b55e7ac..5a40fe688c0d 100644 --- a/java/jfreechart/Makefile +++ b/java/jfreechart/Makefile @@ -7,34 +7,66 @@ # PORTNAME= jfreechart -PORTVERSION= 0.9.16 +PORTVERSION= 0.9.18 CATEGORIES= java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sepherosa@softhome.net COMMENT= A free Java class library for generating charts -BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant +USE_JAVA= yes +JAVA_VERSION= 1.2+ -PLIST_FILES= share/java/classes/jfreechart.jar -USE_JAVA= 1.2+ +RUN_DEPENDS= ${JAVAJARDIR}/log4j.jar:${PORTSDIR}/java/jakarta-log4j \ + ${JAVAJARDIR}/jcommon.jar:${PORTSDIR}/java/jcommon -ANT?= ${LOCALBASE}/bin/ant +.if !defined(WITHOUT_COMPILE) || !defined(NOPORTDOCS) +BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant +ANT_CMD?= ${LOCALBASE}/bin/ant +ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD} +.endif +.if !defined(WITHOUT_COMPILE) +JAVA_BUILD= yes ANT_TARGETS= compile +.else +JAVA_RUN= yes +.endif + .if !defined(NOPORTDOCS) ANT_TARGETS+= javadoc PORTDOCS= * .endif +EXTRAJARS= gnujaxp.jar + +PLIST_FILES= share/java/classes/jfreechart.jar \ + share/java/classes/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-build: +.if !defined(WITHOUT_COMPILE) || !defined(NOPORTDOCS) @cd ${WRKSRC}/ant && ${ANT} ${ANT_TARGETS} +.endif + +do-install: do-install-jar do-install-javadoc -do-install: +do-install-jar: @${ECHO_CMD} -n ">> Installing .jar file..." @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @for exjar in ${EXTRAJARS}; do \ + ${INSTALL_DATA} ${WRKSRC}/lib/$$exjar ${JAVAJARDIR} ; \ + done @${ECHO_CMD} " [DONE]" + +do-install-javadoc: .if !defined(NOPORTDOCS) @${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${DOCSDIR} @@ -43,4 +75,7 @@ do-install: @${ECHO_CMD} " [DONE]" .endif +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> diff --git a/java/jfreechart/distinfo b/java/jfreechart/distinfo index cd5fe2e04f67..794c83544404 100644 --- a/java/jfreechart/distinfo +++ b/java/jfreechart/distinfo @@ -1,2 +1,2 @@ -MD5 (jfreechart-0.9.16.tar.gz) = 3060af9fae4c3458dfd3b93744302d67 -SIZE (jfreechart-0.9.16.tar.gz) = 2326963 +MD5 (jfreechart-0.9.18.tar.gz) = 94919423c48d1495a1bc3250bd861857 +SIZE (jfreechart-0.9.18.tar.gz) = 3353857 |