summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-21 22:05:02 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-21 22:05:02 +0000
commit0269db7fad702f21207e9edb05cf97c7c3e81cf5 (patch)
tree62d67c30b3eedd65ff2f494b91de6c184f0dfa4d /x11
parent49067266b9a0c521ee6b94fdfcd1533a905e55d9 (diff)
downloadpkgsrc-0269db7fad702f21207e9edb05cf97c7c3e81cf5.tar.gz
Don't assume the battery plugin is built on DragonFly for now.
Diffstat (limited to 'x11')
-rw-r--r--x11/matchbox-panel/Makefile10
-rw-r--r--x11/matchbox-panel/PLIST6
2 files changed, 12 insertions, 4 deletions
diff --git a/x11/matchbox-panel/Makefile b/x11/matchbox-panel/Makefile
index dc885002d6b..b67d749c716 100644
--- a/x11/matchbox-panel/Makefile
+++ b/x11/matchbox-panel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/11 14:44:00 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2006/06/21 22:05:02 joerg Exp $
#
DISTNAME= matchbox-panel-0.9.2
@@ -24,6 +24,14 @@ CONFIGURE_ARGS+= --enable-small-icons
CONFIGURE_ARGS+= --enable-startup-notification
CONFIGURE_ARGS+= --enable-nls
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+PLIST_SUBST+= COND_APM="@comment "
+.else
+PLIST_SUBST+= COND_APM=""
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"
.include "../../devel/libmatchbox/buildlink3.mk"
diff --git a/x11/matchbox-panel/PLIST b/x11/matchbox-panel/PLIST
index a0dc2e65d82..729dd9ad4e1 100644
--- a/x11/matchbox-panel/PLIST
+++ b/x11/matchbox-panel/PLIST
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2006/04/17 07:07:49 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/06/21 22:05:02 joerg Exp $
bin/matchbox-panel
-bin/mb-applet-battery
+${COND_APM}bin/mb-applet-battery
bin/mb-applet-clock
bin/mb-applet-launcher
bin/mb-applet-menu-launcher
bin/mb-applet-system-monitor
bin/mb-applet-xterm-wrapper.sh
-share/applications/mb-applet-battery.desktop
+${COND_APM}share/applications/mb-applet-battery.desktop
share/applications/mb-applet-clock.desktop
share/applications/mb-applet-menu-launcher.desktop
share/applications/mb-applet-system-monitor.desktop