blob: 038f928c5b5f26bea1f449aba7a469f9ed052764 (
plain)
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
|
# New ports collection makefile for: libpci
# Date created: June 14, 2003
# Whom: Samy Al Bahra <samy@kerneled.org>
#
# $FreeBSD$
#
PORTNAME= libpci
PORTVERSION= 2.2.8
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
ftp://ftp.kernel.org/pub/software/utils/pciutils/ \
ftp://metalab.unc.edu/pub/Linux/hardware/
DISTNAME= pciutils-${PORTVERSION}
MAINTAINER= sbahra@gwu.edu
COMMENT= PCI configuration space I/O made easy
USE_GMAKE= yes
NO_INSTALL_MANPAGES= yes
INSTALLS_SHLIB= yes
MAKE_ENV= LANG=C
ALL_TARGET= lib/libpci.a
post-build:
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/pci.h
do-install:
@(${INSTALL_DATA} ${WRKSRC}/lib/libpci.so ${PREFIX}/lib/libpci.so.2)
@(${INSTALL_DATA} ${WRKSRC}/lib/libpci.a ${PREFIX}/lib/libpci.a)
@(${LN} -sf ${PREFIX}/lib/libpci.so.2 ${PREFIX}/lib/libpci.so)
@(${MKDIR} ${PREFIX}/include/pci)
@(${INSTALL_DATA} ${WRKSRC}/lib/config.h ${PREFIX}/include/pci/config.h)
@(${INSTALL_DATA} ${WRKSRC}/lib/header.h ${PREFIX}/include/pci/header.h)
@(${INSTALL_DATA} ${WRKSRC}/lib/pci.h ${PREFIX}/include/pci/pci.h)
@(${INSTALL_DATA} ${WRKSRC}/lib/types.h ${PREFIX}/include/pci/types.h)
.include <bsd.port.mk>
|