From 691fae9df43453ce41f634c8a45a78f7dbcc4049 Mon Sep 17 00:00:00 2001 From: olivierd Date: Wed, 23 Oct 2013 20:24:47 +0000 Subject: - Support STAGEDIR - Convert to new LIB_DEPENDS format - Replace APIDOCS option by DOCS - Fix NLS, when it's unset - Standardize 'startup-notification' description --- x11-fm/thunar-vfs/Makefile | 29 +++++++++++++---------------- x11-fm/thunar-vfs/files/patch-configure | 11 +++++++++++ x11-fm/thunar-vfs/pkg-descr | 2 +- 3 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 x11-fm/thunar-vfs/files/patch-configure (limited to 'x11-fm/thunar-vfs') diff --git a/x11-fm/thunar-vfs/Makefile b/x11-fm/thunar-vfs/Makefile index dbb0e56506c0..426c7ced9290 100644 --- a/x11-fm/thunar-vfs/Makefile +++ b/x11-fm/thunar-vfs/Makefile @@ -12,28 +12,25 @@ DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= The virtual filesystem for Thunar -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - jpeg:${PORTSDIR}/graphics/jpeg \ - freetype:${PORTSDIR}/print/freetype2 \ - gamin-1:${PORTSDIR}/devel/gamin +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libgamin-1.so:${PORTSDIR}/devel/gamin USE_BZIP2= yes USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes -USE_GNOME= glib20 gtk20 intltool intlhack +USE_GNOME= glib20 gtk20 gdkpixbuf2 intltool intlhack USE_XFCE= configenv libutil libexo USE_XORG= x11 -USES= gmake pathfix perl5 pkgconfig +USES= gmake pathfix perl5 pkgconfig desktop-file-utils CONFIGURE_ARGS= --disable-debug -OPTIONS_DEFINE= NLS HAL DBUS STARTUP GCONF APIDOCS -OPTIONS_DEFAULT= NLS HAL DBUS STARTUP APIDOCS +OPTIONS_DEFINE= NLS HAL DBUS STARTUP GCONF DOCS +OPTIONS_DEFAULT= NLS HAL DBUS STARTUP +STARTUP_DESC= Startup notification -APIDOCS_DESC= Install api documentation -STARTUP_DESC= Enable startup notification support - -NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} @@ -46,21 +43,21 @@ PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MHAL} -LIB_DEPENDS+= hal:${PORTSDIR}/sysutils/hal +LIB_DEPENDS+= libhal.so:${PORTSDIR}/sysutils/hal CONFIGURE_ARGS+=--with-volume-manager=hal .else CONFIGURE_ARGS+=--with-volume-manager=freebsd .endif .if ${PORT_OPTIONS:MDBUS} -LIB_DEPENDS+= dbus-glib-1:${PORTSDIR}/devel/dbus-glib +LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib CONFIGURE_ARGS+=--enable-dbus .else CONFIGURE_ARGS+=--disable-dbus .endif .if ${PORT_OPTIONS:MSTARTUP} -LIB_DEPENDS+= startup-notification-1:${PORTSDIR}/x11/startup-notification +LIB_DEPENDS+= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification CONFIGURE_ARGS+=--enable-startup-notification .else CONFIGURE_ARGS+=--disable-startup-notification @@ -74,7 +71,7 @@ CONFIGURE_ARGS+=--enable-gnome-thumbnailers CONFIGURE_ARGS+=--disable-gnome-thumbnailers .endif -.if ${PORT_OPTIONS:MAPIDOCS} +.if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html PLIST_SUB+= APIDOCS="" .else diff --git a/x11-fm/thunar-vfs/files/patch-configure b/x11-fm/thunar-vfs/files/patch-configure new file mode 100644 index 000000000000..18cdee7253c8 --- /dev/null +++ b/x11-fm/thunar-vfs/files/patch-configure @@ -0,0 +1,11 @@ +--- ./configure.orig 2011-01-16 16:48:44.000000000 +0000 ++++ ./configure 2013-10-23 17:09:46.000000000 +0000 +@@ -13877,7 +13877,7 @@ + + fi + fi +- USE_NLS=yes ++ #USE_NLS=yes + + + gt_cv_have_gettext=no diff --git a/x11-fm/thunar-vfs/pkg-descr b/x11-fm/thunar-vfs/pkg-descr index 821c4bfa3741..e8f966dca8ba 100644 --- a/x11-fm/thunar-vfs/pkg-descr +++ b/x11-fm/thunar-vfs/pkg-descr @@ -1,4 +1,4 @@ Thunar-VFS is the Virtual filesystem shipped with the thunar 1.0 and earlier releases. -WWW: http://thunar.xfce.org/ +WWW: http://xfce.org/ -- cgit