diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-03 14:11:01 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-03 14:11:01 +0800 |
commit | 693792b66d2d7b4644e85ea855963b5cc3596337 (patch) | |
tree | 7c4d5f887389a9f45c6f47ef127ff705f749a2a6 /net/vinagre | |
parent | defe90a219cf2d9cf093208c4c8a5d2535efc385 (diff) | |
download | marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.tar marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.tar.gz marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.tar.bz2 marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.tar.lz marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.tar.xz marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.tar.zst marcuscom-ports-693792b66d2d7b4644e85ea855963b5cc3596337.zip |
Add optional (default on) support for telepathy integration.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12563 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/vinagre')
-rw-r--r-- | net/vinagre/Makefile | 18 | ||||
-rw-r--r-- | net/vinagre/pkg-plist | 2 |
2 files changed, 17 insertions, 3 deletions
diff --git a/net/vinagre/Makefile b/net/vinagre/Makefile index fdef47ad8..0e825ae1f 100644 --- a/net/vinagre/Makefile +++ b/net/vinagre/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom$ +# $MCom: ports/net/vinagre/Makefile,v 1.26 2009/07/29 10:05:46 kwm Exp $ # PORTNAME= vinagre PORTVERSION= 2.27.5 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -36,6 +37,19 @@ GCONF_SCHEMAS= vinagre.schemas MAN1= vinagre.1 +OPTIONS= TELEPATHY "Enable telepathy integration" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_TELEPATHY) +CONFIGURE_ARGS+=--enable-telepathy +LIB_DEPENDS+= telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib +PLIST_SUB+= TELEPATHY="" +.else +CONFIGURE_ARGS+=--disable-telepathy +PLIST_SUB+= TELEPATHY="@comment " +.endif + post-install: @-update-desktop-database > /dev/null @-update-mime-database ${PREFIX}/share/mime > /dev/null @@ -46,4 +60,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/vinagre/pkg-plist b/net/vinagre/pkg-plist index e4c6936fc..6bbe5e377 100644 --- a/net/vinagre/pkg-plist +++ b/net/vinagre/pkg-plist @@ -33,7 +33,7 @@ lib/vinagre-1/plugins/vnc.vinagre-plugin libdata/pkgconfig/vinagre-1.0.pc share/applications/vinagre-file.desktop share/applications/vinagre.desktop -share/dbus-1/services/org.gnome.Empathy.StreamTubeHandler.x_vnc.service +%%TELEPATHY%%share/dbus-1/services/org.gnome.Empathy.StreamTubeHandler.x_vnc.service %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog |