freebsd-ports/security/zombiezapper/Makefile
Sergey Matveychuk e1c4707bab libnet update:
- move 1.0 obsoleted version to net/libnet10
  net/libnet is latest Stable Version
  net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
2005-11-14 17:07:08 +00:00

36 lines
976 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= 1
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*<=1.1.0,1:${PORTSDIR}/net/libnet10/
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>