mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
67 lines
1.6 KiB
Makefile
67 lines
1.6 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: jfreechart
|
|
# Date created: Nov 11, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jfreechart
|
|
PORTVERSION= 1.0.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= java graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= araujo@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.2+
|
|
|
|
.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}/..."
|
|
.if defined(WITHOUT_COMPILE)
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
.else
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
.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}..."
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/javadoc && ${FIND} . \
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
@${ECHO_MSG} " [DONE]"
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|