aboutsummaryrefslogtreecommitdiffstats
path: root/java/jtiger/Makefile
blob: 1d8c52153e46dd71387e8b0257f68840c895397e (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   jtiger
PORTVERSION=    2.1.0376
CATEGORIES= java devel
MASTER_SITES=   http://kaiwitte.org/jtiger/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Unit Test Framework and Tools for the Java2 Platform

USE_JAVA=   yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes
NO_ARCH=    yes

SRCFILES=   src test-src

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    ${INSTALL_DATA} ${WRKSRC}/jtiger.jar ${STAGEDIR}${JAVAJARDIR}/jtiger.jar
    ${MKDIR} ${STAGEDIR}${DATADIR}
    cd ${WRKSRC} && ${COPYTREE_SHARE} "${SRCFILES}" ${STAGEDIR}${DATADIR}

do-install-EXAMPLES-on:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}

do-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/changes.html ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/cpl-v10.html ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>