# New ports collection makefile for:   fluxspace
# Date created:        20 March 2003
# Whom:                Eirik Nygaard <eirikn@bluezone.no>
#
# $FreeBSD: ports/x11-wm/fluxspace/Makefile,v 1.5 2005/07/03 00:02:13 vanilla Exp $
#

PORTNAME=	fluxspace
PORTVERSION=	0.0.3
PORTREVISION=	2
CATEGORIES=	x11-wm
MASTER_SITES=	http://www.isomedia.com/homes/stevencooper/files/

MAINTAINER=	eirikn@bluezone.no
COMMENT=	A window manager and workspace enhancer and integrator

BUILD_DEPENDS=	imlib2-config:${PORTSDIR}/graphics/imlib2 \
		swig:${PORTSDIR}/devel/swig13

USE_PYTHON=		yes
GNU_CONFIGURE=	yes
USE_GMAKE=		yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"


.include <bsd.port.pre.mk>

.if defined(WITH_IDESK) || exists(${X11BASE}/bin/idesk)
RUN_DEPENDS+=	idesk:${PORTSDIR}/x11/idesk
.endif
.if defined(WITH_ROX-FILER) || exists(${LOCALBASE}/bin/rox)
RUN_DEPENDS+=	rox:${PORTSDIR}/x11-fm/rox-filer
.endif

pre-everything::
	@${ECHO_CMD} "WITH_IDESK	- To install idesk"
	@${ECHO_CMD} "WITH_ROX-FILER	- To install rox-filer"

post-install::
	@${CAT} pkg-message

.include <bsd.port.post.mk>
