freebsd-ports/security/shttpscanner/Makefile
Andrew Pantyukhin 35da930207 Add port security/shttpscanner:
Simple HTTP Scanner is a creation made for web site pen testing. You can
check for directories and files on the remote web server and get some
server information like the webserver running.

WWW: http://sourceforge.net/projects/shttpscanner/
Author: Paisterist <paisterist@users.sourceforge.net>
2006-09-24 20:18:15 +00:00

34 lines
889 B
Makefile

# New ports collection makefile for: shttpscanner
# Date created: 25 September 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= shttpscanner
PORTVERSION= 0.4
CATEGORIES= security www
MASTER_SITES= SF
DISTNAME= sHTTPScanner_v${DISTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Simple HTTP scanner
USE_ZIP= yes
USE_DOS2UNIX= yes
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/requests.txt %%DATADIR%%/subdomains.txt
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -E '/^#define/s!([a-z]*\.txt)!${DATADIR}/\1!' ${WRKSRC}/${DISTNAME:L}.c
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} -o ${PORTNAME} ${DISTNAME:L}.c ${PTHREAD_LIBS}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL} -d ${DATADIR}/
@${INSTALL} ${WRKSRC}/requests.txt ${WRKSRC}/subdomains.txt ${DATADIR}/
.include <bsd.port.mk>