bf075a0870
- update to latest github revision unbreaking runtime with ruby21 - adopt github infrastructure changes - add LICENSE_FILE - PORTREVISION bump was added to leverage versioning scheme change PR: 199257 Submitted by: jason.unovitch@gmail.com
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# Created by: Niels Heinen
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= whatweb
|
|
DISTVERSION= 0.4.8-${GH_TAGNAME}
|
|
PORTREVISION= 1
|
|
CATEGORIES= security www
|
|
|
|
MAINTAINER= rm@FreeBSD.org
|
|
COMMENT= Tool to fingerprint web site components
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= urbanadventurer
|
|
GH_PROJECT= WhatWeb
|
|
GH_TAGNAME= 7d0256b
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_FEATURES= iconv
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
PORTDOCS= CHANGELOG INSTALL README whatweb.xsl
|
|
|
|
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>
|