# New ports collection makefile for:    fbdesk
# Date created: 16 January 2003
# Whom: Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD: ports/x11/fbdesk/Makefile,v 1.28 2011/08/09 13:19:15 ehaupt Exp $
#

PORTNAME=	fbdesk
PORTVERSION=	1.4.1
PORTREVISION=	4
CATEGORIES=	x11
MASTER_SITES=	http://fluxbox.sourceforge.net/download/ \
		GENTOO/distfiles

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Fluxbox utility to create and manage icons on the desktop

LICENSE=	MIT

LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png

OPTIONS=	IMLIB2 "Imlib2 (pixmap themes) support" On

USE_XORG=	xext xft xpm xrender
WANT_EFL=	yes
GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes

PORTDOCS=	ChangeLog INSTALL README
PLIST_FILES=	bin/fbdesk

.include <bsd.port.pre.mk>

.if defined(WITHOUT_IMLIB2)
CONFIGURE_ARGS+=	--disable-imlib2
.else
USE_EFL+=	imlib2
.endif

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>
