blob: a5d10245d312dd3a13f0c47661b35d957c3ad211 (
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
45
46
47
48
49
50
51
|
# New ports collection makefile for: JTiger
# Date created: June 1st , 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= jtiger
PORTVERSION= 2.1.0376
CATEGORIES= java devel
MASTER_SITES= http://kaiwitte.org/jtiger/
MAINTAINER= wenheping@gmail.com
COMMENT= A Unit Test Framework and Tools for the Java2 Platform
USE_JAVA= 1.5
NO_BUILD= yes
NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
SRCFILES= src test-src
do-install:
${INSTALL_DATA} ${WRKDIR}/jtiger.jar ${JAVAJARDIR}/jtiger.jar
post-install:
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKDIR} \
&& ${FIND} ${SRCFILES} -type d -exec ${MKDIR} ${DATADIR}/\{} \; \
&& ${FIND} ${SRCFILES} -type f -exec ${INSTALL_DATA} \{} ${DATADIR}/\{} \;
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
cd ${WRKDIR}/samples \
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/changes.html ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/cpl-v10.html ${DOCSDIR}
cd ${WRKDIR}/doc \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
.endif
.include <bsd.port.post.mk>
|