pkgsrc/sysutils/pciutils/Makefile
msaitoh 42eb5e5a11 Update sysutils/pciutils to 3.6.2.
2018-08-12  Martin Mares <mj@ucw.cz>

	* Released as 3.6.2.

	* Added "-P" and "-PP" switches to lspci, which display the path
	  through bridges to each device.

	* Fixed a couple of bugs in computation of bus topology. It was
	  previously used only for the tree display, but we re-use it for
	  computing the paths.

	* As usually, updated pci.ids to the current snapshot of the database.
2018-08-17 04:03:28 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.41 2018/08/17 04:03:28 msaitoh Exp $
DISTNAME= pciutils-3.6.2
CATEGORIES= sysutils
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
MASTER_SITES+= https://www.kernel.org/pub/software/utils/pciutils/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mj.ucw.cz/pciutils.shtml
COMMENT= PCI bus manipulation utility similar to NetBSD pcictl(8)
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
ONLY_FOR_PLATFORM= AIX-*-* Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-* SunOS-5.11-* Haiku-*-*
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
INSTALL_TARGET= install install-lib
USE_TOOLS+= gmake pkg-config
REPLACE_SH= *.sh
PKGCONFIG_OVERRIDE= lib/libpci.pc.in
OPSYSVARS+= PCIUTILS_LIBNAME
PCIUTILS_LIBNAME.NetBSD= pciutils
PCIUTILS_LIBNAME.*= pci
PLIST_SUBST+= PCIUTILS_LIBNAME=${PCIUTILS_LIBNAME}
SUBST_CLASSES= pc
SUBST_FILES.pc= lib/libpci.pc.in
SUBST_MESSAGE.pc= Fixing library link specification in pkg-config file.
SUBST_STAGE.pc= pre-configure
SUBST_VARS.pc= PCIUTILS_LIBNAME
SUBST_CLASSES.SunOS+= dns
SUBST_MESSAGE.dns= Disabling DNS support on Solaris
SUBST_STAGE.dns= pre-configure
SUBST_FILES.dns= Makefile
SUBST_SED.dns= -e 's/^DNS=/DNS=no/'
.include "../../mk/bsd.pkg.mk"