1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/cgichk/Makefile
Thomas Abthorpe 90bfe7cdd8 - Unbreak gcc42
- Update MASTER_SITES with SF macro
- Bump PORTREVISION

PR:		ports/117925
Submitted by:	Philippe Audeoud <jadawin tuxaco.net>
Approved by:	portmgr (erwin)
2007-11-08 16:25:39 +00:00

35 lines
752 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
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A web site vulnerability scanner
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= cgichk
post-patch:
${REINPLACE_CMD} -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile
${REINPLACE_CMD} -e \
"s@/etc/@${PREFIX}/etc/@g; s/#include <getopt.h>//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>