summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authordan <dan@pkgsrc.org>2007-08-13 05:32:09 +0000
committerdan <dan@pkgsrc.org>2007-08-13 05:32:09 +0000
commitd188e92a488d0f3e030b63426fb4e201de634f47 (patch)
treead2eda7ce0c840aafddf580b1979b445e78081ca /chat
parent6c2901991af033a0adcf285d008bc02b1174d70f (diff)
downloadpkgsrc-d188e92a488d0f3e030b63426fb4e201de634f47.tar.gz
Add an option "sametime", to enable the sametime protocol
via ../chat/meanwhile
Diffstat (limited to 'chat')
-rw-r--r--chat/libpurple/PLIST3
-rw-r--r--chat/libpurple/options.mk11
2 files changed, 11 insertions, 3 deletions
diff --git a/chat/libpurple/PLIST b/chat/libpurple/PLIST
index b92e13c21ff..5f85cbd7993 100644
--- a/chat/libpurple/PLIST
+++ b/chat/libpurple/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2007/08/02 13:43:32 gdt Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/08/13 05:32:09 dan Exp $
include/libpurple/account.h
include/libpurple/accountopt.h
include/libpurple/blist.h
@@ -63,6 +63,7 @@ lib/purple-2/libmsn.la
lib/purple-2/libnovell.la
lib/purple-2/liboscar.la
lib/purple-2/libqq.la
+${SAMETIME}lib/purple-2/libsametime.la
${SILC}lib/purple-2/libsilcpurple.la
lib/purple-2/libsimple.la
lib/purple-2/libxmpp.la
diff --git a/chat/libpurple/options.mk b/chat/libpurple/options.mk
index 3eea3cec146..f52dcfec7ed 100644
--- a/chat/libpurple/options.mk
+++ b/chat/libpurple/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2007/08/04 13:30:25 joerg Exp $
+# $NetBSD: options.mk,v 1.3 2007/08/13 05:32:11 dan Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
-PKG_SUPPORTED_OPTIONS+= gnutls silc perl tcl debug dbus
+PKG_SUPPORTED_OPTIONS+= gnutls sametime silc perl tcl debug dbus
PKG_SUGGESTED_OPTIONS+= gnutls silc
.include "../../mk/bsd.options.mk"
@@ -22,6 +22,13 @@ CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib/nss
. include "../../devel/nss/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Msametime)
+PLIST_SUBST+= SAMETIME=
+. include "../../chat/meanwhile/buildlink3.mk"
+.else
+PLIST_SUBST+= SAMETIME="@comment "
+.endif
+
.if !empty(PKG_OPTIONS:Msilc)
PLIST_SUBST+= SILC=
CONFIGURE_ARGS+= --with-silc-includes=${BUILDLINK_PREFIX.silc-toolkit}/include/silc