1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/databases/jrobin/Makefile
Ying-Chieh Liao 0aa355072e add jrobin 1.4.0
A pure Java alternative to RRDTool
2005-03-09 06:01:22 +00:00

43 lines
901 B
Makefile

# ex:ts=8
# Ports collection makefile for: JRobin
# Date created: Mar 9, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jrobin
PORTVERSION= 1.4.0
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= JRobin-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A pure Java alternative to RRDTool
USE_JAVA= yes
USE_ANT= yes
ALL_TARGET= all-libs
WRKSRC= ${WRKDIR}/${DISTNAME:L}
BUILD_WRKSRC= ${WRKSRC}/ant
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
PORTDOCS= *
.endif
CLASSES= jrobin jrobin-demo convertor inspector mrtg-client mrtg-server
do-install:
.for c in ${CLASSES}
${INSTALL_DATA} ${WRKSRC}/lib/${c}-${PORTVERSION}.jar ${JAVAJARDIR}/${c}.jar
@${ECHO} '${JAVAJARDIR:S,^${PREFIX}/,,}/${c}.jar' >> ${TMPPLIST}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.include <bsd.port.mk>