aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/boxtools/Makefile
blob: 393aec90295bd97da5e29cf5c5a8fbf612c029f2 (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
# New ports collection makefile for:    boxtools
# Date created:     September 11, 2002
# Whom:         Stijn Hoop <stijn@win.tue.nl>
#
# $FreeBSD$
#

PORTNAME=   boxtools
PORTVERSION=    0.65.0
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blackboxwm
DISTNAME=   blackbox-${PORTVERSION}

MAINTAINER= stijn@win.tue.nl
COMMENT=    Style tools for the blackbox family of window managers

MAN1=       bsetbg.1 bsetroot.1

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes

pre-patch:
    ${REINPLACE_CMD} -e 's#PACKAGE=blackbox#PACKAGE=boxtools#' \
        -e 's#-pedantic##' ${WRKSRC}/configure

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/util/bsetbg ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/util/bsetroot ${PREFIX}/bin
    cd ${WRKSRC}/nls && ${MAKE} install
    ${INSTALL_MAN} ${WRKSRC}/doc/bsetbg.1 ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/doc/bsetroot.1 ${PREFIX}/man/man1

.include <bsd.port.mk>