summaryrefslogtreecommitdiffstats
path: root/security/fragroute/Makefile
blob: a6fde9e1fd0c297d71af9bbc03ec6554a130bd61 (plain)
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
38
39
# New ports collection makefile for:	fragroute
# Date created:				19 May 2002
# Whom:		Dominic Marks <dominic.marks@btinternet.com>
#
# $FreeBSD$
#

PORTNAME=	fragroute
PORTVERSION=	1.2
PORTREVISION=	1
CATEGORIES=	security net
MASTER_SITES=	http://monkey.org/~dugsong/fragroute/ \
		${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR=	UNIX/security

MAINTAINER=	ports@FreeBSD.org
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>
OpenPOWER on IntegriCloud