pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/matchbox-panel Don't assume the battery plugin is ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/36d1adf8c6d9
branches: trunk
changeset: 515012:36d1adf8c6d9
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jun 21 22:05:02 2006 +0000
description:
Don't assume the battery plugin is built on DragonFly for now.
diffstat:
x11/matchbox-panel/Makefile | 10 +++++++++-
x11/matchbox-panel/PLIST | 6 +++---
2 files changed, 12 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r f9733286209a -r 36d1adf8c6d9 x11/matchbox-panel/Makefile
--- a/x11/matchbox-panel/Makefile Wed Jun 21 21:53:30 2006 +0000
+++ b/x11/matchbox-panel/Makefile Wed Jun 21 22:05:02 2006 +0000
@@ -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-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 -r f9733286209a -r 36d1adf8c6d9 x11/matchbox-panel/PLIST
--- a/x11/matchbox-panel/PLIST Wed Jun 21 21:53:30 2006 +0000
+++ b/x11/matchbox-panel/PLIST Wed Jun 21 22:05:02 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index