1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/libpci/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

40 lines
1.2 KiB
Makefile

# 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
USE_LDCONFIG= 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>