aboutsummaryrefslogtreecommitdiffstats
path: root/security/zombiezapper/Makefile
blob: 182cc71fed5c2aa25e9ffc72aee46b209136e8e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Ports collection makefile for:  zombiezapper
# Date created:           19 Feb 2000
# Whom:               Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   zombiezapper
PORTVERSION=    1.0
CATEGORIES= security
MASTER_SITES=   http://razor.bindview.com/tools/files/
DISTNAME=   zombie
EXTRACT_SUFX=   .tar

MAINTAINER= roam@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>