pkgsrc/sysutils/libdevkit-gobject/Makefile

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2015/08/23 20:34:07 wiz Exp $
DISTNAME= DeviceKit-003
PKGNAME= ${DISTNAME:S/DeviceKit/libdevkit-gobject/}
PKGREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/wiki/Software/DeviceKit
COMMENT= Modular hardware abstraction layer
LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake pkg-config gmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
# needs udev support, which currently only exists on Linux
# for NetBSD, use the devkitd package
# XXX: fix PLIST for Linux
CONFIGURE_ARGS+= --disable-devkitd
.endif
PKGCONFIG_OVERRIDE+= src/devkit-gobject/devkit-gobject.pc.in
pre-configure:
cd ${WRKSRC} && autoreconf
BUILDLINK_DEPMETHOD.libxslt= build
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"