aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/xfce4-session/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2010-05-31 15:27:35 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2010-05-31 15:27:35 +0000
commitfadaf7d1d97c291cdeea808c263b2f35631844c6 (patch)
treebd97a0478b3f2879cbfd9f5a13b8d778a1dd9852 /x11-wm/xfce4-session/Makefile
parentcba0b6798bcf3f053a366c0447d18114d51cbb2b (diff)
downloadports-fadaf7d1d97c291cdeea808c263b2f35631844c6.tar.gz
ports-fadaf7d1d97c291cdeea808c263b2f35631844c6.zip
Notes
Diffstat (limited to 'x11-wm/xfce4-session/Makefile')
-rw-r--r--x11-wm/xfce4-session/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/x11-wm/xfce4-session/Makefile b/x11-wm/xfce4-session/Makefile
index 9d14c60db74d..cdbada0d6d8b 100644
--- a/x11-wm/xfce4-session/Makefile
+++ b/x11-wm/xfce4-session/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xfce4-session
-PORTVERSION= 4.6.1
-PORTREVISION= 5
+PORTVERSION= 4.6.2
CATEGORIES= x11-wm xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
DIST_SUBDIR= xfce4
@@ -20,10 +19,10 @@ RUN_DEPENDS= iceauth:${PORTSDIR}/x11/iceauth
LIB_DEPENDS= wnck-1.22:${PORTSDIR}/x11-toolkits/libwnck \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
-USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gnometarget gtk20 intltool intlhack pkgconfig
USE_LDCONFIG= yes
@@ -32,4 +31,15 @@ USE_XORG= x11 sm ice
MAN1= xfce4-session.1 xfce4-session-logout.1
+PLIST_SUB= VERSION="${PORTVERSION:R}"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>