head	1.26;
access;
symbols
	RELEASE_8_3_0:1.25
	RELEASE_9_0_0:1.24
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.18
	RELEASE_6_3_0:1.18
	PRE_XORG_7:1.17
	RELEASE_4_EOL:1.17
	RELEASE_6_2_0:1.17
	RELEASE_6_1_0:1.16
	RELEASE_5_5_0:1.16
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.9
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.26
date	2012.09.26.00.12.16;	author mi;	state dead;
branches;
next	1.25;

1.25
date	2012.01.09.15.41.06;	author tabthorpe;	state Exp;
branches;
next	1.24;

1.24
date	2011.11.01.16.20.08;	author beat;	state Exp;
branches;
next	1.23;

1.23
date	2010.07.16.11.37.03;	author beat;	state Exp;
branches;
next	1.22;

1.22
date	2009.10.06.11.00.06;	author beat;	state Exp;
branches;
next	1.21;

1.21
date	2009.09.19.22.21.27;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2008.06.06.14.06.57;	author edwin;	state Exp;
branches;
next	1.19;

1.19
date	2008.02.26.22.50.41;	author girgen;	state Exp;
branches;
next	1.18;

1.18
date	2007.05.19.20.25.03;	author flz;	state Exp;
branches;
next	1.17;

1.17
date	2006.07.13.15.45.33;	author hq;	state Exp;
branches;
next	1.16;

1.16
date	2006.02.08.16.30.38;	author lawrance;	state Exp;
branches;
next	1.15;

1.15
date	2005.09.18.21.00.53;	author girgen;	state Exp;
branches;
next	1.14;

1.14
date	2005.07.01.14.21.42;	author hq;	state Exp;
branches;
next	1.13;

1.13
date	2005.04.28.19.57.29;	author hq;	state Exp;
branches;
next	1.12;

1.12
date	2004.12.03.01.01.33;	author hq;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.04.05.09.28;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2004.01.02.11.39.06;	author znerd;	state Exp;
branches;
next	1.9;

1.9
date	2003.08.12.08.28.40;	author znerd;	state Exp;
branches;
next	1.8;

1.8
date	2003.08.07.09.59.17;	author znerd;	state Exp;
branches;
next	1.7;

1.7
date	2003.03.07.06.12.38;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2002.11.22.14.09.52;	author znerd;	state Exp;
branches;
next	1.5;

1.5
date	2002.11.13.10.45.10;	author znerd;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.13.10.44.20;	author znerd;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.13.10.30.42;	author znerd;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.13.10.10.07;	author znerd;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.16.07.23.07;	author znerd;	state Exp;
branches;
next	;


desc
@@


1.26
log
@SVN rev 304865 on 2012-09-26 00:12:16Z by mi

Update JMeter from 2.5.1 to 2.7 -- the latest at this moment. Re-arrange
the port to depend on JAR-files already provided by other ports, instead
of installing its own (bundled) versions of same.

Rename from "jakarta-jmeter" to simply "jmeter" -- according to Apache
site, Jakarta is no more and all its projects now live on their own.

Take over maintainership.

Approved by:	beat (the previous maintainer)
@
text
@# New ports collection makefile for:	jakarta-jmeter
# Date created:		12 August 2002
# Whom:			Ernst de Haan <znerd@@FreeBSD.org>
#
# $FreeBSD: ports/www/jakarta-jmeter/Makefile,v 1.25 2012/01/09 15:41:06 tabthorpe Exp $
#

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>
@


1.25
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.24
log
@- Update to 2.5.1
@
text
@d20 1
a20 1
LICENSE=	ASL
@


1.23
log
@- Update to 2.4
- Add LICENSE information

Reported by:	portscout
@
text
@d9 1
a9 1
PORTVERSION=	2.4
@


1.22
log
@- Update to 2.3.4
- Take maintainership [1]

Approved by:	girgen@@ (old maintainer) via linimon@@ [1]
@
text
@d9 1
a9 1
PORTVERSION=	2.3.4
d20 2
d23 1
a23 1
JAVA_VERSION=	1.3+
@


1.21
log
@- Update to 2.3.2

PR:		ports/132881
Submitted by:	beat
Approved by:	maintainer timeout (girgen; 6 months)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2.3.2
d17 1
a17 1
MAINTAINER=	girgen@@FreeBSD.org
@


