aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2005-02-15 07:13:14 +0800
committermux <mux@FreeBSD.org>2005-02-15 07:13:14 +0800
commitdb8a9620694cce6a0c2bf44817bb6c068050eb2f (patch)
treee6f9bd087bf75cf143d2fb561b55fea7d86e4044 /x11-wm
parenta5051a560c6c83599788ae2a2d679e1555b26031 (diff)
downloadfreebsd-ports-gnome-db8a9620694cce6a0c2bf44817bb6c068050eb2f.tar.gz
freebsd-ports-gnome-db8a9620694cce6a0c2bf44817bb6c068050eb2f.tar.zst
freebsd-ports-gnome-db8a9620694cce6a0c2bf44817bb6c068050eb2f.zip
Add an option for building xfwm4 with support for the experimental
X11 Composite extension. Defaults to off. Reviewed by: maintainer
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce4-wm/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-wm/xfce4-wm/Makefile b/x11-wm/xfce4-wm/Makefile
index 25a68593a302..83afcde1e26a 100644
--- a/x11-wm/xfce4-wm/Makefile
+++ b/x11-wm/xfce4-wm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xfce4-wm
PORTVERSION= 4.2.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11-wm xfce
MASTER_SITES= http://www.us.xfce.org/archive/xfce-${PORTVERSION}/src/ \
http://spuriousinterrupt.org/projects/xfce4/files/mirror/xfce-${PORTVERSION}/ \
@@ -36,4 +36,12 @@ CONFIGURE_ENV= CFLAGS=-I${LOCALBASE}/include \
CPPFLAGS=-I${LOCALBASE}/include \
LIBS=-L${LOCALBASE}/lib
-.include <bsd.port.mk>
+OPTIONS= COMPOSITE "Support the experimental X11 Composite extension" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_COMPOSITE)
+CONFIGURE_ARGS+= --enable-compositor
+.endif
+
+.include <bsd.port.post.mk>