2013-09-21 00:55:24 +02:00
|
|
|
# Created by: Niels Heinen
|
2010-04-12 09:38:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= whatweb
|
2015-05-05 18:14:04 +02:00
|
|
|
DISTVERSION= 0.4.8-${GH_TAGNAME}
|
|
|
|
PORTREVISION= 1
|
2010-04-12 09:38:38 +02:00
|
|
|
CATEGORIES= security www
|
|
|
|
|
2011-11-15 00:06:23 +01:00
|
|
|
MAINTAINER= rm@FreeBSD.org
|
2014-06-04 22:03:39 +02:00
|
|
|
COMMENT= Tool to fingerprint web site components
|
2010-04-12 09:38:38 +02:00
|
|
|
|
2011-10-17 04:44:20 +02:00
|
|
|
LICENSE= GPLv2
|
2015-05-05 18:14:04 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2011-10-17 04:44:20 +02:00
|
|
|
|
2014-06-04 22:03:39 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= urbanadventurer
|
|
|
|
GH_PROJECT= WhatWeb
|
2015-05-05 18:14:04 +02:00
|
|
|
GH_TAGNAME= 7d0256b
|
2010-04-12 09:38:38 +02:00
|
|
|
|
2014-06-04 22:03:39 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_FEATURES= iconv
|
|
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
|
|
NO_BUILD= yes
|
2015-05-05 18:14:04 +02:00
|
|
|
NO_ARCH= yes
|
2014-06-04 22:03:39 +02:00
|
|
|
PORTDOCS= CHANGELOG INSTALL README whatweb.xsl
|
2010-04-12 09:38:38 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e \
|
2014-06-04 22:03:39 +02:00
|
|
|
's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/whatweb!' \
|
|
|
|
${WRKSRC}/whatweb
|
2010-04-12 09:38:38 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-06-04 22:03:39 +02:00
|
|
|
@${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} )
|
2010-04-12 09:38:38 +02:00
|
|
|
.endfor
|
2014-06-04 22:03:39 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/whatweb ${STAGEDIR}${PREFIX}/bin/whatweb
|
2010-04-12 09:38:38 +02:00
|
|
|
|
2014-06-04 22:03:39 +02:00
|
|
|
.include <bsd.port.mk>
|