# New ports collection makefile for:	perf
# Date created:				09 March 2001
# Whom:					Tobias Begalke <tobega@spyz.org>
#
# $FreeBSD: ports/sysutils/perf/Makefile,v 1.7 2011/01/20 13:42:37 arved Exp $
#

PORTNAME=	perf
PORTVERSION=	1.5
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	http://www.spyz.org/perf/

MAINTAINER=	tobega@spyz.org
COMMENT=	Xview-based system monitoring tool

LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview

DEPRECATED=	Does not build on supported versions of FreeBSD
EXPIRATION_DATE=	2011-02-20

USE_IMAKE=		yes
USE_XORG=		x11 xext
MAN1=			perf.1
PLIST_FILES=		bin/perf
XFREE86_HTML_MAN=	no

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/perf ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/perf.1 ${PREFIX}/man/man1
	${GZIP_CMD} ${PREFIX}/man/man1/perf.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

.include <bsd.port.post.mk>
