aboutsummaryrefslogtreecommitdiff
path: root/security/blindelephant/Makefile
blob: 240a14a6520778e8c1872cc3f1b60dce1173642c (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    blindelephant
# Date created:				2010-08-19
# Whom:					Niels Heinen
#
# $FreeBSD$
#

PORTNAME=	blindelephant
PORTVERSION=	1.0
PORTREVISION=	20100819
CATEGORIES=	security www
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		http://people.freebsd.org/~niels/distfiles/
MASTER_SITE_SUBDIR=	niels
DISTNAME=	${PORTNAME}-${PORTREVISION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Fingerprint the web applications used by a web site

LICENSE=	LGPL3
USE_BZIP2=	YES
USE_PYTHON=	2.6+
USE_PYDISTUTILS=	YES

SUB_FILES=	${PORTNAME}.sh
SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} \
		PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}

PORTDOCS=	README Blind_Elephant_BlackHat_2010.pdf

.include <bsd.port.pre.mk>

post-extract:
	@${MV} ${WRKSRC}/src/* ${WRKSRC}
	@${MV} "${WRKSRC}/doc/Blind Elephant - BlackHat 2010.pdf" \
	${WRKSRC}/Blind_Elephant_BlackHat_2010.pdf

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.	for I in ${PORTDOCS}
		${INSTALL_DATA} ${WRKSRC}/${I} ${DOCSDIR}
.	endfor
.endif

.include <bsd.port.post.mk>