31 lines
779 B
Makefile
31 lines
779 B
Makefile
# $OpenBSD: Makefile,v 1.12 2002/07/30 14:36:50 brad Exp $
|
|
# $FreeBSD: Makefile,v 1.5 1999/01/26 22:19:07 billf Exp $
|
|
|
|
COMMENT= "simple and easy to use TCP port scanner"
|
|
|
|
DISTNAME= PortScanner-1.2
|
|
PKGNAME= ${DISTNAME:L}
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.ameth.org/~veilleux/PortScan/
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -Wall ${WRKSRC}/portscanner.c \
|
|
-o ${WRKBUILD}/portscanner
|
|
@sed -e s#portscan#portscanner#g ${WRKSRC}/portscan.1 > \
|
|
${WRKBUILD}/portscanner.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/portscanner ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKBUILD}/portscanner.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|