c7ff05f63e
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
32 lines
977 B
Makefile
32 lines
977 B
Makefile
# $NetBSD: Makefile,v 1.16 2019/05/23 19:23:16 rillig Exp $
|
|
|
|
DISTNAME= tlslite-0.4.9
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= security python
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=trevp/}
|
|
|
|
GITHUB_PROJECT= tlslite
|
|
GITHUB_TAG= cd82fadb6bb958522b7457c5ed95890283437a4f
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://trevp.net/tlslite/
|
|
COMMENT= SSL 3.0, TLS 1.0, and TLS 1.1 in Python
|
|
LICENSE= public-domain
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-extract:
|
|
mv ${WRKSRC}/scripts/tls.py ${WRKSRC}/scripts/tls${PYVERSSUFFIX}.py
|
|
mv ${WRKSRC}/scripts/tlsdb.py ${WRKSRC}/scripts/tlsdb${PYVERSSUFFIX}.py
|
|
|
|
REPLACE_PYTHON= setup.py tests/httpsclient.py tests/tlstest.py
|
|
|
|
SUBST_CLASSES+= pyclash
|
|
SUBST_STAGE.pyclash= do-configure
|
|
SUBST_FILES.pyclash= setup.py tests/tlstest.py tests/httpsserver.sh
|
|
SUBST_VARS.pyclash= PYTHONBIN
|
|
SUBST_VARS.pyclash+= PYVERSSUFFIX
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|