aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/bbkeys/Makefile
blob: c9effe642e22fa250e3fad75e68572e004c553e4 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: Patrick Seal <patseal@hyperhost.net>
# $FreeBSD$

PORTNAME=   bbkeys
PORTVERSION=    0.9.1
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   SF

MAINTAINER= A.J.Caines@halplant.com
COMMENT=    Keygrabber for the Blackbox window manager

LICENSE=    MIT

BUILD_DEPENDS=  blackbox:${PORTSDIR}/x11-wm/blackbox

USES=       perl5 pkgconfig
USE_PERL5=  build
USE_XORG=   x11 xext
GNU_CONFIGURE=  yes
CPPFLAGS+=  `pkg-config --cflags xft`
LDFLAGS+=   `pkg-config --libs xft`

MAN1=       bbkeys.1
MAN5=       bbkeysrc.5
PORTDOCS=   AUTHORS BUGS ChangeLog NEWS README TODO

PLIST_FILES=    bin/bbkeys %%DATADIR%%/bbkeysrc %%DATADIR%%/defaultStyle
PLIST_DIRS= %%DATADIR%%

OPTIONS_DEFINE= DOCS

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e 's#: install-docDATA#:#' ${WRKSRC}/Makefile.in

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${DOCSDIR}
.endif

.include <bsd.port.mk>