blob: 7f2488bde8d182421a6990839d83ab25e0d76af4 (
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
|
# Created by: Niels Heinen
# $FreeBSD$
PORTNAME= whatweb
DISTVERSION= 0.4.8-${GH_TAGNAME}
PORTREVISION= 2
CATEGORIES= security www
MAINTAINER= rm@FreeBSD.org
COMMENT= Tool to fingerprint web site components
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_TUPLE= urbanadventurer:WhatWeb:f467aa2
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= CHANGELOG INSTALL README whatweb.xsl
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e \
's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/whatweb!' \
${WRKSRC}/whatweb
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.for dir in addons lib my-plugins plugin-development plugins plugins-disabled
( cd ${WRKSRC}/${dir} && \
${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}/whatweb/${dir} )
.endfor
${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/whatweb ${STAGEDIR}${PREFIX}/bin/whatweb
.include <bsd.port.mk>
|