aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-distutils/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-09-04 20:28:11 +0800
committertg <tg@FreeBSD.org>2000-09-04 20:28:11 +0800
commite4a32666d228873ca9a66add414650a834c88998 (patch)
treeda1cb79c131727ad8830382dbdddaba25f559ebb /misc/py-distutils/Makefile
parent69fdc2d079d1fd5fca4f7c463323e331a2abdadf (diff)
downloadfreebsd-ports-gnome-e4a32666d228873ca9a66add414650a834c88998.tar.gz
freebsd-ports-gnome-e4a32666d228873ca9a66add414650a834c88998.tar.zst
freebsd-ports-gnome-e4a32666d228873ca9a66add414650a834c88998.zip
Upgrade to 0.9.1.
Diffstat (limited to 'misc/py-distutils/Makefile')
-rw-r--r--misc/py-distutils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/py-distutils/Makefile b/misc/py-distutils/Makefile
index bde72c696b6f..35cf8746e43c 100644
--- a/misc/py-distutils/Makefile
+++ b/misc/py-distutils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= distutils
-PORTVERSION= 0.9
+PORTVERSION= 0.9.1
CATEGORIES= misc python
MASTER_SITES= http://www.python.org/sigs/distutils-sig/download/
PKGNAMEPREFIX= py-
@@ -17,6 +17,10 @@ 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]' || echo "1.5"
+
do-build:
@(cd ${WRKSRC}; python setup.py build)