# New ports collection makefile for:	kompose
# Date created:				31 Aug 2004
# Whom:					Lauri Watts <lauri@kde.org>
#
# $FreeBSD: ports/deskutils/kompose/Makefile,v 1.16 2007/08/23 03:59:55 tabthorpe Exp $
#

PORTNAME=	kompose
PORTVERSION=	0.5.2
CATEGORIES=	deskutils kde
MASTER_SITES=	${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	tabthorpe@FreeBSD.org
COMMENT=	Full-screen task manager similar to Expose(tm)

LIB_DEPENDS=	Imlib2.4:${PORTSDIR}/graphics/imlib2

EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_KDELIBS_VER=3
USE_AUTOTOOLS=	libtool:15
INSTALLS_ICONS=	yes

DOCSDIR=	share/doc/HTML/en/${PORTNAME}

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

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

.include <bsd.port.mk>
