diff options
Diffstat (limited to 'x11-fm/thunar/Makefile')
-rw-r--r-- | x11-fm/thunar/Makefile | 99 |
1 files changed, 21 insertions, 78 deletions
diff --git a/x11-fm/thunar/Makefile b/x11-fm/thunar/Makefile index 302b557ff2c7..e8a39103c0d3 100644 --- a/x11-fm/thunar/Makefile +++ b/x11-fm/thunar/Makefile @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= Thunar -PORTVERSION= 1.6.4 -PORTREVISION= 1 +PORTVERSION= 1.6.6 CATEGORIES= x11-fm xfce MASTER_SITES= ${MASTER_SITE_XFCE} -MASTER_SITE_SUBDIR= src/xfce/${PORTNAME:tl}/${PORTVERSION:R} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org @@ -24,15 +22,15 @@ GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_GNOME= gtk20 intltool intlhack gdkpixbuf2 USE_LDCONFIG= yes -USE_XFCE= configenv libexo libmenu libutil xfconf +USE_XFCE= libexo USE_XORG= sm x11 USES= desktop-file-utils gmake pathfix perl5 libtool pkgconfig \ - tar:bzip2 + gettext-tools xfce tar:bzip2 OPTIONS_DEFINE= GVFS NLS NOTIFY STARTUP OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL -OPTIONS_DEFAULT= GVFS NOTIFY PLUG_APR PLUG_SBR PLUG_UCA PLUG_TPA STARTUP +OPTIONS_DEFAULT= GVFS NOTIFY PLUG_APR PLUG_SBR PLUG_UCA PLUG_TPA PLUG_WALL STARTUP # Override NOTIFY_DESC NOTIFY_DESC= Display notifications @@ -43,83 +41,28 @@ PLUG_TPA_DESC= Trash Panel Applet plugin PLUG_UCA_DESC= User Customizable Actions plugin PLUG_WALL_DESC= Wallpaper plugin +GVF_USE= gnome=gvfs +NLS_USES= gettext-runtime +NLS_CONFIGURE_ENABLE= nls +NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +NOTIFY_CONFIGURE_ENABLE= notifications +STARTUP_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification +STARTUP_CONFIGURE_ENABLE= startup-notification +PLUG_APR_LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif +PLUG_APR_CONFIGURE_ENABLE= apr-plugin exif +PLUG_SBR_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre +PLUG_SBR_CONFIGURE_ENABLE= sbr-plugin pcre +PLUG_TPA_USE= xfce=panel +PLUG_TPA_CONFIGURE_ENABLE= tpa-plugin +PLUG_UCA_CONFIGURE_ENABLE= uca-plugin +PLUG_WALL_CONFIGURE_ENABLE= wallpaper-plugin +OPTIONS_SUB= yes + CONFIGURE_ARGS+=--enable-gio-unix \ --disable-gudev \ --enable-dbus \ --without-html-dir -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+=--enable-nls -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MNOTIFY} -LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify -CONFIGURE_ARGS+=--enable-notifications -.else -CONFIGURE_ARGS+=--disable-notifications -.endif - -.if ${PORT_OPTIONS:MPLUG_APR} -LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif -CONFIGURE_ARGS+=--enable-apr-plugin --enable-exif -PLIST_SUB+= PLUGIN_APR="" -.else -CONFIGURE_ARGS+=--disable-apr-plugin --disable-exif -PLIST_SUB+= PLUGIN_APR="@comment " -.endif - -.if ${PORT_OPTIONS:MPLUG_SBR} -LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre -CONFIGURE_ARGS+=--enable-sbr-plugin --enable-pcre -PLIST_SUB+= PLUGIN_SBR="" -.else -CONFIGURE_ARGS+=--disable-sbr-plugin --disable-pcre -PLIST_SUB+= PLUGIN_SBR="@comment " -.endif - -.if ${PORT_OPTIONS:MPLUG_TPA} -CONFIGURE_ARGS+=--enable-tpa-plugin -PLIST_SUB+= PLUGIN_TPA="" -USE_XFCE+= panel -.else -CONFIGURE_ARGS+=--disable-tpa-plugin -PLIST_SUB+= PLUGIN_TPA="@comment " -.endif - -.if ${PORT_OPTIONS:MPLUG_UCA} -CONFIGURE_ARGS+=--enable-uca-plugin -PLIST_SUB+= PLUGIN_UCA="" -.else -CONFIGURE_ARGS+=--disable-uca-plugin -PLIST_SUB+= PLUGIN_UCA="@comment " -.endif - -.if ${PORT_OPTIONS:MPLUG_WALL} -CONFIGURE_ARGS+=--enable-wallpaper-plugin -PLIST_SUB+= PLUGIN_WALL="" -.else -CONFIGURE_ARGS+=--disable-wallpaper-plugin -PLIST_SUB+= PLUGIN_WALL="@comment " -.endif - -.if ${PORT_OPTIONS:MSTARTUP} -LIB_DEPENDS+= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification -CONFIGURE_ARGS+=--enable-startup-notification -.else -CONFIGURE_ARGS+=--disable-startup-notification -.endif - -.if ${PORT_OPTIONS:MGVFS} -USE_GNOME+=gvfs -.endif - post-patch: ${REINPLACE_CMD} -e 's|internet-mail|mail-send|' \ ${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in |