Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 10:06:49 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565217 - head/misc/pnpids
Message-ID:  <202102141006.11EA6nJ8037822@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Feb 14 10:06:48 2021
New Revision: 565217
URL: https://svnweb.freebsd.org/changeset/ports/565217

Log:
  misc/pnpids: also install pci and usb id files
  
  - These can be used by plasma5-kwin in the future

Modified:
  head/misc/pnpids/Makefile

Modified: head/misc/pnpids/Makefile
==============================================================================
--- head/misc/pnpids/Makefile	Sun Feb 14 09:55:42 2021	(r565216)
+++ head/misc/pnpids/Makefile	Sun Feb 14 10:06:48 2021	(r565217)
@@ -4,11 +4,12 @@
 PORTNAME=	pnpids
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.344
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	misc
 
 MAINTAINER=	gnome@FreeBSD.org
-COMMENT=	Database of IDs used in Plug and Play devices
+COMMENT=	Database of IDs used in PCI, PNP and USB devices
 
 LICENSE=	GPLv2+ MIT
 LICENSE_COMB=	dual
@@ -16,14 +17,18 @@ LICENSE_COMB=	dual
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=	${DATADIR}/pnp.ids
 
 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}/
-	${INSTALL_DATA} ${WRKSRC}/pnp.ids ${STAGEDIR}${DATADIR}/
+.for _id_file in ${_ID_FILES}
+	${INSTALL_DATA} ${WRKSRC}/${_id_file} ${STAGEDIR}${DATADIR}/
+.endfor
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102141006.11EA6nJ8037822>