From f630c9bcbd848354e69d842bc41d8bdf9199902e Mon Sep 17 00:00:00 2001
From: Nicola Vitale <nivit@FreeBSD.org>
Date: Wed, 17 Jan 2007 18:03:07 +0000
Subject: [PATCH] - Use the new variable PYTHON_VER (available now in
 bsd.python.mk)   for the Python egg

Approved by:	alexbl (mentor, implicit)
---
 devel/py-kid/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/py-kid/Makefile b/devel/py-kid/Makefile
index 0a3e2c4cce99..3247c0417c2f 100644
--- a/devel/py-kid/Makefile
+++ b/devel/py-kid/Makefile
@@ -34,7 +34,7 @@ DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 PORTDOCS=	*
 
-PYKID_EGG=	${PORTNAME}-${PYKID_VER}-py${PYTHON_VERSION:S/^python//}.egg
+PYKID_EGG=	${PORTNAME}-${PYKID_VER}-py${PYTHON_VER}.egg
 PYKID_VER=	${PORTVERSION}
 
 SETUP_CFG=	setup.cfg
@@ -55,9 +55,9 @@ post-install:
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} >= 250
-PYTHON_OLD= "@comment "
+PYTHON_OLD=	"@comment "
 .else
-PYTHON_OLD= ""
+PYTHON_OLD=	""
 .endif
 
 .include <bsd.port.post.mk>