summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-11 07:25:30 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-11 07:25:30 +0800
commit26d5d31a33df7b9d7da5903b2bec6568bf87b681 (patch)
tree7e308c32051a2a0d6193c59868a511814e55c708
parentc6435d83573031961ffb7e9b05b04034d3629652 (diff)
downloadmarcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.tar
marcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.tar.gz
marcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.tar.bz2
marcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.tar.lz
marcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.tar.xz
marcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.tar.zst
marcuscom-ports-26d5d31a33df7b9d7da5903b2bec6568bf87b681.zip
Add a OPTION for building the nautilus-sendto plugin. Default on.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14037 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--net-im/empathy/Makefile14
-rw-r--r--net-im/empathy/pkg-plist3
2 files changed, 16 insertions, 1 deletions
diff --git a/net-im/empathy/Makefile b/net-im/empathy/Makefile
index 5818976a5..c74f12c95 100644
--- a/net-im/empathy/Makefile
+++ b/net-im/empathy/Makefile
@@ -3,10 +3,11 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/net-im/empathy/Makefile,v 1.61 2010/03/31 07:50:36 avl Exp $
+# $MCom: ports/net-im/empathy/Makefile,v 1.62 2010/04/10 15:35:11 kwm Exp $
PORTNAME= empathy
PORTVERSION= 2.30.0.1
+PORTREVISION= 1
CATEGORIES= net-im gnome
MASTER_SITES= GNOME
@@ -48,6 +49,7 @@ OPTIONS= JABBER "Enable jabber (XMPP) client support" on \
SALUT "Enable link-local (serverless) XMPP support" off \
HAZE "Enable libpurple protocol integration" off \
WEBKIT "Enable Adium Message Style themes" on \
+ NST "Enable Nautilus SendTo plugin" on \
MAP "Enable graphical map support" on
.include <bsd.port.pre.mk>
@@ -81,6 +83,16 @@ CONFIGURE_ARGS+=--disable-webkit
PLIST_SUB+= ADIUM="@comment "
.endif
+.if defined(WITH_NST)
+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/nautilus-sendto.pc:${PORTSDIR}/deskutils/nautilus-sendto
+RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/nautilus-sendto.pc:${PORTSDIR}/deskutils/nautilus-sendto
+CONFIGURE_ARGS+=--enable-nautilus-sendto=yes
+PLIST_SUB+= NST=""
+.else
+CONFIGURE_ARGS+=--enable-nautilus-sendto=no
+PLIST_SUB+= NST="@comment "
+.endif
+
.if !defined(WITHOUT_MAP)
LIB_DEPENDS+= champlain-0.4.1:${PORTSDIR}/graphics/libchamplain
CONFIGURE_ARGS+=--enable-map
diff --git a/net-im/empathy/pkg-plist b/net-im/empathy/pkg-plist
index 1f62a30f7..9f1b99bb6 100644
--- a/net-im/empathy/pkg-plist
+++ b/net-im/empathy/pkg-plist
@@ -1,6 +1,9 @@
bin/empathy
bin/empathy-accounts
bin/empathy-debugger
+%%NST%%lib/nautilus-sendto/plugins/libnstempathy.a
+%%NST%%lib/nautilus-sendto/plugins/libnstempathy.la
+%%NST%%lib/nautilus-sendto/plugins/libnstempathy.so
share/applications/empathy-accounts.desktop
share/applications/empathy.desktop
share/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service