summaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-sendto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/nautilus-sendto/Makefile')
-rw-r--r--deskutils/nautilus-sendto/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/deskutils/nautilus-sendto/Makefile b/deskutils/nautilus-sendto/Makefile
index 800558e4a..4ea44cd2a 100644
--- a/deskutils/nautilus-sendto/Makefile
+++ b/deskutils/nautilus-sendto/Makefile
@@ -3,21 +3,19 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/deskutils/nautilus-sendto/Makefile,v 1.9 2007/04/30 18:22:39 ahze Exp $
+# $MCom: ports/deskutils/nautilus-sendto/Makefile,v 1.10 2007/05/19 21:36:03 marcus Exp $
PORTNAME= nautilus-sendto
PORTVERSION= 0.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Integration between nautilus, evolution, and gaim
-BUILD_DEPENDS= gaim:${PORTSDIR}/net-im/gaim \
- evolution:${PORTSDIR}/mail/evolution
-RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim \
- evolution:${PORTSDIR}/mail/evolution
+BUILD_DEPENDS= evolution:${PORTSDIR}/mail/evolution
+RUN_DEPENDS= evolution:${PORTSDIR}/mail/evolution
MAN1= nautilus-sendto.1
GCONF_SCHEMAS= nst.schemas
@@ -30,4 +28,14 @@ USE_GETTEXT= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/gaim)
+BUILD_DEPENDS+= gaim:${PORTSDIR}/net-im/gaim
+RUN_DEPENDS+= gaim:${PORTSDIR}/net-im/gaim
+PLIST_SUB+= GAIM=""
+.else
+PLIST_SUB+= GAIM="@comment "
+.endif
+
+.include <bsd.port.post.mk>