pkgsrc/sysutils/system-tools-backends/Makefile
wiz 7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00

58 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2014/05/29 23:37:32 wiz Exp $
#
DISTNAME= system-tools-backends-2.6.1
PKGREVISION= 11
CATEGORIES= sysutils
MASTER_SITES= http://system-tools-backends.freedesktop.org/downloads/2.6/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://system-tools-backends.freedesktop.org/
COMMENT= DBus interface for system configuration
PKG_OPTIONS_VAR= PKG_OPTIONS.system-tools-backends
PKG_SUPPORTED_OPTIONS+= hal
PKG_SUGGESTED_OPTIONS+= hal
PLIST_VARS+= hal
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mhal)
.include "../../security/policykit/buildlink3.mk"
.include "../../sysutils/hal/buildlink3.mk"
PLIST.hal= yes
.endif
EGDIR= ${PREFIX}/share/examples/system-tools-backends
CONF_FILES+= ${EGDIR}/system-tools-backends.conf ${PKG_SYSCONFDIR}/dbus-1/system.d/system-tools-backends.conf
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake intltool msgfmt perl pkg-config
USE_LIBTOOL= YES
STB_GROUP?= stb-admin
PKG_GROUPS= ${STB_GROUP}
PKG_GROUPS_VARS+= STB_GROUP
CONFIGURE_ARGS+= --with-stb-group=${STB_GROUP}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-dbus-sys=${EGDIR}
DEPENDS+= p5-XML-Twig>=3.32:../../textproc/p5-XML-Twig
DEPENDS+= p5-Net-DBus>=0.33.6:../../net/p5-Net-DBus
DEPENDS+= p5-libwww>=5.820:../../www/p5-libwww
DEPENDS+= p5-URI>=1.37:../../www/p5-URI
REPLACE_PERL+= SystemToolsBackends.pl.in
REPLACE_PERL+= Utils/*.pm
SUBST_CLASSES+= gettext-package
SUBST_STAGE.gettext-package= post-configure
SUBST_FILES.gettext-package= po/Makefile
SUBST_SED.gettext-package= -e 's|@GETTEXT_PACKAGE@|system-tools-backends|g'
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"