blob: 889497fc2e666a2aa98e05a2311781c4386d8f0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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>
|