aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dvtm/Makefile
blob: 701d499f706931b41f7f617224ea433d1f2d1d64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

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

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

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

MAKE_JOBS_UNSAFE=   yes

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>