aboutsummaryrefslogtreecommitdiffstats
path: root/net/bittwist/Makefile
blob: 7b8249c04437223fcad9d811d458be6430463d76 (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
# New ports collection makefile for:    bittwist
# Date created:         17 April 2006
# Whom:             Wesley Shields <wxs@csh.rit.edu>
#
# $FreeBSD$
#

PORTNAME=   bittwist
PORTVERSION=    0.72
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-bsd-${PORTVERSION}

MAINTAINER= wxs@csh.rit.edu
COMMENT=    Libpcap-based Ethernet packet generator, with PCAP editor

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"

MAN1=       bittwist.1 bittwistb.1 bittwiste.1
PLIST_FILES=    bin/bittwist bin/bittwistb bin/bittwiste

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600032
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
.endif

.include <bsd.port.post.mk>