35 lines
690 B
Makefile
35 lines
690 B
Makefile
# Created by: Janos.Mohacsi@bsd.hu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= doscan
|
|
PORTVERSION= 0.3.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= security net
|
|
MASTER_SITES= http://static.enyo.de/fw/releases/doscan/
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= Tool to quickly scan your network for machines listening on a TCP port
|
|
|
|
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
PORTDOCS= README
|
|
MAN1= doscan.1
|
|
|
|
PLIST_FILES= bin/doscan
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|ony o|on yo|' \
|
|
${WRKSRC}/doc/doscan.1
|
|
|
|
post-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|