summaryrefslogtreecommitdiffstats
path: root/net-im/empathy
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/empathy')
-rw-r--r--net-im/empathy/Makefile14
-rw-r--r--net-im/empathy/pkg-plist2
2 files changed, 13 insertions, 3 deletions
diff --git a/net-im/empathy/Makefile b/net-im/empathy/Makefile
index b3c697806..ca1cf6dcd 100644
--- a/net-im/empathy/Makefile
+++ b/net-im/empathy/Makefile
@@ -3,7 +3,7 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/net-im/empathy/Makefile,v 1.25 2009/05/27 15:04:53 kwm Exp $
+# $MCom: ports/net-im/empathy/Makefile,v 1.26 2009/06/15 17:08:42 kwm Exp $
PORTNAME= empathy
PORTVERSION= 2.27.3
@@ -44,7 +44,8 @@ OPTIONS= JABBER "Enable jabber (XMPP) client support" on \
MSN "Enable MSN client support" on \
IRC "Enable IRC client support" on \
SALUT "Enable link-local (serverless) XMPP support" off \
- HAZE "Enable libpurple protocol integration" off
+ HAZE "Enable libpurple protocol integration" off \
+ WEBKIT "Enable Adium Message Style themes" on
.include <bsd.port.pre.mk>
@@ -68,6 +69,15 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze
.endif
+.if defined(WITH_WEBKIT)
+LIB_DEPENDS+= webkit-1.0.7:${PORTSDIR}/www/webkit-gtk2
+CONFIGURE_ARGS+=--enable-webkit
+PLIST_SUB+= ADIUM=""
+.else
+CONFIGURE_ARGS+=--disable-webkit
+PLIST_SUB+= ADIUM="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|$${datadir}/gtk-doc/html|${DOCSDIR}|g ; \
s|-Werror||g' ${WRKSRC}/configure
diff --git a/net-im/empathy/pkg-plist b/net-im/empathy/pkg-plist
index e4cdc741d..b2ee1054e 100644
--- a/net-im/empathy/pkg-plist
+++ b/net-im/empathy/pkg-plist
@@ -32,7 +32,7 @@ include/libempathy-gtk/empathy-profile-chooser.h
include/libempathy-gtk/empathy-smiley-manager.h
include/libempathy-gtk/empathy-spell.h
include/libempathy-gtk/empathy-status-preset-dialog.h
-include/libempathy-gtk/empathy-theme-adium.h
+%%ADIUM%%include/libempathy-gtk/empathy-theme-adium.h
include/libempathy-gtk/empathy-theme-boxes.h
include/libempathy-gtk/empathy-theme-irc.h
include/libempathy-gtk/empathy-theme-manager.h