summaryrefslogtreecommitdiff
path: root/net-mgmt/sjitter/Makefile
blob: 1b086f6c8c77ddf75fd54f7adc740c32cf1c587c (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
# New ports collection makefile for:	sjitter
# Date created:		2006-10-29
# Whom:			babak@farrokhi.net
#
# $FreeBSD$
#

PORTNAME=	sjitter
PORTVERSION=	0.14b
CATEGORIES=	net-mgmt net
MASTER_SITES=	http://www.alcasat.net/dev/sjitter/
EXTRACT_SUFX=	.tgz

MAINTAINER=	farrokhi@FreeBSD.org
COMMENT=	A client/server jitter measurement utility

WRKSRC=		${WRKDIR}
USE_GMAKE=	yes

MAN1=		sjitter.1
MANCOMPRESSED=	yes

PLIST_FILES=	sbin/sjitters sbin/sjitterc

post-patch:
	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
	    s,^LDFLAGS,LDFLAGS+,g ; \
	    s,^CFLAGS,CFLAGS+,g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sjitters ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/sjitterc ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/sjitter.1.gz ${PREFIX}/man/man1

.include <bsd.port.mk>