aboutsummaryrefslogtreecommitdiff
path: root/deskutils/nautilus-sendto
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-05-29 17:34:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-05-29 17:34:28 +0000
commit33568a37a23f3db7a1953d9de5d02139c6233243 (patch)
treee52f73819260d5a4ce6bf2dbe4b99cf70935ec2e /deskutils/nautilus-sendto
parent9f63c71af03e115f42955e00bcf2bb458edb9a5b (diff)
downloadports-33568a37a23f3db7a1953d9de5d02139c6233243.tar.gz
ports-33568a37a23f3db7a1953d9de5d02139c6233243.zip
Notes
Diffstat (limited to 'deskutils/nautilus-sendto')
-rw-r--r--deskutils/nautilus-sendto/Makefile20
-rw-r--r--deskutils/nautilus-sendto/pkg-plist8
2 files changed, 18 insertions, 10 deletions
diff --git a/deskutils/nautilus-sendto/Makefile b/deskutils/nautilus-sendto/Makefile
index 08daa82f3290..9eca6555bc42 100644
--- a/deskutils/nautilus-sendto/Makefile
+++ b/deskutils/nautilus-sendto/Makefile
@@ -7,17 +7,15 @@
PORTNAME= nautilus-sendto
PORTVERSION= 0.10
-PORTREVISION= 1
+PORTREVISION= 2
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>
diff --git a/deskutils/nautilus-sendto/pkg-plist b/deskutils/nautilus-sendto/pkg-plist
index 7e45d575c8eb..67c11127cf42 100644
--- a/deskutils/nautilus-sendto/pkg-plist
+++ b/deskutils/nautilus-sendto/pkg-plist
@@ -1,12 +1,12 @@
bin/nautilus-sendto
-lib/gaim/nautilus.la
-lib/gaim/nautilus.so
+%%GAIM%%lib/gaim/nautilus.la
+%%GAIM%%lib/gaim/nautilus.so
lib/nautilus-sendto/plugins/libnstbluetooth.la
lib/nautilus-sendto/plugins/libnstbluetooth.so
lib/nautilus-sendto/plugins/libnstevolution.la
lib/nautilus-sendto/plugins/libnstevolution.so
-lib/nautilus-sendto/plugins/libnstgaim.la
-lib/nautilus-sendto/plugins/libnstgaim.so
+%%GAIM%%lib/nautilus-sendto/plugins/libnstgaim.la
+%%GAIM%%lib/nautilus-sendto/plugins/libnstgaim.so
lib/nautilus-sendto/plugins/libnstsylpheed.la
lib/nautilus-sendto/plugins/libnstsylpheed.so
lib/nautilus/extensions-1.0/libnautilus-sendto.la