| @@ -1,40 +1,38 @@ | | | @@ -1,40 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.1 2023/07/08 22:15:42 vins Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2023/07/10 10:35:20 vins Exp $ |
2 | | | 2 | |
3 | DISTNAME= hw-probe | | 3 | DISTNAME= hw-probe |
4 | PKGNAME= hw-probe-1.6 | | 4 | PKGNAME= hw-probe-1.6 |
5 | CATEGORIES= sysutils perl5 | | 5 | CATEGORIES= sysutils perl5 |
6 | MASTER_SITES= http://bsd-hardware.info/ | | 6 | MASTER_SITES= http://bsd-hardware.info/ |
7 | DIST_SUBDIR= ${PKGNAME_NOREV} | | 7 | DIST_SUBDIR= ${PKGNAME_NOREV} |
8 | EXTRACT_SUFX= # empty | | 8 | EXTRACT_SUFX= # empty |
9 | | | 9 | |
10 | MAINTAINER= vins@NetBSD.org | | 10 | MAINTAINER= vins@NetBSD.org |
11 | HOMEPAGE= https://bsd-hardware.info/ | | 11 | HOMEPAGE= https://bsd-hardware.info/ |
12 | COMMENT= Check operability of computer hardware and find drivers | | 12 | COMMENT= Check operability of computer hardware and find drivers |
13 | LICENSE= gnu-lgpl-v2.1 OR original-bsd | | 13 | LICENSE= gnu-lgpl-v2.1 OR original-bsd |
14 | | | 14 | |
15 | ONLY_FOR_PLATFORM+= FreeBSD-*-* OpenBSD-*-* NetBSD-*-* DragonFly-*-* | | 15 | ONLY_FOR_PLATFORM+= FreeBSD-*-* OpenBSD-*-* NetBSD-*-* DragonFly-*-* |
16 | | | 16 | |
17 | DEPENDS+= curl-[0-9]*:../../www/curl | | 17 | DEPENDS+= curl-[0-9]*:../../www/curl |
18 | DEPENDS+= usbutil-[0-9]*:../../sysutils/usbutil | | 18 | DEPENDS+= usbutil-[0-9]*:../../sysutils/usbutil |
19 | DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts | | 19 | DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts |
20 | DEPENDS+= smartmontools-[0-9]*:../../sysutils/smartmontools | | 20 | DEPENDS+= smartmontools-[0-9]*:../../sysutils/smartmontools |
21 | | | 21 | |
22 | USE_TOOLS+= perl:run | | 22 | USE_TOOLS+= perl:run |
23 | | | 23 | |
24 | REPLACE_PERL+= hw-probe | | 24 | REPLACE_PERL+= hw-probe |
25 | | | 25 | |
26 | USE_TOOLS+= perl:run | | | |
27 | | | | |
28 | INSTALLATION_DIRS+= bin | | 26 | INSTALLATION_DIRS+= bin |
29 | | | 27 | |
30 | NO_BUILD= yes | | 28 | NO_BUILD= yes |
31 | | | 29 | |
32 | WRKSRC= ${WRKDIR} | | 30 | WRKSRC= ${WRKDIR} |
33 | | | 31 | |
34 | .include "../../mk/bsd.prefs.mk" | | 32 | .include "../../mk/bsd.prefs.mk" |
35 | | | 33 | |
36 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "aarch64") | | 34 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "aarch64") |
37 | DEPENDS+= dmidecode-[0-9]*:../../sysutils/dmidecode | | 35 | DEPENDS+= dmidecode-[0-9]*:../../sysutils/dmidecode |
38 | .endif | | 36 | .endif |
39 | | | 37 | |
40 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") | | 38 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") |