# New ports collection makefile for:	xfce4-taskbar-plugin
# Date created:		5 May 2005
# Whom:			DaJoob
#
# $FreeBSD: ports/x11/xfce4-taskmanager/Makefile,v 1.31 2011/10/29 21:19:01 cy Exp $
#

PORTNAME=	xfce4-taskmanager
PORTVERSION=	1.0.0
PORTREVISION=	1
CATEGORIES=	x11 xfce
MASTER_SITES=	${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	A task manager for Xfce

LIB_DEPENDS=	cairo.2:${PORTSDIR}/graphics/cairo \
	wnck-1.22:${PORTSDIR}/x11-toolkits/libwnck

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GETTEXT=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk20 desktopfileutils intltool intlhack pkgconfig

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|prefix)/$$(DATADIRNAME)|datadir)|' \
		${WRKSRC}/po/Makefile.in.in

post-install:
	@-update-desktop-database

.include <bsd.port.post.mk>