1.20
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	2.3.1
PORTREVISION=	1
@


1.19
log
@Updating to 2.3.1.
Taking maintainership, as agreed with previous maintainer, jb.quenot@@caraldi.com.
@
text
@d10 1
@


1.18
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	2.2
PORTREVISION=	1
d17 1
a17 1
MAINTAINER=	jb.quenot@@caraldi.com
@


1.17
log
@- Update to 2.2 [1]
- Use 'exec' to launch the JVM

PR:		100203 [1]
Submitted by:	maintainer [1]
@
text
@d10 1
@


1.16
log
@Update to 2.1.1.

PR:		ports/92906
Submitted by:	Jean-Baptiste Quenot <jb.quenot@@caraldi.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.1.1
@


1.15
log
@Update to 2.1.

Submitted by:	maintainer
PR:		86308
@
text
@d9 1
a9 1
PORTVERSION=	2.1
@


1.14
log
@- Update to 2.0.3
- Assign new maintainer

PR:		82857
Submitted by:	Jean-Baptiste Quenot <jb.quenot@@caraldi.com> (new maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.3
@


1.13
log
@- Update to bsd.java.mk 2.0
- Use javavmwrapper in the launcher
- Use SUB_FILES to configure the launcher shell script
- Install in DATADIR=${JAVASHAREDIR}/${PORTNAME}
- Honor hier: install documentation in ${DOCSDIR}
- Honor ${PORTDOCS}
- Bump PORTREVISION due to file path changes
- Add $FreeBSD$ tags
@
text
@d9 1
a9 2
PORTVERSION=	1.9.1
PORTREVISION=	2
d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
@


1.12
log
@Reset znerd's ports maintainership:

- All JDK ports (and JDK documentation ports) that were formerly maintained by
  znerd have been assigned to java@@FreeBSD.org
- I will handle some of the remaining ports (jakarta-commons-*, jdom, xalan-j
  and xmlenc)
- Everything else is reset to ports@@FreeBSD.org

Approved by:	znerd (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d21 2
a22 1
USE_JAVA=	1.3+
d24 7
a30 3
APP_HOME?=	${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}
PLIST_SUB+=	T=${APP_HOME:S/^${PREFIX}\///}
REPLACE_FILES=	${FILESDIR}/jmeter
d35 1
a35 12
	@@${ECHO_CMD} -n ">> Removing unneeded files..."
	@@${FIND} ${WRKSRC} -type f \( -name \*.bat -o -name \*.orig -o -name \*.exe -o -name \*.bak \) -delete
	@@${ECHO_CMD} " [ DONE ]"

.for f in ${REPLACE_FILES}
	@@${ECHO_CMD} -n ">> Customizing `basename $f`..."
	@@${SED} \
	-e "/%%JAVA%%/s//${JAVA:S/\//\\\//g}/g" \
	-e "/%%APP_HOME%%/s//${APP_HOME:S/\//\\\//g}/g" \
	$f > ${WRKDIR}/`basename $f`
	@@${ECHO_CMD} " [ DONE ]"
.endfor
d38 11
a48 19
	@@${ECHO_CMD} -n ">> Creating destination directory..."
	@@${MKDIR} ${APP_HOME}
	@@${ECHO_CMD} " [ DONE ]"

	@@${ECHO_CMD} -n ">> Copying files to destination directory..."
	@@${CP} -R ${WRKSRC}/* ${APP_HOME}
.for f in ${REPLACE_FILES}
	@@${CP} ${WRKDIR}/`basename $f` ${APP_HOME}/bin
.endfor
	@@${ECHO_CMD} " [ DONE ]"

	@@${ECHO_CMD} -n ">> Fixing permissions..."
	@@${FIND} ${APP_HOME} -print0 -type d | ${XARGS} -0 ${CHMOD} 755
	@@${CHMOD} 755 ${APP_HOME}/bin/jmeter
	@@${ECHO_CMD} " [ DONE ]"

	@@${ECHO_CMD} -n ">> Creating symlink ${PREFIX}/bin/jmeter..."
	@@${LN} -sf ${APP_HOME}/bin/jmeter ${PREFIX}/bin/jmeter
	@@${ECHO_CMD} " [ DONE ]"
@


1.11
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d18 1
a18 1
MAINTAINER=	znerd@@FreeBSD.org
@


1.10
log
@Update to 1.9.1.

PR:		58946
Submitted by:	Palle Girgensohn <girgen@@pingpong.net>
@
text
@d10 1
@


1.9
log
@Update to JMeter 1.9.

See:
http://jakarta.apache.org/jmeter/changes.html
@
text
@d9 1
a9 1
PORTVERSION=	1.9
d12 1
a12 1
MASTER_SITE_SUBDIR=	jakarta-jmeter/release/v${PORTVERSION:C/([1-9]\.[0-9][0-9]*).*/\1/}
@


1.8
log
@Changes:
. updated to 1.8.1.
. changed APP_HOME= to APP_HOME?= to allow choosing APP_HOME at build time
. web site states Java 1.3 is required, so changed USE_JAVA accordingly

PR:		55293
Submitted by:	Palle Girgensohn <girgen@@pingpong.net>
@
text
@d9 1
a9 1
PORTVERSION=	1.8.1
d55 1
a55 1
	@@${CHMOD} 755 `find ${APP_HOME} -type d`
@


1.7
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d9 1
a9 2
PORTVERSION=	1.8
PORTREVISION=	4
d11 2
a12 4
MASTER_SITES=	http://jakarta.apache.org/builds/jakarta-jmeter/release/v${PORTVERSION}/ \
		http://www.metaverse.nl/~ernst/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	znerd
d14 2
a15 1
DISTNAME=	ApacheJMeter_${PORTVERSION}
d20 1
a20 1
USE_JAVA=	1.2+
d22 1
a22 1
APP_HOME=	${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}
a23 2
WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
d30 1
a30 1
	@@${RM} -f `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'`
@


1.6
log
@Using literal script in files/jmeter instead of patch.
Bumped PORTREVISION.
@
text
@d20 1
@


1.5
log
@Not including PORTVERSION in installation directory. Bumped PORTREVISION.
@
text
@d10 1
a10 1
PORTREVISION=	3
d27 3
a29 1
REPLACE_FILES=	${WRKSRC}/bin/jmeter
d63 1
a63 1
	@@${LN} -s ${APP_HOME}/bin/jmeter ${PREFIX}/bin/jmeter
d66 1
a66 1
.include <bsd.port.mk>
@


1.4
log
@Not depending on basename but explicitly using APP_HOME.
Bumped PORTREVISION.
@
text
@d10 1
a10 1
PORTREVISION=	2
d23 1
a23 1
APP_HOME=	${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${PORTVERSION}
@


1.3
log
@Making the jmeter script +x. Bumped PORTREVISION.
@
text
@d10 1
a10 1
PORTREVISION=	1
d38 1
@


1.2
log
@Upgrade to JMeter 1.8.
@
text
@d10 1
d52 5
@


1.1
log
@New port: Jakarta JMeter.

See:	http://jakarta.apache.org/jmeter/
@
text
@d9 1
a9 1
PORTVERSION=	1.7
a19 2
BUILD_DEPENDS=	${DOS2UNIX}:${PORTSDIR}/converters/unix2dos

d26 1
a26 6
DOS2UNIX=	${LOCALBASE}/bin/dos2unix
REPLACE_FILES=	${WRKSRC}/bin/jmeter \
		${WRKSRC}/bin/jmeter-cl \
		${WRKSRC}/bin/jmeter-client \
		${WRKSRC}/bin/jmeter-server \
		${WRKSRC}/bin/nongui.sh
a36 1
	-e "/%%APP_HOME%%/s//${APP_HOME:S/\//\\\//g}/g" \
a37 1
	@@${DOS2UNIX} ${WRKDIR}/`basename $f`
a50 5
	@@${ECHO_CMD} " [ DONE ]"

	@@${ECHO_CMD} -n ">> Fixing permissions..."
	@@${CHMOD} 755 `find ${APP_HOME} -type d`
	@@${CHMOD} 755 ${APP_HOME}/bin/ ${APP_HOME}/bin/jmeter ${APP_HOME}/bin/jmeter-cl ${APP_HOME}/bin/jmeter-client ${APP_HOME}/bin/jmeter-server
@

