2003-11-12 00:53:03 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: jfreechart
|
|
|
|
# Date created: Nov 11, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jfreechart
|
2008-01-20 13:00:57 +00:00
|
|
|
PORTVERSION= 1.0.9
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2006-02-07 10:42:32 +00:00
|
|
|
CATEGORIES= java graphics
|
2008-01-20 13:00:57 +00:00
|
|
|
MASTER_SITES= SF
|
2003-11-12 00:53:03 +00:00
|
|
|
|
2007-06-29 16:29:19 +00:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2003-11-12 00:53:03 +00:00
|
|
|
COMMENT= A free Java class library for generating charts
|
|
|
|
|
2006-02-07 10:42:32 +00:00
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/jcommon.jar:${PORTSDIR}/java/jcommon
|
|
|
|
|
2004-05-30 03:41:00 +00:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
2004-02-01 07:20:14 +00:00
|
|
|
|
2004-05-30 03:41:00 +00:00
|
|
|
.if !defined(WITHOUT_COMPILE)
|
2006-02-07 10:42:32 +00:00
|
|
|
USE_ANT= yes
|
|
|
|
ALL_TARGET= compile
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/ant
|
2004-05-30 03:41:00 +00:00
|
|
|
.else
|
2006-02-07 10:42:32 +00:00
|
|
|
NO_BUILD= yes
|
2004-05-30 03:41:00 +00:00
|
|
|
.endif
|
|
|
|
|
2006-02-07 10:42:32 +00:00
|
|
|
.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
|
|
|
|
ALL_TARGET+= javadoc
|
2004-02-01 07:20:14 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2004-06-22 05:23:03 +00:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/jfreechart.jar \
|
|
|
|
%%JAVAJARDIR%%/gnujaxp.jar
|
2004-05-30 03:41:00 +00:00
|
|
|
|
|
|
|
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} ""
|
|
|
|
|
2006-02-07 10:42:32 +00:00
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR}/..."
|
|
|
|
.if defined(WITHOUT_COMPILE)
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
.else
|
2004-02-01 07:20:14 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
2006-02-07 10:42:32 +00:00
|
|
|
.endif
|
|
|
|
@${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}..."
|
2004-02-01 07:20:14 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC}/javadoc && ${FIND} . \
|
|
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
2006-02-07 10:42:32 +00:00
|
|
|
@${ECHO_MSG} " [DONE]"
|
2004-02-01 07:20:14 +00:00
|
|
|
.endif
|
2003-11-12 00:53:03 +00:00
|
|
|
|
2004-05-30 03:41:00 +00:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2003-11-12 00:53:03 +00:00
|
|
|
.include <bsd.port.mk>
|