# New ports collection makefile for: 	pipemeter
# Date created:		2003-12-02
# Whom:			Len Sassaman
#
# $FreeBSD: ports/sysutils/pipemeter/Makefile,v 1.4 2004/02/11 16:05:28 clement Exp $
#

PORTNAME=	pipemeter
PORTVERSION=	0.9.1
CATEGORIES=	sysutils
MASTER_SITES=	http://ports.abditum.com/pipemeter/ \
		http://spamaps.org/files/pipemeter/

MAINTAINER=	rabbi@abditum.com
COMMENT=	Measure speed of data going through a pipe

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=		pipemeter.1
PORTDOCS=	Changelog README
PLIST_FILES=	bin/pipemeter

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pipemeter ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/pipemeter.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
