aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/blackbox/Makefile
blob: 5a4b92c74d2a74277025ce04bfb6d6f7b08efb13 (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:    Blackbox
# Date created:     June 15, 1998
# Whom:         Brian Handy <handy@physics.montana.edu>
#
# $FreeBSD$
#

PORTNAME=   blackbox
PORTVERSION=    0.70.0
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blackboxwm

MAINTAINER= A.J.Caines@halplant.com
COMMENT=    A small and fast window manager for X11R6

LIB_DEPENDS=    Xft.2:${PORTSDIR}/x11-fonts/libXft

CONFLICTS=  boxtools-*

PORTDOCS=   AUTHORS COMPLIANCE ChangeLog LICENSE README RELNOTES TODO
MAN1=       blackbox.1

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack pkgconfig
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
USE_ICONV=  yes
USE_GCC=    3.3+

post-patch:
    @${REINPLACE_CMD} -e 's#-pedantic##' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's# bsetroot.1 bsetbg.1##' ${WRKSRC}/doc/Makefile.in

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

.include <bsd.port.mk>