aboutsummaryrefslogtreecommitdiff
path: root/x11/libxfce4util/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/libxfce4util/Makefile
parentcba0b6798bcf3f053a366c0447d18114d51cbb2b (diff)
downloadports-fadaf7d1d97c291cdeea808c263b2f35631844c6.tar.gz
ports-fadaf7d1d97c291cdeea808c263b2f35631844c6.zip
Notes
Diffstat (limited to 'x11/libxfce4util/Makefile')
-rw-r--r--x11/libxfce4util/Makefile25
1 files changed, 16 insertions, 9 deletions
diff --git a/x11/libxfce4util/Makefile b/x11/libxfce4util/Makefile
index ea5deb62693c..07f6b2a5a18a 100644
--- a/x11/libxfce4util/Makefile
+++ b/x11/libxfce4util/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libxfce4util
-PORTVERSION= 4.6.1
+PORTVERSION= 4.6.2
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
DIST_SUBDIR= xfce4
@@ -18,17 +18,24 @@ USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= glib20 gnomehack gnometarget pkgconfig
+USE_GNOME= glib20 gnomehack intltool intlhack pkgconfig
USE_LDCONFIG= yes
USE_XFCE= configenv
-.if defined(WITH_GTKDOC)
-BUILD_DEPENDS+= gtkdocize:${PORTSDIR}/textproc/gtk-doc
-CONFIGURE_ARGS+=--enable-gtk-doc
-PLIST_SUB+= GTK_DOC=""
+CONFIGURE_ARGS= --enable-gtk-doc-html=no \
+ --disable-debug
+
+OPTIONS= NLS "Enable Native Language Support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+=--enable-nls
+PLIST_SUB+= NLS=""
.else
-CONFIGURE_ARGS+=--disable-gtk-doc
-PLIST_SUB+= GTK_DOC="@comment "
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>