# $NetBSD: Makefile,v 1.9 2020/11/26 11:05:22 adam Exp $ DISTNAME= pyserial-3.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} CATEGORIES= comms python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyserial/} MAINTAINER= tsarna@NetBSD.org HOMEPAGE= https://github.com/pyserial/pyserial COMMENT= Python Serial Port Extension LICENSE= modified-bsd CONFLICTS+= ${PYPKGPREFIX}-pyserial-[0-9]* USE_LANGUAGES= # none REPLACE_PYTHON= serial/*.py serial/*/*.py post-install: .for bin in pyserial-miniterm pyserial-ports cd ${DESTDIR}${PREFIX}/bin && \ ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} .endfor .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"