# New ports collection makefile for:   wmhm
# Date created:        21 September 1999
# Whom:                Mike Muir <mmuir@es.co.nz>
#
# $FreeBSD: ports/sysutils/wmhm/Makefile,v 1.31 2007/05/19 20:23:38 flz Exp $
#

PORTNAME=	wmhm
PORTVERSION=	1.46
PORTREVISION=	1
CATEGORIES=	sysutils windowmaker
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	fenner

MAINTAINER=	ports@FreeBSD.org
COMMENT=	WindowMaker dockable hardware monitor for FreeBSD

WRKSRC=		${WRKDIR}/wmhm/wmhm

GNU_CONFIGURE=	yes
MAN8=		wmhm.8
MANCOMPRESSED=	yes
PLIST_FILES=	bin/wmhm
USE_X_PREFIX=	yes
USE_XPM=	yes
ONLY_FOR_ARCHS=	i386 amd64
ONLY_FOR_ARCHS_REASON=	"requires speaker(4)"

CONFIGURE_ARGS+=--with-xpm-includes=${X11BASE}/include \
		--with-xpm-library=${X11BASE}/lib

.include <bsd.port.pre.mk>

.if (${OSVERSION} < 601000) && (${ARCH} == "amd64")
IGNORE=		5.x does not support speaker(4)
.endif

post-install:
	${STRIP_CMD} ${PREFIX}/bin/wmhm

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1