freebsd-ports/www/cgichk/Makefile
Mark Pulford c9e0051b4f Add cgichk 2.60, a web site vulnerability scanner.
PR:		27808
Submitted by:	Mark Pulford <mark@kyne.com.au>
Reviewed by:	will
2001-06-08 04:23:40 +00:00

34 lines
789 B
Makefile

# New ports collection makefile for: cgichk
# Date created: Jun 8, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= cgichk
PORTVERSION= 2.60
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= markp@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= cgichk
pre-patch:
${PERL} -pi -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile
${PERL} -pi -e "s@/etc/@${PREFIX}/etc/@g; s/#include <getopt.h>//g; \
s@^(?=.+sys/socket.h)@#include <sys/types.h>\n@g;" \
${WRKSRC}/cgichk.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cgichk.cfg ${PREFIX}/etc/cgichk.cfg.sample
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>