freebsd-ports/security/masscan/Makefile
Mathieu Arnold f29a218fcd Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-18 17:07:45 +00:00

32 lines
747 B
Makefile

# Created by: Chie Taguchi <taguchi.ch@gmail.com>
# $FreeBSD$
PORTNAME= masscan
PORTVERSION= 1.0.3
CATEGORIES= security
MAINTAINER= taguchi.ch@gmail.com
COMMENT= Very fast port scanner
LICENSE= GPLv3
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= robertdavidgraham
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>