aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/bbkeys/Makefile
blob: 9a55a69a4501b699f28e92687781be965992634c (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
46
47
# New ports collection makefile for: bbkeys
# Date created:        17 June 2000
# Whom:                Patrick Seal <patseal@hyperhost.net>
#
# $FreeBSD$
#

PORTNAME=   bbkeys
PORTVERSION=    0.9.0
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

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

BROKEN=     "Does not build"

USE_X_PREFIX=   yes
USE_PERL5=  yes
USE_GCC=    3.3+
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes

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

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

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

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>