ports/sysutils/pciutils/Makefile

38 lines
705 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
NOT_FOR_ARCHS = m88k
COMMENT = PCI bus configuration register access tools
2023-08-18 18:38:43 +00:00
DISTNAME = pciutils-3.10.0
2023-08-16 22:26:55 +00:00
CATEGORIES = sysutils
HOMEPAGE = https://mj.ucw.cz/sw/pciutils/
MAINTAINER = Jonathan Gray <jsg@openbsd.org>
# GPL
PERMIT_PACKAGE = Yes
WANTLIB = c z
MASTER_SITES = https://www.kernel.org/pub/software/utils/pciutils/ \
https://mj.ucw.cz/download/linux/pci/
USE_GMAKE = Yes
MAKE_FLAGS = CC="${CC}" OPT="${CFLAGS}"
FAKE_FLAGS = PREFIX=${TRUEPREFIX} MANDIR=${TRUEPREFIX}/man
NO_TEST = Yes
INSTALL_TARGET = install install-lib
post-install:
rm ${PREFIX}/man/man7/pcilib.7
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
.include <bsd.port.mk>