summaryrefslogtreecommitdiffstats
path: root/security/hackbot/Makefile
blob: c9ff8a3e37fd7c8be19ff9e64e0fb3642f840761 (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
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:   hackbot
# Date created:        Mon Jan 13 15:44:35 GMT 2003
# Whom:                mich@freebsdcluster.org
#
# $FreeBSD$
#

PORTNAME=	hackbot
PORTVERSION=	2.21
CATEGORIES=	security
MASTER_SITES=	http://ws.obit.nl/hackbot/
EXTRACT_SUFX=   .tgz

MAINTAINER=	mich@FreeBSD.org
COMMENT=	A host exploration tool and bannergrabber

USE_REINPLACE=	YES
USE_PERL5=	YES
NO_BUILD=	YES
WRKSRC=		${WRKDIR}/${PORTNAME}

pre-patch:
	@${REINPLACE_CMD} -e 's|/usr/local/etc/|${DATADIR}/hackbot/|' ${WRKSRC}/hackbot.pl

do-install:
	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/google.db ${DATADIR}/google.db
	${INSTALL_DATA} ${WRKSRC}/fingerprint.db ${DATADIR}/fingerprint.db
	${INSTALL_DATA} ${WRKSRC}/cgi.db ${DATADIR}/cgi.db
	${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${PREFIX}/man/man1/

MAN1=	hackbot.1
MANCOMPRESSED=	yes

.include <bsd.port.mk>
OpenPOWER on IntegriCloud