# $NetBSD: Makefile,v 1.19 2017/01/01 08:27:18 ryoon Exp $ DISTNAME= psutil-release-5.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-release//} CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=giampaolo/} GITHUB_PROJECT= psutil GITHUB_TAG= release-${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/giampaolo/psutil COMMENT= Cross-platform process and system utilities module for Python LICENSE= modified-bsd REPLACE_PYTHON= psutil/*py EGG_NAME= psutil-${PKGVERSION_NOREV} .include "../../mk/bsd.prefs.mk" # facilitate PLIST processing .if ${OPSYS} == "Darwin" PLIST_SUBST+= SYSTEM=osx .elif !empty(OPSYS:M*BSD) PLIST_SUBST+= SYSTEM=bsd .else PLIST_SUBST+= SYSTEM=${OPSYS:tl} .endif .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"