blob: 3cca4ee3d292b01bbd0b775e5160c8a6c4f371d7 (
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
48
|
# New ports collection makefile for: boxtools
# Date created: September 11, 2002
# Whom: Stijn Hoop <stijn@win.tue.nl>
#
# $FreeBSD$
#
PORTNAME= boxtools
PORTVERSION= 0.70.0
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blackboxwm
DISTNAME= blackbox-${PORTVERSION}
MAINTAINER= A.J.Caines@halplant.com
COMMENT= Style tools for the blackbox family of window managers
CONFLICTS= blackbox-0.[7-9]*
MAN1= bsetbg.1 bsetroot.1
PORTDOCS= README.bbtools README.bsetbg
PLIST_FILES= bin/bsetbg bin/bsetroot
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_ICONV= yes
USE_GCC= 3.3+
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
${INSTALL_MAN} ${WRKSRC}/doc/bsetbg.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/bsetroot.1 ${PREFIX}/man/man1
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|