25 lines
673 B
Makefile
25 lines
673 B
Makefile
# $NetBSD: Makefile,v 1.8 2020/03/22 22:57:33 rillig Exp $
|
|
|
|
DISTNAME= pyserial-3.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
|
PKGREVISION= 1
|
|
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:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} miniterm.py miniterm${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|