# New ports collection makefile for:	fbcmd
# Date created:		2004-09-24
# Whom:			Roman Bogorodskiy <bogorodskiy@inbox.ru>
#
# $FreeBSD: ports/x11-wm/fbcmd/Makefile,v 1.3 2005/03/08 07:38:30 novel Exp $
#

PORTNAME=	fbcmd
PORTVERSION=	0.5
CATEGORIES=	x11-wm
MASTER_SITES=	http://darkshed.dyndns.org/~mathias/files/c_cpp/fbcmd/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	pav

MAINTAINER=	novel@FreeBSD.org
COMMENT=	A commandline utility for controlling fluxbox

RUN_DEPENDS=	fluxbox:${PORTSDIR}/x11-wm/fluxbox-devel

USE_BZIP2=	yes
USE_GMAKE=	yes
ALL_TARGET=	first
USE_REINPLACE=	yes
USE_X_PREFIX=	yes

PLIST_FILES=	bin/fbcmd

post-extract:
	@${REINPLACE_CMD} -e "s|/usr/X11R6|${X11BASE}|g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fbcmd ${PREFIX}/bin

.include <bsd.port.mk>
