2000-02-20 10:29:12 +00:00
|
|
|
# Ports collection makefile for: zombiezapper
|
|
|
|
# Date created: 19 Feb 2000
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= zombiezapper
|
2000-04-21 08:19:33 +00:00
|
|
|
PORTVERSION= 1.0
|
2000-02-20 10:29:12 +00:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://razor.bindview.com/tools/files/
|
2000-04-09 18:34:06 +00:00
|
|
|
DISTNAME= zombie
|
2000-02-20 10:29:12 +00:00
|
|
|
EXTRACT_SUFX= .tar
|
|
|
|
|
|
|
|
MAINTAINER= kris@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/libnet-config:${PORTSDIR}/net/libnet/
|
|
|
|
|
|
|
|
LIBNETCONF= ${LOCALBASE}/bin/libnet-config
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${CC} ${CFLAGS} -o zz zz.c `${LIBNETCONF} --cflags` `${LIBNETCONF} --defines` `${LIBNETCONF} --libs` -L${LOCALBASE}/lib -I${LOCALBASE}/include
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/zz/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/USAGE ${PREFIX}/share/doc/zz/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tekpaper.txt ${PREFIX}/share/doc/zz/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|