# New ports collection makefile for:	stumpwm
# Date created:				2008-02-20
# Whom:					alepulver
#
# $FreeBSD: ports/x11-wm/stumpwm/Makefile,v 1.5 2009/02/27 21:24:38 alepulver Exp $
#

PORTNAME=	stumpwm
PORTVERSION=	0.9.5
CATEGORIES=	x11-wm
MASTER_SITES=	SAVANNAH
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A tiling, keyboard driven Window Manager written in Common Lisp

BUILD_DEPENDS=	clisp:${PORTSDIR}/lang/clisp

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-lisp=clisp
STRIP=

PLIST_FILES=	bin/stumpwm
INFO=		stumpwm

.include <bsd.port.pre.mk>

.if !exists(${LOCALBASE}/bin/clisp) || \
    !exists(${LOCALBASE}/lib/clisp/full/clx.o)
IGNORE=		requires lang/clisp built with CLX_NEW option ON
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/stumpwm ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/stumpwm.info ${PREFIX}/${INFO_PATH}

.include <bsd.port.post.mk>
