aboutsummaryrefslogtreecommitdiffstats
path: root/net/rtpbreak/Makefile
blob: c3b6e4ae46a4ce6b81ad16be9ba34b7c75f84d75 (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
# New ports collection makefile for:    rtpbreak
# Date created:     16 February 2008
# Whom:         Prudhvi Krishna <prudhvikrishna@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   rtpbreak
PORTVERSION=    1.2
CATEGORIES= net
MASTER_SITES=   http://xenion.antifork.org/rtpbreak/
EXTRACT_SUFX=   .tgz

MAINTAINER= prudhvikrishna@gmail.com
COMMENT=    Detects, reconstructs and analyzes any RTP session

BUILD_DEPENDS=  libnet11-config:${PORTSDIR}/net/libnet

MAKE_ARGS+= CFLAGS="-Wall -O3 -I${LOCALBASE}/include/libnet11" \
        LIBS="-L${LOCALBASE}/lib/libnet11 -lpcap -lnet" \
        DEFS="-DPATH_MAX=256"

PLIST_FILES=    bin/rtpbreak

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/rtpbreak ${PREFIX}/bin

.include <bsd.port.mk>