pkgsrc/x11/gnome2-applets/Makefile
wiz d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00

97 lines
3.1 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2005/07/21 16:30:00 wiz Exp $
#
DISTNAME= gnome-applets-2.10.1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-applets/2.10/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME2 panel applets
BUILD_USES_MSGFMT= YES
GNU_CONFIGURE= yes
USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKG_OPTIONS_VAR= PKG_OPTIONS.gnome2-applets
PKG_SUPPORTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
PKGCONFIG_OVERRIDE+= libgswitchit/gswitchit.pc.in
EGDIR= ${PREFIX}/share/examples/gnome-applets
CONF_FILES= ${EGDIR}/sound/events/mailcheck.soundlist \
${PKG_SYSCONFDIR}/sound/events/mailcheck.soundlist
GCONF2_SCHEMAS= charpick.schemas
GCONF2_SCHEMAS+= drivemount.schemas
GCONF2_SCHEMAS+= geyes.schemas
GCONF2_SCHEMAS+= gswitchit.schemas
GCONF2_SCHEMAS+= gtik.schemas
GCONF2_SCHEMAS+= gweather.schemas
GCONF2_SCHEMAS+= mini-commander-global.schemas
GCONF2_SCHEMAS+= mini-commander.schemas
GCONF2_SCHEMAS+= mixer.schemas
GCONF2_SCHEMAS+= multiload.schemas
GCONF2_SCHEMAS+= stickynotes.schemas
.include "../../mk/bsd.prefs.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \
(${OPSYS} == "NetBSD" && exists(/usr/include/machine/apmvar.h))
GCONF2_SCHEMAS+= battstat.schemas
PLIST_SUBST+= BATTSTAT=
CONF_FILES+= ${EGDIR}/sound/events/battstat_applet.soundlist \
${PKG_SYSCONFDIR}/sound/events/battstat_applet.soundlist
.else
PLIST_SUBST+= BATTSTAT="@comment "
CONFIGURE_ARGS+= --disable-battstat
.endif
PRINT_PLIST_AWK+= /[Bb]attstat/ { print "$${BATTSTAT}"$$0; next; }
.include "../../devel/GConf2/schemas.mk"
# This must come after GConf2's schemas.mk because it will modify default
# values for keys created during the registration of .schemas files.
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
BUILDLINK_DEPENDS.glib2+= glib2>=2.6.0
BUILDLINK_DEPENDS.libglade2+= libglade2>=2.4.0
.include "../../devel/gail/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../devel/libwnck/buildlink3.mk"
.include "../../devel/pkg-config/buildlink3.mk"
.include "../../fonts/gucharmap/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../multimedia/gstreamer/buildlink3.mk"
.include "../../multimedia/gst-plugins/buildlink3.mk"
.include "../../sysutils/gnome-vfs2/buildlink3.mk"
.include "../../sysutils/libgtop2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../x11/libxklavier/buildlink3.mk"
.include "../../x11/gnome-panel/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"