# New ports collection makefile for:	xfce4-taskbar-plugin
# Date created:		5 May 2005
# Whom:			DaJoob
#
# $FreeBSD: branches/RELEASE_8_4_0/x11/xfce4-taskmanager/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	xfce4-taskmanager
PORTVERSION=	1.0.0
PORTREVISION=	3
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>
