diff options
author | tg <tg@FreeBSD.org> | 2000-09-08 19:58:52 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2000-09-08 19:58:52 +0800 |
commit | c905a2e4ae7196e407762028897a5572663c9321 (patch) | |
tree | d781b812c213451607976bf2bbaadc5cf2f14e9e /misc/py-distutils/Makefile | |
parent | 2ac06afaea3ff2da9717a8813fc81fcd2c7e7c90 (diff) | |
download | freebsd-ports-gnome-c905a2e4ae7196e407762028897a5572663c9321.tar.gz freebsd-ports-gnome-c905a2e4ae7196e407762028897a5572663c9321.tar.zst freebsd-ports-gnome-c905a2e4ae7196e407762028897a5572663c9321.zip |
Update to use bsd.python.mk.
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 c72770de15dc..e1ab0a4f40b4 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> |