blob: 124a3a63573fe69e510fbf61f4d82873f4a27d4d (
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
43
44
|
# ex:ts=8
# Ports collection makefile for: JRobin
# Date created: Mar 9, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jrobin
PORTVERSION= 1.5.4
PORTREVISION= 1
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= nemoliu@FreeBSD.org
COMMENT= A pure Java alternative to RRDTool
USE_JAVA= yes
USE_ANT= yes
JAVA_VERSION= 1.5+
ALL_TARGET= dist
WRKSRC= ${WRKDIR}/JRobinLite-${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/ant
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
PORTDOCS= *
.endif
CLASSES= jrobin convertor inspector
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>
|