Edit

IABSD.fr/ports/sysutils/pciutils/Makefile

Branch :

  • Show log

    Commit

  • Author : jsg
    Date : 2024-03-22 08:29:15
    Hash : eb3da3df
    Message : update to pciutils 3.11.1

  • sysutils/pciutils/Makefile
  • NOT_FOR_ARCHS =		m88k
    
    COMMENT =		PCI bus configuration register access tools
    
    DISTNAME =		pciutils-3.11.1
    CATEGORIES =		sysutils
    
    HOMEPAGE =		https://mj.ucw.cz/sw/pciutils/
    
    MAINTAINER =		Jonathan Gray <jsg@openbsd.org>
    
    # GPL
    PERMIT_PACKAGE =	Yes
    
    WANTLIB =		c z
    
    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>