svn commit: r565217 - head/misc/pnpids

Tobias C. Berner tcberner at FreeBSD.org
Sun Feb 14 10:06:49 UTC 2021


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 at 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>


More information about the svn-ports-all mailing list