aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/waimea-devel/Makefile
blob: 751dd6def40f9e208a516021d300f9c553c82113 (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
# New ports collection makefile for:    Waimea
# Date created:             03 Mar 2005
# Whom:                 Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   waimea
PORTVERSION=    0.5.0.20050825
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= danfe

MAINTAINER= danfe@FreeBSD.org
COMMENT=    An X11 window manager designed for maximum efficiency

LIB_DEPENDS=    expat.5:${PORTSDIR}/textproc/expat2 \
        cairo.1:${PORTSDIR}/graphics/cairo

BROKEN=     Configure fails

LATEST_LINK=    ${PORTNAME}-devel

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_ICONV=  yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

OPTIONS=    PNG "Enable PNG support" On \
        SVG "Enable SVG support" On \
        THREAD "Enable threading support" Off

.include <bsd.port.pre.mk>

.if defined(WITH_PNG)
LIB_DEPENDS+=   png.5:${PORTSDIR}/graphics/png
.else
CONFIGURE_ARGS+=    --disable-png
.endif

.if defined(WITH_SVG)
LIB_DEPENDS+=   svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo
.else
CONFIGURE_ARGS+=    --disable-svg
.endif

.if defined(WITH_THREAD)
CONFIGURE_ARGS+=    --enable-thread
.endif

MAN1=       waimea.1

.include <bsd.port.post.mk>