blob: 58e0c87bdaf5dc9baba6a30ba5f62f0b232ce18e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Created by: 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= 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 ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cgichk.cfg ${STAGEDIR}${PREFIX}/etc/cgichk.cfg.sample
.include <bsd.port.mk>
|