# $FreeBSD: tags/RELEASE_10_2_0/sysutils/dvtm/Makefile 376530 2015-01-08 13:16:07Z beat $

PORTNAME=	dvtm
PORTVERSION=	0.13
CATEGORIES=	sysutils
MASTER_SITES=	http://www.brain-dump.org/projects/dvtm/

MAINTAINER=	beat@FreeBSD.org
COMMENT=	Tiling window management for the console

PLIST_FILES=	bin/dvtm bin/dvtm-status \
		man/man1/dvtm.1.gz

pre-everything::
	@${ECHO_MSG} "You can build dvtm with your own config.h using the DVTM_CONF knob:"
	@${ECHO_MSG} "make DVTM_CONF=/path/to/dvtm/config.h install clean"

post-extract:
.if defined(DVTM_CONF)
	@${ECHO_MSG} "creating config.h from ${DVTM_CONF}"
	@${CP} ${DVTM_CONF} ${WRKSRC}/config.h
.endif

.include <bsd.port.mk>
