summaryrefslogtreecommitdiff
path: root/chat/libpurple
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /chat/libpurple
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'chat/libpurple')
-rw-r--r--chat/libpurple/PLIST26
-rw-r--r--chat/libpurple/options.mk7
2 files changed, 17 insertions, 16 deletions
diff --git a/chat/libpurple/PLIST b/chat/libpurple/PLIST
index 5e40b0f80e3..88caf5fcb05 100644
--- a/chat/libpurple/PLIST
+++ b/chat/libpurple/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2008/03/04 17:22:40 tnn Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/04/12 22:42:58 jlam Exp $
include/libpurple/account.h
include/libpurple/accountopt.h
include/libpurple/blist.h
@@ -161,18 +161,18 @@ share/sounds/purple/login.wav
share/sounds/purple/logout.wav
share/sounds/purple/receive.wav
share/sounds/purple/send.wav
-${DBUS}bin/purple-client-example
-${DBUS}bin/purple-remote
-${DBUS}bin/purple-send
-${DBUS}bin/purple-send-async
-${DBUS}bin/purple-url-handler
-${DBUS}include/libpurple/dbus-bindings.h
-${DBUS}include/libpurple/dbus-define-api.h
-${DBUS}include/libpurple/dbus-purple.h
-${DBUS}include/libpurple/dbus-server.h
-${DBUS}include/libpurple/dbus-useful.h
-${DBUS}lib/libpurple-client.la
-${DBUS}lib/purple-2/dbus-example.la
+${PLIST.dbus}bin/purple-client-example
+${PLIST.dbus}bin/purple-remote
+${PLIST.dbus}bin/purple-send
+${PLIST.dbus}bin/purple-send-async
+${PLIST.dbus}bin/purple-url-handler
+${PLIST.dbus}include/libpurple/dbus-bindings.h
+${PLIST.dbus}include/libpurple/dbus-define-api.h
+${PLIST.dbus}include/libpurple/dbus-purple.h
+${PLIST.dbus}include/libpurple/dbus-server.h
+${PLIST.dbus}include/libpurple/dbus-useful.h
+${PLIST.dbus}lib/libpurple-client.la
+${PLIST.dbus}lib/purple-2/dbus-example.la
@dirrm lib/purple-2
@dirrm include/libpurple
@dirrm share/purple/ca-certs
diff --git a/chat/libpurple/options.mk b/chat/libpurple/options.mk
index 9cada942d8e..fb0456f2dac 100644
--- a/chat/libpurple/options.mk
+++ b/chat/libpurple/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2007/12/01 22:46:42 rillig Exp $
+# $NetBSD: options.mk,v 1.7 2008/04/12 22:42:58 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
PKG_SUPPORTED_OPTIONS+= gnutls perl tcl debug dbus sasl
@@ -6,6 +6,8 @@ PKG_SUGGESTED_OPTIONS+= gnutls
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= dbus
+
.if !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --disable-nss
CONFIGURE_ARGS+= --with-gnutls-includes=${BUILDLINK_PREFIX.gnutls}/include
@@ -39,7 +41,7 @@ CONFIGURE_ARGS+= --disable-tcl
.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+= --enable-dbus
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
-PLIST_SUBST+= DBUS=
+PLIST.dbus= yes
REPLACE_SH+= libpurple/purple-send
REPLACE_SH+= libpurple/purple-send-async
REPLACE_PYTHON+= libpurple/purple-remote
@@ -50,7 +52,6 @@ REPLACE_PYTHON+= libpurple/purple-url-handler
. include "../../lang/python/application.mk"
.else
CONFIGURE_ARGS+= --disable-dbus
-PLIST_SUBST+= DBUS="@comment "
.endif
.if !empty(PKG_OPTIONS:Mdebug)