summaryrefslogtreecommitdiff
path: root/chat/xchat
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/xchat
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/xchat')
-rw-r--r--chat/xchat/PLIST6
-rw-r--r--chat/xchat/options.mk7
2 files changed, 7 insertions, 6 deletions
diff --git a/chat/xchat/PLIST b/chat/xchat/PLIST
index d434ca70e1e..3f1850b7b95 100644
--- a/chat/xchat/PLIST
+++ b/chat/xchat/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.17 2007/09/25 10:54:10 hira Exp $
+@comment $NetBSD: PLIST,v 1.18 2008/04/12 22:42:58 jlam Exp $
bin/xchat
share/applications/xchat.desktop
-${GNOME}share/dbus-1/services/org.xchat.service.service
+${PLIST.dbus}share/dbus-1/services/org.xchat.service.service
share/doc/xchat/README
share/doc/xchat/faq.html
share/doc/xchat/plugin20.html
-${GNOME}share/gconf/schemas/apps_xchat_url_handler.schemas
+${PLIST.dbus}share/gconf/schemas/apps_xchat_url_handler.schemas
share/locale/be/LC_MESSAGES/xchat.mo
share/locale/ca/LC_MESSAGES/xchat.mo
share/locale/cs/LC_MESSAGES/xchat.mo
diff --git a/chat/xchat/options.mk b/chat/xchat/options.mk
index 7493b44d450..fb2d11ccce8 100644
--- a/chat/xchat/options.mk
+++ b/chat/xchat/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2007/09/25 15:38:54 hira Exp $
+# $NetBSD: options.mk,v 1.11 2008/04/12 22:42:58 jlam Exp $
.include "../../mk/bsd.prefs.mk"
@@ -11,6 +11,8 @@ PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= dbus
+
###
### Use OpenSSL libraries for connecting to ircs servers
###
@@ -49,7 +51,7 @@ CONFIGURE_ARGS+= --disable-shm
###
.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+= --enable-dbus
-PLIST_SUBST+= GNOME=""
+PLIST.dbus= yes
SUBST_CLASSES+= gconf
SUBST_STAGE.gconf+= pre-configure
SUBST_MESSAGE.gconf+= Disabling schema registration/installation.
@@ -61,7 +63,6 @@ USE_DIRS+= gnome2-1.5
.else
# We set this to ${FALSE} to avoid detection.
CONFIGURE_ARGS+= --disable-dbus
-PLIST_SUBST= GNOME="@comment "
USE_DIRS+= xdg-1.1
.endif