aboutsummaryrefslogtreecommitdiffstats
path: root/java/jcckit/Makefile
blob: 7daa4a94edc7867bdf6ec4127a3f9629cb22a872 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   jcckit
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= java graphics
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/JCCKit%20${PORTVERSION}
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Java Chart Construction Kit

USES=       zip
USE_JAVA=   yes
WRKSRC=     ${WRKDIR}/JCCKit
NO_BUILD=   yes
PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

NO_STAGE=   yes
do-install:
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in LICENSE.txt README.html docs
    ${CP} -R ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>