1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/www/webinject/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
PORTNAME= webinject
PORTVERSION= 1.41
PORTREVISION= 1
CATEGORIES= www perl5 devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20-%20Source%20Code%20%28with%20UNIX%20style%20line%20endings%29
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for automated testing of web applications
RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \
p5-Error>=0:lang/p5-Error \
p5-XML-Simple>=0:textproc/p5-XML-Simple \
p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay
#.if !defined(WITHOUT_X11)
# some work to do here
#RUN_DEPENDS+= p5-Tk>=0:x11-toolkits/p5-Tk
#.endif
USES= perl5 shebangfix
SHEBANG_FILES= webinject.pl
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/webinject.pl \
${DATADIR:S,^${PREFIX}/,,}/config.xml \
${DATADIR:S,^${PREFIX}/,,}/testcases.xml
PORTDOCS= LICENSE README
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC} && ${INSTALL_DATA} *.xml ${STAGEDIR}${DATADIR}
@cd ${WRKSRC} && ${INSTALL_SCRIPT} webinject.pl ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>