summaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-sendto/Makefile
blob: ca6d2697abdb3c637c11cbf8817d8355dcc94656 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    nautilus-sendto
# Date created:     2004-12-03
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/deskutils/nautilus-sendto/Makefile,v 1.27 2010/08/18 09:32:04 kwm Exp $

PORTNAME=   nautilus-sendto
PORTVERSION=    2.31.7
CATEGORIES= deskutils
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Integration between nautilus, evolution, and pidgin

MAN1=       nautilus-sendto.1
GLIB_SCHEMAS=   org.gnome.Nautilus.Sendto.gschema.xml
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  intlhack gnomeprefix gnometarget nautilus2 gnomehack \
        evolutiondataserver
GNOME_DESKTOP_VERSION=2
USE_GETTEXT=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-plugins="${SENDTO_PLUGINS}"

OPTIONS=    PIDGIN  "Build pidgin sendto plugin" off

# check configure script for allowed_plugins="..." for new plugins
SENDTO_PLUGINS= bluetooth evolution gajim nautilus-burn removable-devices

# Not these plugins:
# empathy (moved to empathy port) upnp

.include <bsd.port.pre.mk>

.if defined(WITH_PIDGIN)
SENDTO_PLUGINS:=${SENDTO_PLUGINS} pidgin
LIB_DEPENDS+=   dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS+=   pidgin:${PORTSDIR}/net-im/pidgin
PLIST_SUB+= PIDGIN=""
.else
PLIST_SUB+= PIDGIN="@comment "
.endif

.include <bsd.port.post.mk>