aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pciutils/Makefile
blob: fc7f12b83011ea07922c42519aec68e4f1e797ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    pciutils
# Date created:             June 12, 2003
# Whom:                 Samy Al Bahra <samy@kerneled.com>
#
# $FreeBSD$
#

PORTNAME=   pciutils
PORTVERSION=    2.1.11
CATEGORIES= sysutils
MASTER_SITES=   http://www.kerneled.com/freebsd/ports/ \
        ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
        ftp://ftp.kernel.org/pub/software/utils/pciutils/

MAINTAINER= samy@kerneled.com
COMMENT=    PCI configuration utilities

USE_BZIP2=  yes
USE_GMAKE=  yes

MAN8=       lspci.8 setpci.8 update-pciids.8

pre-everything::
    @${ECHO} ""
    @${ECHO} "              W  A  R  N  I  N  G"
    @${ECHO} "************************************************"
    @${ECHO} "* pciutils requires that you have your kernel  *"
    @${ECHO} "* sources installed. If your kernel sources    *"
    @${ECHO} "* are somewhere other than /usr/src/sys, you   *"
    @${ECHO} "* may set the FREEBSD_SYS variable to the      *"
    @${ECHO} "* correct path.                                *"
    @${ECHO} "************************************************"
    @${ECHO} ""

do-install:
    @${INSTALL_MAN} ${WRKSRC}/lspci.8 ${PREFIX}/man/man8
    @${INSTALL_MAN} ${WRKSRC}/setpci.8 ${PREFIX}/man/man8
    @${INSTALL_MAN} ${WRKSRC}/update-pciids.8 ${PREFIX}/man/man8
    @${INSTALL_PROGRAM} ${WRKSRC}/lspci ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/setpci ${PREFIX}/bin
    @${INSTALL_SCRIPT} ${WRKSRC}/update-pciids ${PREFIX}/sbin
    @${INSTALL_DATA} ${WRKSRC}/pci.ids ${PREFIX}/share

.include <bsd.port.mk>