aboutsummaryrefslogtreecommitdiff
path: root/misc/pnpids/Makefile
blob: 7fc35f8107c6c7ea5ad482257092e6bf1ba88f60 (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
# Created by: Ting-Wei Lan <lantw44@gmail.com>
# $FreeBSD$

PORTNAME=	pnpids
DISTVERSIONPREFIX=	v
DISTVERSION=	0.344
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	misc

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Database of IDs used in PCI, PNP and USB devices

LICENSE=	GPLv2+ MIT
LICENSE_COMB=	dual

NO_ARCH=	yes
NO_BUILD=	yes


USE_GITHUB=	yes
GH_ACCOUNT=	vcrhonek
GH_PROJECT=	hwdata

_ID_FILES=	pci.ids pnp.ids usb.ids
PLIST_FILES=	${_ID_FILES:C,^,${DATADIR}/,}

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}/
.for _id_file in ${_ID_FILES}
	${INSTALL_DATA} ${WRKSRC}/${_id_file} ${STAGEDIR}${DATADIR}/
.endfor

.include <bsd.port.mk>