Created
August 13, 2018 02:45
-
-
Save ndowens/ab23e60e66a3a9772df752ee9639642c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by: Niels Heinen | |
# $FreeBSD: head/security/whatweb/Makefile 420717 2016-08-23 17:29:32Z rm $ | |
PORTNAME= whatweb | |
PORTVERSION= 0.4.9 | |
DISTVERSIONPREFIX= v | |
CATEGORIES= security www | |
MAINTAINER= [email protected] | |
COMMENT= Tool to fingerprint web site components | |
LICENSE= GPLv2 | |
LICENSE_FILE= ${WRKSRC}/LICENSE | |
USE_GITHUB= yes | |
GH_ACCOUNT= urbanadventurer | |
GH_PROJECT= WhatWeb | |
USE_RUBY= yes | |
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment