blob: f0c5d08c201399b2cf15f1a876b5ab67bc113418 (
plain)
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
49
50
51
52
|
# New ports collection makefile for: Blackbox
# Date created: June 15, 1998
# Whom: Brian Handy <handy@physics.montana.edu>
#
# $FreeBSD$
#
PORTNAME= blackbox
PORTVERSION= 0.70.1
PORTREVISION= 4
CATEGORIES= x11-wm
MASTER_SITES= SF/${PORTNAME}wm/${PORTNAME}wm/Blackbox%20${PORTVERSION}
MAINTAINER= A.J.Caines@halplant.com
COMMENT= A small and fast window manager for X11R6
LICENSE= MIT
GNU_CONFIGURE= yes
USE_ICONV= yes
USE_GNOME= gnomehack pkgconfig
USE_XORG= x11 xft
MAN1= bsetbg.1 bsetroot.1
PORTDOCS= README.bbtools README.bsetbg
OPTIONS= TOOLS_ONLY "Do not install window manager, only tools" off
.include <bsd.port.options.mk>
.if defined(WITH_TOOLS_ONLY)
PKGNAMESUFFIX= -tools
COMMENT+= (tools only)
MAKE_ARGS= SUBDIRS="doc lib util" bin_PROGRAMS=bsetroot
INSTALL_TARGET= -C util install # XXX dirty hack :(
.else
MAN1+= blackbox.1
PORTDOCS+= AUTHORS COMPLIANCE ChangeLog README RELNOTES TODO
.endif
post-install:
.if defined(WITH_TOOLS_ONLY)
@${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \
${TMPPLIST}
${INSTALL_MAN} ${MAN1:S#^#${WRKSRC}/doc/#} ${MANPREFIX}/man/man1
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|