1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/cgichk/Makefile
Raphael Kubo da Costa 3a79929fdb Switch MASTER_SITES and WWW to https in Chris' ports.
PR:		241272
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
2019-10-19 12:21:22 +00:00

29 lines
690 B
Makefile

# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
PORTNAME= cgichk
PORTVERSION= 2.60
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://BSDforge.com/projects/source/www/cgichk/
LICENSE= GPLv2
MAINTAINER= portmaster@BSDforge.com
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>