File:  [cvs.NetBSD.org] / pkgsrc / lang / py-cxfreeze / Makefile
Revision 1.17: download - view: text, annotated - select for diffs
Mon Nov 14 19:19:57 2022 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: HEAD
py-cxfreeze: not for python 2

# $NetBSD: Makefile,v 1.17 2022/11/14 19:19:57 wiz Exp $

DISTNAME=	cx_Freeze-6.13.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_F/f/}
CATEGORIES=	lang python
MASTER_SITES=	${MASTER_SITE_PYPI:=c/cx_Freeze/}

MAINTAINER=	helgoman@users.sourceforge.net
HOMEPAGE=	http://cx-freeze.sourceforge.net/
COMMENT=	Freezing python scripts into executables
LICENSE=	python-software-foundation

PYTHON_VERSIONS_INCOMPATIBLE=	27

REPLACE_PYTHON=	cx_Freeze/samples/PyQt5/PyQt5app.py

post-install:
	cd ${DESTDIR}${PREFIX}/bin && mv cxfreeze cxfreeze-${PYVERSSUFFIX} || ${TRUE}
	cd ${DESTDIR}${PREFIX}/bin && mv cxfreeze-quickstart cxfreeze-quickstart-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>