60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
40 lines
973 B
Makefile
40 lines
973 B
Makefile
# Created by: Niels Heinen
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= blindelephant
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 20100819
|
|
CATEGORIES= security www
|
|
MASTER_SITES= LOCAL/niels \
|
|
http://people.freebsd.org/~niels/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTREVISION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fingerprint the web applications used by a web site
|
|
|
|
LICENSE= LGPL3
|
|
|
|
USES= python tar:bzip2
|
|
USE_PYTHON= distutils
|
|
|
|
SUB_FILES= ${PORTNAME}.sh
|
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
|
|
PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= README Blind_Elephant_BlackHat_2010.pdf
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
. for I in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${I} ${STAGEDIR}${DOCSDIR}
|
|
. endfor
|
|
|
|
.include <bsd.port.mk>
|