# New ports collection makefile for:	pmap
# Date created:		14 Oct 2002
# Whom:			Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD: ports/sysutils/pmap/Makefile,v 1.5 2004/04/20 10:27:24 skv Exp $
#

PORTNAME=	pmap
PORTVERSION=	20040420
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/pmap/

MAINTAINER=	skv@FreeBSD.org
COMMENT=	Detailed process memory display

NO_PACKAGE=	Depends on kernel

PLIST_SUB=	KMODDIR=${KMODDIR}
WRKSRC=		${WRKDIR}/${PORTNAME}

MAN8=		pmap.8
MANCOMPRESSED=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
BROKEN=		"Currently does not support -CURRENT"
.endif

.if ${OSVERSION} <  450000
IGNORE=		"Not supported on systems prior to 4.5"
.endif

pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE=		"This port requires kernel sources"
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
