1 # Created by: Michael Johnson <ahze@FreeBSD.org>
3 # $MCom: ports/deskutils/nautilus-sendto/Makefile,v 1.30 2010/09/30 06:21:18 kwm Exp $
5 PORTNAME= nautilus-sendto
11 MAINTAINER= gnome@FreeBSD.org
12 COMMENT= Integration between nautilus, evolution, and pidgin
14 MAN1= nautilus-sendto.1
15 GLIB_SCHEMAS= org.gnome.Nautilus.Sendto.gschema.xml
18 USES= pathfix gettext gmake pkgconfig
19 USE_GNOME= intlhack gnomeprefix nautilus2 gnomehack evolutiondataserver
20 CPPFLAGS+= -I${LOCALBASE}/include
21 LDFLAGS+= -L${LOCALBASE}/lib
22 CONFIGURE_ARGS= --with-plugins="${SENDTO_PLUGINS}"
24 OPTIONS_DEFINE= PIDGIN UPNP
25 PIDGIN_DESC= Build pidgin sendto plugin
26 UPNP_DESC= Build upnp sendto plugin
28 # check configure script for allowed_plugins="..." for new plugins
29 SENDTO_PLUGINS= evolution gajim nautilus-burn removable-devices
32 .include <bsd.port.options.mk>
34 .if ${PORT_OPTIONS:MPIDGIN}
35 SENDTO_PLUGINS:=${SENDTO_PLUGINS} pidgin
36 LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
37 RUN_DEPENDS+= pidgin:${PORTSDIR}/net-im/pidgin
40 PLIST_SUB+= PIDGIN="@comment "
43 .if ${PORT_OPTIONS:MUPNP}
44 SENDTO_PLUGINS:=${SENDTO_PLUGINS} upnp
45 LIB_DEPENDS+= libgupnp-1.so:${PORTSDIR}/net/gupnp
48 PLIST_SUB+= UPNP="@comment "
51 .include <bsd.port.mk>