1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/sysutils/pciutils/Makefile
Sunpoet Po-Chuan Hsieh 735350905b - Update to 3.2.1
- Update MASTER_SITES
- Update WWW

Changes:	http://git.kernel.org/cgit/utils/pciutils/pciutils.git/tree/ChangeLog
2013-11-11 17:17:51 +00:00

37 lines
965 B
Makefile

# Created by: Samy Al Bahra <samy@kerneled.org>
# $FreeBSD$
PORTNAME= pciutils
PORTVERSION= 3.2.1
CATEGORIES= sysutils
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PCI configuration utilities
LICENSE= GPLv2
LIB_DEPENDS= libpci.so:${PORTSDIR}/devel/libpci
RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids
ALL_TARGET= lspci lspci.8 setpci setpci.8
CPPFLAGS+= -fPIC
LDFLAGS+= -L${LOCALBASE}/lib -lpci
MAKE_ENV= LANG=C
USES= gmake
PLIST_FILES= bin/lspci \
bin/setpci \
man/man8/lspci.8.gz \
man/man8/setpci.8.gz
post-patch:
@${REINPLACE_CMD} -e '/^CC=/d; /^CFLAGS=/ s|=|+=|; /^IDSDIR=/ s|$$|/pciids|; /^OPT=/d; /^PREFIX=/d; s| lib/$$(PCILIB)||' ${WRKSRC}/Makefile
do-install:
cd ${WRKSRC}/ && ${INSTALL_PROGRAM} lspci setpci ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/ && ${INSTALL_MAN} lspci.8 setpci.8 ${STAGEDIR}${PREFIX}/man/man8/
.include <bsd.port.mk>