summaryrefslogtreecommitdiff
path: root/x11/gnome-panel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-panel/Makefile')
-rw-r--r--x11/gnome-panel/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index f276befd123..62df88f211f 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.102 2008/10/24 22:49:53 wiz Exp $
+# $NetBSD: Makefile,v 1.103 2008/11/23 17:32:12 jmcneill Exp $
#
DISTNAME= gnome-panel-2.24.1
+PKGREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-panel/2.24/}
EXTRACT_SUFX= .tar.bz2
@@ -12,6 +13,10 @@ COMMENT= GNOME2 panel application
PKG_DESTDIR_SUPPORT= user-destdir
+EGDIR= ${PREFIX}/share/examples/gnome-panel
+CONF_FILES+= ${PREFIX}/share/examples/gnome-panel/org.gnome.ClockApplet.Mechanism.conf \
+ ${PKG_SYSCONFDIR}/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
+
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake intltool msgfmt perl:run pkg-config
@@ -37,10 +42,18 @@ BUILDLINK_API_DEPENDS.libglade+= libglade>=2.5.0
BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.13.0
PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-panel
-PKG_SUPPORTED_OPTIONS= evolution
-PKG_SUGGESTED_OPTIONS= evolution
+PKG_SUPPORTED_OPTIONS= evolution hal
+PKG_SUGGESTED_OPTIONS= evolution hal
+PLIST_VARS+= hal
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mhal)
+.include "../../security/policykit/buildlink3.mk"
+.include "../../security/policykit-gnome/buildlink3.mk"
+.include "../../sysutils/hal/buildlink3.mk"
+PLIST.hal= yes
+.endif
+
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../devel/GConf/schemas.mk"