diff options
Diffstat (limited to 'misc/py-distutils/Makefile')
-rw-r--r-- | misc/py-distutils/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/misc/py-distutils/Makefile b/misc/py-distutils/Makefile index c72770d..e1ab0a4 100644 --- a/misc/py-distutils/Makefile +++ b/misc/py-distutils/Makefile @@ -14,19 +14,12 @@ DISTNAME= Distutils-${PORTVERSION} MAINTAINER= tg@FreeBSD.org -BUILD_DEPENDS= python:${PORTSDIR}/lang/python -RUN_DEPENDS= python:${PORTSDIR}/lang/python - -PLIST_SUB= PYVERSION="python${PYVERSION}" - -PYVERSION!= (python -c 'import string, sys; \ - print string.split(sys.version)[0][:3]') 2> /dev/null \ - || echo "1.5" +USE_PYTHON= yes do-build: - @(cd ${WRKSRC}; python setup.py build) + @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py build) do-install: - @(cd ${WRKSRC}; python setup.py install) + @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install) .include <bsd.port.mk> |