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

PORTNAME=   bbkeys
PORTVERSION=    0.8.6
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A keygrabber for the Blackbox window manager

USE_X_PREFIX=   yes
USE_PERL5=  yes
GNU_CONFIGURE=  yes

MAN1=       bbkeys.1
MAN5=       bbkeysrc.5 bbkeys.bb.5
PORTDOCS=   AUTHORS BUGS ChangeLog NEWS README
PLIST_FILES=    bin/bbkeys bin/bbkeysconf.pl \
        share/bbtools/bbkeys.bb share/bbtools/bbkeys.nobb

post-patch:
    @${PERL} -pi -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
    @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
        >> ${TMPPLIST}

.include <bsd.port.mk>