# New ports collection makefile for:	wmnd
# Date created:				29 October 2001
# Whom:					Paolo Pisati <flag@gufi.org>
#
# $FreeBSD: ports/net/wmnd/Makefile,v 1.24 2009/03/28 17:53:22 garga Exp $
#

PORTNAME=	wmnd
PORTVERSION=	0.4.13
CATEGORIES=	net
MASTER_SITES=	http://www.thregr.org/~wavexx/software/wmnd/releases/ \
		${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=	distfiles

MAINTAINER=	garga@FreeBSD.org
COMMENT=	Improved network monitoring dock app (with tons of features)

USE_GNOME=	gnometarget
USE_XORG=	ice sm x11 xext xpm
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes
CONFIGURE_ARGS=	--with-drivers="freebsd_sysctl"

MAN1=		wmnd.1
PORTEXAMPLES=	wmndrc
PLIST_FILES=	bin/wmnd

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/wmnd ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/wmnd.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/wmndrc ${EXAMPLESDIR}
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
