aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-02-14 10:06:48 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-02-14 10:06:48 +0000
commit73364c4d5b2627a5913222f24255640edf55e9f1 (patch)
treec637a4487ae86de459dbb5d2131e4e8fca5969ec
parent6a404e502b11ffc3f5f5f904dc4351d8297b0e40 (diff)
downloadports-73364c4d5b2627a5913222f24255640edf55e9f1.tar.gz
ports-73364c4d5b2627a5913222f24255640edf55e9f1.zip
misc/pnpids: also install pci and usb id files
- These can be used by plasma5-kwin in the future
Notes
Notes: svn path=/head/; revision=565217
-rw-r--r--misc/pnpids/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/pnpids/Makefile b/misc/pnpids/Makefile
index d834ff7687ca..7fc35f8107c6 100644
--- a/misc/pnpids/Makefile
+++ b/misc/pnpids/Makefile
@@ -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>