54a3a5b828
- Remove DEPRECATED/EXPIRATION_DATE as port fetches now - Use PORTDOCS macro and PLIST_FILES instead of 4 line pkg-plist - Convert to new options framework - Trim Makefile header - Remove dead WWW from pkg-descr - Rename patch-aa to patch-zz.c PR: ports/172065 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Approved by: makc, avilla (mentors, implicit) Feature safe: yes
38 lines
895 B
Makefile
38 lines
895 B
Makefile
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zombiezapper
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= security
|
|
MASTER_SITES= PACKETSTORM/distributed/zombie
|
|
DISTNAME= zombie-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
CPPFLAGS+= $$(${LIBNET_CONFIG} --cflags --defines)
|
|
LDFLAGS+= $$(${LIBNET_CONFIG} --libs)
|
|
|
|
PORTDOCS= USAGE tekpaper.txt
|
|
PLIST_FILES= bin/zz
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} ${CPPFLAGS} -o zz zz.c ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|