summaryrefslogtreecommitdiff
path: root/x11-wm/fluxbox-devel/Makefile
blob: 14972c4406bbd3f6f85c29b1a8ab5892faa61dfa (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# New ports collection makefile for:	fluxbox
# Date created:				29 November 2001
# Whom:					spn
#
# $FreeBSD$
#

PORTNAME=	fluxbox
PORTVERSION=	0.1.14
CATEGORIES=	x11-wm
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

.if defined(WITH_REMEMBER)
PATCH_SITES=    http://www.bugfactory.org/~gav/fluxbox/
PATCH_DIST_STRIP=   -p1
PATCHFILES+=	remember-0.1.14.gz
.endif

MAINTAINER=	hendrik@scholz.net

RUN_DEPENDS=	bsetbg:${PORTSDIR}/x11-wm/boxtools \
		xterm:${PORTSDIR}/x11/XFree86-4-clients
BUILD_DEPENDS=	xterm:${PORTSDIR}/x11/XFree86-4-clients
.if defined(WITH_REMEMBER)
BUILD_DEPENDS+=	automake14:${PORTSDIR}/devel/automake14
.endif

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
USE_GNOMENG=	yes
WANT_GNOME=	yes
.if defined(WITH_REMEMBER)
USE_GMAKE=	yes
CONFIGURE_ENV=	AUTOMAKE=automake14
.endif
CONFIGURE_ARGS=	--disable-newwmspec
.if defined(WITH_KDE) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+=	--enable-kde
.endif
.if defined(WITH_XINERAMA) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+=	--enable-xinerama
.endif

MAN1=		fluxbox.1

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgnomelibs}!="" || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+=	--enable-gnome
.endif

pre-everything::
	@${ECHO_CMD} ""
	@${ECHO_CMD} "Definable build options"
	@${ECHO_CMD} "-----------------------"
.if !defined(WITH_XINERAMA)
	@${ECHO_CMD} "WITH_XINERAMA	- Enable Xinerama support"
.endif
.if !defined(WITH_KDE)
	@${ECHO_CMD} "WITH_KDE	- Enable KDE slit support"
.endif
.if !defined(WITH_REMEMBER)
	@${ECHO_CMD} "WITH_REMEMBER	- Enable the unofficial remember patch"
.endif
	@${ECHO_CMD} ""

.include <bsd.port.post.mk>