freebsd-ports/x11-fm/thunar/Makefile
Tijl Coosemans a374acb969 By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
Makefile.am and clean up the port Makefile.

japanese/scim-honoka: Tries to hide all symbols that start with an
underscore, but because this library is written in C++ all symbols start
with _Z so it ends up hiding everything.  Just don't hide anything at all
like the textproc/scim configure script does.

multimedia/schroedinger: Apply an upstream patch.

textproc/scim-input-pad: Same as japanese/scim-honoka.

PR:		201922
Approved by:	portmgr (antoine)
Exp-run by:	antoine
2015-08-02 15:03:19 +00:00

71 lines
2.2 KiB
Makefile

# Created by: Oliver Lehmann <oliver@FreeBSD.org>
# $FreeBSD$
PORTNAME= Thunar
PORTVERSION= 1.6.10
PORTREVISION= 1
CATEGORIES= x11-fm xfce
MASTER_SITES= XFCE/src/xfce/${PORTNAME:tl}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Xfce file manager
LICENSE= GPLv2 LGPL20
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libtumbler-1.so:${PORTSDIR}/deskutils/xfce4-tumbler \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_GNOME= gtk20 intltool intlhack gdkpixbuf2
USE_LDCONFIG= yes
USE_XFCE= libexo
USE_XORG= sm x11
USES= desktop-file-utils gmake pathfix perl5 libtool pkgconfig \
gettext-tools xfce tar:bzip2
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS NOTIFY
OPTIONS_GROUP= PLUGINS
OPTIONS_GROUP_PLUGINS= PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL
OPTIONS_DEFAULT= NOTIFY PLUG_APR PLUG_SBR PLUG_UCA PLUG_TPA PLUG_WALL
# Override NOTIFY_DESC
NOTIFY_DESC= Display notifications
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
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
NOTIFY_CONFIGURE_ENABLE= notifications
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= gnome=gvfs 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
post-patch:
${REINPLACE_CMD} -e 's|internet-mail|mail-send|' \
${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in
# Workaround for missing 'inode/directory' content-type icon.
# https://bugs.freedesktop.org/show_bug.cgi?id=89150
${FIND} ${WRKSRC} -type f -name '*.c' \
| ${XARGS} ${REINPLACE_CMD} -e 's|inode/directory|folder|'
.include <bsd.port.mk>