summaryrefslogtreecommitdiff
path: root/x11-wm/xfce4-session/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/xfce4-session/Makefile')
-rw-r--r--x11-wm/xfce4-session/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/x11-wm/xfce4-session/Makefile b/x11-wm/xfce4-session/Makefile
index 1d61029cecd5..dbbedc03231f 100644
--- a/x11-wm/xfce4-session/Makefile
+++ b/x11-wm/xfce4-session/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= xfce4-session
-PORTVERSION= 4.4.1
-PORTREVISION= 1
+PORTVERSION= 4.4.2
+PORTREVISION= 0
CATEGORIES= x11-wm xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
DIST_SUBDIR= xfce4
@@ -15,9 +15,6 @@ DIST_SUBDIR= xfce4
MAINTAINER= oliver@FreeBSD.org
COMMENT= Session manager for the Xfce 4 desktop environment
-BUILD_DEPENDS= iceauth:${X_CLIENTS_PORT}
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
@@ -30,4 +27,14 @@ USE_XLIB= yes
MAN1= xfce4-session.1 xfce4-session-logout.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} != xorg
+BUILD_DEPENDS+= iceauth:${X_CLIENTS_PORT}
+.else
+BUILD_DEPENDS+= iceauth:${PORTSDIR}/x11/iceauth
+.endif
+
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+.include <bsd.port.post.mk>