summaryrefslogtreecommitdiff
path: root/sysutils/py-cpuinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-cpuinfo/Makefile')
-rw-r--r--sysutils/py-cpuinfo/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/py-cpuinfo/Makefile b/sysutils/py-cpuinfo/Makefile
index 5d3f2547365..4619f2066ce 100644
--- a/sysutils/py-cpuinfo/Makefile
+++ b/sysutils/py-cpuinfo/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:47 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:22 wiz Exp $
DISTNAME= py-cpuinfo-8.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py-//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/py-cpuinfo/}
@@ -13,6 +13,8 @@ LICENSE= mit
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} cpuinfo cpuinfo-${PYVERSSUFFIX} || ${TRUE}