# New ports collection makefile for:	gkrellmwho2
# Date created:        	12 Nov 2003
# Whom:            	Alexey Zaytsev
#
# $FreeBSD: ports/sysutils/gkrellmwho2/Makefile,v 1.9 2007/05/19 20:23:16 flz Exp $
#

PORTNAME=	gkrellmwho2
PORTVERSION=	0.2.8
PORTREVISION=	6
CATEGORIES=	sysutils
MASTER_SITES=	http://shisha.spb.ru/ \
		http://users.podolsk.ru/c104598/
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig

MAINTAINER=	mangoost@inetcomm.ru
COMMENT=	Displays logged in users

BUILD_DEPENDS=	${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2

USE_X_PREFIX=	yes
HAS_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig

ALL_TARGET=
PLIST_FILES=	libexec/gkrellm2/plugins/gkrellmwho2.so

post-patch:
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho2.so ${PREFIX}/libexec/gkrellm2/plugins/

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1