misc/hwdata: move data files to canonical place (+)

Install all data files under ${PREFIX}/share/hwdata unstead of ${PREFIX}/share/hwdata/hwdata
This is a canonical place to search data by consumers

Sponsored by:	Future Crew, LLC
This commit is contained in:
Dima Panov
2024-11-25 10:39:11 +03:00
parent acf5d029a9
commit 565ed2b60b
2 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
PORTNAME= hwdata
DISTVERSIONPREFIX= v
DISTVERSION= 0.389
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc
@@ -18,7 +19,7 @@ USE_GITHUB= yes
GH_ACCOUNT= vcrhonek
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--datadir=${DATADIR}
--datarootdir=${PREFIX}/share
BINARY_ALIAS= install=ginstall

View File

@@ -1,6 +1,6 @@
libdata/pkgconfig/hwdata.pc
%%DATADIR%%/hwdata/iab.txt
%%DATADIR%%/hwdata/oui.txt
%%DATADIR%%/hwdata/pci.ids
%%DATADIR%%/hwdata/pnp.ids
%%DATADIR%%/hwdata/usb.ids
%%DATADIR%%/iab.txt
%%DATADIR%%/oui.txt
%%DATADIR%%/pci.ids
%%DATADIR%%/pnp.ids
%%DATADIR%%/usb.ids