5a5140be39
srcdist.mk to make update simplicity.
19 lines
494 B
Makefile
19 lines
494 B
Makefile
# $NetBSD: srcdist.mk,v 1.34 2010/09/17 07:11:41 obache Exp $
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.sinclude "${.CURDIR}/${PYPKGSRCDIR}/dist.mk"
|
|
|
|
PYSUBDIR= ${DISTNAME}
|
|
WRKSRC= ${WRKDIR}/${PYSUBDIR}
|
|
|
|
.if defined(PYDISTUTILSPKG)
|
|
# This is used for standard modules shipped with Python but build as
|
|
# separate packages.
|
|
|
|
python-std-patchsetup:
|
|
${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
|
|
<${FILESDIR}/setup.py >${WRKSRC}/setup.py
|
|
|
|
post-extract: python-std-patchsetup
|
|
.endif
|