Tweak x11/zenity version 2.32.1_2
[dports.git] / x11 / libxfce4menu / Makefile
1 # Created by: Oliver Lehmann <oliver@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       libxfce4menu
5 PORTVERSION=    4.10.0
6 PORTREVISION=   4
7 CATEGORIES=     x11 xfce
8 MASTER_SITES=   ${MASTER_SITE_XFCE}
9 DISTNAME=       libxfce4ui-${PORTVERSION}
10 DIST_SUBDIR=    xfce4
11
12 MAINTAINER=     xfce@FreeBSD.org
13 COMMENT=        Widgets library for the Xfce desktop environment
14
15 GNU_CONFIGURE=  yes
16 USE_BZIP2=      yes
17 USE_GNOME=      glib20 gtk20 intltool intlhack
18 USE_LDCONFIG=   yes
19 USE_XFCE=       configenv libutil xfconf
20 INSTALLS_ICONS= yes
21 USES=           pathfix pkgconfig gmake
22
23 CONFIGURE_ARGS= --with-vendor-info=FreeBSD
24
25 OPTIONS_DEFINE=         DOCS NLS NOTIFY GLADE
26 OPTIONS_DEFAULT=        NOTIFY
27
28 .include <bsd.port.options.mk>
29
30 .if ${PORT_OPTIONS:MDOCS}
31 CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html
32 PLIST_SUB+=     APIDOCS=""
33 .else
34 CONFIGURE_ARGS+=--without-html-dir
35 PLIST_SUB+=     APIDOCS="@comment "
36 .endif
37
38 .if ${PORT_OPTIONS:MNLS}
39 USES+=          gettext
40 CONFIGURE_ARGS+=--enable-nls
41 PLIST_SUB+=     NLS=""
42 .else
43 CONFIGURE_ARGS+=--disable-nls
44 PLIST_SUB+=     NLS="@comment "
45 .endif
46
47 .if ${PORT_OPTIONS:MNOTIFY}
48 LIB_DEPENDS+=   libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
49 CONFIGURE_ARGS+=--enable-startup-notification
50 .else
51 CONFIGURE_ARGS+=--disable-startup-notification
52 .endif
53
54 .if ${PORT_OPTIONS:MGLADE}
55 LIB_DEPENDS+=   libgladeui-1.so:${PORTSDIR}/devel/glade3
56 CONFIGURE_ARGS+=--enable-gladeui
57 .else
58 CONFIGURE_ARGS+=--disable-gladeui
59 .endif
60
61 .include <bsd.port.mk>