1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/webinject/Makefile
Martin Wilke 1eb6a3c54d WebInject is a free tool for automated testing of web applications and web
services. It can be used to test individual system components that have HTTP
interfaces (JSP, ASP, CGI, PHP, Servlets, HTML Forms, XML/SOAP Web Services,
etc), and can be used as a test harness to create a suite of [HTTP level]
automated functional, acceptance, and regression tests. A test harness, also
referred to as a test driver or a test framework, allows you to run many
test cases and collect/report your results. WebInject offers real-time
results display and may also be used for monitoring system response times.

WebInject can be used as a complete test framework that is controlled by the
WebInject User Interface (GUI). Optionally, it can be used as a standalone
test runner (text/console application) which can be integrated and called
from other test frameworks or applications.

WWW: http://www.webinject.org/

PR:		ports/102402
Submitted by:	Gerrit Beine <gerrit.beine(at)gmx.de>
2006-09-12 08:28:30 +00:00

59 lines
1.7 KiB
Makefile

# New ports collection makefile for: webinject
# Date created: August 22nd 2006
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
#
# $FreeBSD$
#
PORTNAME= webinject
PORTVERSION= 1.41
CATEGORIES= www perl5 devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webinject
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= gerrit.beine@gmx.de
COMMENT= A tool for automated testing of web applications
RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/mach/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
${SITE_PERL}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay
.if !defined(WITHOUT_X11)
# some work to do here
#RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
.endif
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/webinject.pl \
${DATADIR:S,^${PREFIX}/,,}/config.xml \
${DATADIR:S,^${PREFIX}/,,}/testcases.xml
PLIST_DIRS= ${DATADIR:S,^${PREFIX}/,,}
do-install:
@${MKDIR} ${DATADIR}
@cd ${WRKSRC} && ${INSTALL_DATA} *.xml ${DATADIR}
@cd ${WRKSRC} && ${INSTALL_SCRIPT} webinject.pl ${PREFIX}/bin
.if !defined(NOPORTDOCS)
PORTDOCS= LICENSE README
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires at least Perl 5.8 due to dependencies. Please install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>