mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
f191d6b887
Reported by: Dominic Fandrey <kamikaze@bsdforen.de>
32 lines
801 B
Makefile
32 lines
801 B
Makefile
# Created by: Chie Taguchi <taguchi.ch@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= masscan
|
|
PORTVERSION= 1.0.3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://github.com/robertdavidgraham/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
|
|
|
|
MAINTAINER= taguchi.ch@gmail.com
|
|
COMMENT= Very fast port scanner
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gmake
|
|
CFLAGS+= -Wno-format
|
|
MAKE_ARGS= SYS=freebsd CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
PLIST_FILES= bin/masscan man/man8/masscan.8.gz
|
|
|
|
pre-build:
|
|
@${REINPLACE_CMD} -e "s|SYS :=|SYS ?=|"\
|
|
-e "s|describe --tags|describe --tags 2> /dev/null|" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
|
|
|
regression-test: build
|
|
${WRKSRC}/bin/masscan --selftest
|
|
|
|
.include <bsd.port.mk>
|