freebsd-ports/security/doscan/Makefile
Dmitry Marakasov 1c42d88382 - Clarify LICENSE
- Add LICENSE_FILE
- Strip binary
2015-03-09 00:58:41 +00:00

35 lines
777 B
Makefile

# Created by: Janos.Mohacsi@bsd.hu
# $FreeBSD$
PORTNAME= doscan
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://static.enyo.de/fw/releases/doscan/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to quickly scan your network for machines listening on a TCP port
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
USES= gmake
PORTDOCS= README
PLIST_FILES= bin/doscan man/man1/doscan.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|ony o|on yo|' \
${WRKSRC}/doc/doscan.1
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>