pkgsrc/lang/py-pythonz/Makefile
2014-05-09 07:36:53 +00:00

27 lines
891 B
Makefile

# $NetBSD: Makefile,v 1.4 2014/05/09 07:37:10 wiz Exp $
DISTNAME= pythonz-1.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= lang python
MASTER_SITES= https://github.com/saghul/pythonz/archive/
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= https://github.com/saghul/pythonz/
COMMENT= Installation manager supporting CPython, Stackless, PyPy and Jython
LICENSE= mit
WRKSRC= ${WRKDIR}/pythonz-${DISTNAME}
USE_LANGUAGES= # none
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 1.2.1
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/pythonz \
${DESTDIR}${PREFIX}/bin/pythonz${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/pythonz_install \
${DESTDIR}${PREFIX}/bin/pythonz_install${PYVERSSUFFIX}
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/pythonz/patches/osx/python25/*
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"