aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/bbconf/Makefile
blob: 483c4d3302aa0535d066616fb1da5a6949f1716b (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
# New ports collection makefile for:   bbconf
# Date created:        29 October 2001
# Whom:                Stijn Hoop <stijn@win.tue.nl>
#
# $FreeBSD$
#

PORTNAME=   bbconf
PORTVERSION=    1.10
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

USE_X_PREFIX=   yes
USE_QT_VER= 3
USE_PERL5_BUILD=    yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=       bbconf.1
PORTDOCS=   AUTHORS ChangeLog README README.html TODO
PLIST_FILES=    bin/bbconf \
        lib/bbconf/plugins/libbbconf.so \
        lib/bbconf/plugins/libkeybindings.so \
        lib/bbconf/plugins/libmenu.so \
        lib/bbconf/plugins/libthemes.so
PLIST_DIRS= lib/bbconf/plugins lib/bbconf

post-patch:
    @${PERL} -pi -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
    @${PERL} -pi -e 's|-O2 ||g ; \
         s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

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

.include <bsd.port.mk>