aboutsummaryrefslogtreecommitdiffstats
path: root/security/fragroute/Makefile
blob: 9cd94ca2923a9b9830e23c21831e36009ac03f42 (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
34
35
36
37
# New ports collection makefile for:    fragroute
# Date created:             19 May 2002
# Whom:     Dominic Marks <d.marks@student.umist.ac.uk>
#
# $FreeBSD$
#

PORTNAME=   fragroute
PORTVERSION=    1.2
PORTREVISION=   1
CATEGORIES= security net
MASTER_SITES=   http://monkey.org/~dugsong/fragroute/

MAINTAINER= d.marks@student.umist.ac.uk
COMMENT=    A tool for intercepting, modifying and rewriting egress traffic

BUILD_DEPENDS=  ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
        ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --with-libdnet=${PREFIX} \
            --with-libevent=${PREFIX} --with-pcap

MAN8=   fragroute.8 fragtest.8

SCRIPTS=    README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \
    frag-6 frag-7-unix frag-7-win32 ins-2 ins-3 tcbc-2 tcp-3 tcp-5 \
    tcp-7 tcp-9

pre-install:
    ${MKDIR} ${PREFIX}/share/${PORTNAME}
.for FILE in ${SCRIPTS}
    ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} \
        ${PREFIX}/share/${PORTNAME}
.endfor

.include <bsd.port.mk>