2012-12-14 18:20:47 +00:00
|
|
|
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
2007-01-22 16:52:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Thunar
|
2013-05-08 15:14:25 +00:00
|
|
|
PORTVERSION= 1.6.3
|
2014-02-23 12:45:05 +00:00
|
|
|
PORTREVISION= 1
|
2007-01-22 16:52:06 +00:00
|
|
|
CATEGORIES= x11-fm xfce
|
2007-10-25 22:53:28 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2014-05-05 09:45:36 +00:00
|
|
|
MASTER_SITE_SUBDIR= src/xfce/${PORTNAME:tl}/${PORTVERSION:R}
|
2007-01-22 16:52:06 +00:00
|
|
|
DIST_SUBDIR= xfce4
|
|
|
|
|
2011-10-23 11:56:51 +00:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2012-12-14 18:53:31 +00:00
|
|
|
COMMENT= Xfce file manager
|
2007-01-22 16:52:06 +00:00
|
|
|
|
2013-10-14 20:07:52 +00:00
|
|
|
LIB_DEPENDS= libtumbler-1.so:${PORTSDIR}/deskutils/xfce4-tumbler
|
2007-01-22 16:52:06 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2012-01-07 18:08:22 +00:00
|
|
|
INSTALLS_ICONS= yes
|
2013-05-08 15:14:25 +00:00
|
|
|
USE_GNOME= gtk20 intltool intlhack gdkpixbuf2
|
2007-01-22 16:52:06 +00:00
|
|
|
USE_LDCONFIG= yes
|
2011-03-03 10:12:30 +00:00
|
|
|
USE_XFCE= configenv libexo libmenu libutil
|
|
|
|
USE_XORG= sm x11
|
2014-06-02 07:51:44 +00:00
|
|
|
USES= desktop-file-utils gmake pathfix perl5 pkgconfig tar:bzip2
|
2007-01-22 16:52:06 +00:00
|
|
|
|
2012-12-14 18:53:31 +00:00
|
|
|
OPTIONS_DEFINE= DBUS DOCS GVFS NLS NOTIFY STARTUP
|
2012-12-14 20:31:19 +00:00
|
|
|
OPTIONS_GROUP= PLUGINS
|
|
|
|
OPTIONS_GROUP_PLUGINS= PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL
|
2012-12-14 18:53:31 +00:00
|
|
|
OPTIONS_DEFAULT= DBUS GVFS NOTIFY PLUG_APR PLUG_SBR PLUG_UCA PLUG_WALL STARTUP
|
|
|
|
|
|
|
|
# Override NOTIFY_DESC
|
|
|
|
NOTIFY_DESC= Display notifications
|
|
|
|
STARTUP_DESC= Startup notification
|
2013-03-09 11:12:54 +00:00
|
|
|
PLUG_APR_DESC= Advanced Properties plugin
|
|
|
|
PLUG_SBR_DESC= Simple Builtin Renamers plugin
|
|
|
|
PLUG_TPA_DESC= Trash Panel Applet plugin
|
|
|
|
PLUG_UCA_DESC= User Customizable Actions plugin
|
|
|
|
PLUG_WALL_DESC= Wallpaper plugin
|
2012-05-30 16:49:12 +00:00
|
|
|
|
2013-05-08 15:14:25 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-gio-unix \
|
2011-03-03 10:12:30 +00:00
|
|
|
--disable-gudev
|
2007-01-22 16:52:06 +00:00
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2007-01-22 16:52:06 +00:00
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MDBUS}
|
2013-10-14 20:07:52 +00:00
|
|
|
LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
2007-01-22 16:52:06 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-dbus
|
|
|
|
PLIST_SUB+= WITH_DBUS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-dbus
|
|
|
|
PLIST_SUB+= WITH_DBUS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 10:44:28 +00:00
|
|
|
USES+= gettext
|
2011-03-03 10:12:30 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
2007-01-22 16:52:06 +00:00
|
|
|
.else
|
2011-03-03 10:12:30 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2007-01-25 11:05:25 +00:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MNOTIFY}
|
2013-10-14 20:07:52 +00:00
|
|
|
LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify
|
2011-03-03 10:12:30 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-notifications
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-notifications
|
2007-01-22 16:52:06 +00:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2011-03-03 10:12:30 +00:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/gtk-doc/html
|
|
|
|
PLIST_SUB+= APIDOCS=""
|
2012-05-30 16:49:12 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-html-dir
|
|
|
|
PLIST_SUB+= APIDOCS="@comment "
|
2007-01-22 16:52:06 +00:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MPLUG_APR}
|
2013-10-14 20:07:52 +00:00
|
|
|
LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif
|
2012-12-14 18:53:31 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-apr-plugin --enable-exif
|
2007-01-25 11:05:25 +00:00
|
|
|
PLIST_SUB+= PLUGIN_APR=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-apr-plugin --disable-exif
|
|
|
|
PLIST_SUB+= PLUGIN_APR="@comment "
|
|
|
|
.endif
|
2007-01-22 16:52:06 +00:00
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MPLUG_SBR}
|
2013-10-14 20:07:52 +00:00
|
|
|
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
|
2012-12-14 18:53:31 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-sbr-plugin --enable-pcre
|
|
|
|
PLIST_SUB+= PLUGIN_SBR=""
|
2007-01-25 11:05:25 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-sbr-plugin --disable-pcre
|
|
|
|
PLIST_SUB+= PLUGIN_SBR="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MPLUG_TPA}
|
2007-01-25 11:05:25 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-tpa-plugin
|
|
|
|
PLIST_SUB+= PLUGIN_TPA=""
|
|
|
|
USE_XFCE+= panel
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-tpa-plugin
|
|
|
|
PLIST_SUB+= PLUGIN_TPA="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MPLUG_UCA}
|
2007-01-25 11:05:25 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-uca-plugin
|
|
|
|
PLIST_SUB+= PLUGIN_UCA=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-uca-plugin
|
|
|
|
PLIST_SUB+= PLUGIN_UCA="@comment "
|
|
|
|
.endif
|
2007-01-22 16:52:06 +00:00
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MPLUG_WALL}
|
2009-03-02 16:51:57 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-wallpaper-plugin
|
|
|
|
PLIST_SUB+= PLUGIN_WALL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-wallpaper-plugin
|
|
|
|
PLIST_SUB+= PLUGIN_WALL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MSTARTUP}
|
2013-10-14 20:07:52 +00:00
|
|
|
LIB_DEPENDS+= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
|
2007-01-22 16:52:06 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-startup-notification
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-startup-notification
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.if ${PORT_OPTIONS:MGVFS}
|
2011-06-07 12:23:03 +00:00
|
|
|
USE_GNOME+=gvfs
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 16:49:12 +00:00
|
|
|
.include <bsd.port.mk>
|