freebsd-ports/security/zombiezapper/Makefile
Pav Lucistnik eb81a88093 - Patch net/libnet* to versioned libraries and header files, so they can
coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
2007-01-31 14:09:55 +00:00

36 lines
948 B
Makefile

# Ports collection makefile for: zombiezapper
# Date created: 19 Feb 2000
# Whom: Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= zombiezapper
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://razor.bindview.com/tools/files/
DISTNAME= zombie-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= roam@FreeBSD.org
COMMENT= Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -o zz zz.c `${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`
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>