blob: b60fa118dc0dfaf7524fe528f0aaf153239d0ccd (
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: jakarta-jmeter
# Date created: 12 August 2002
# Whom: Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jmeter
PORTVERSION= 2.5.1
CATEGORIES= www benchmarks java
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
MASTER_SITE_SUBDIR= jmeter/binaries
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= beat@FreeBSD.org
COMMENT= Functional behaviour load and performance test application
LICENSE= AL2
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jmeter.sh
DATAFILES= bin extras lib
.if !defined(NOPORTDOCS)
PORTDOCS= docs printable_docs README LICENSE
.endif
.include <bsd.port.pre.mk>
post-patch:
${FIND} ${WRKSRC} -type f \( -name \*.bat -o -name \*.orig -o -name \*.exe -o -name \*.bak \) -delete
do-install:
cd ${WRKSRC} \
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \;
cd ${WRKSRC} \
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
cd ${WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
cd ${WRKSRC} \
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
.endif
${INSTALL_SCRIPT} ${WRKDIR}/jmeter.sh ${PREFIX}/bin/jmeter
.include <bsd.port.post.mk>
|