aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-01-18 02:03:07 +0800
committernivit <nivit@FreeBSD.org>2007-01-18 02:03:07 +0800
commita9c6255663ccf2ec78778e757f9488147907cb9b (patch)
treed330f43b7eac9881f58f1e204905e8f9934a84ad
parentfb7bb6c099d0d3866536b0bb2b10c5b841cbd801 (diff)
downloadfreebsd-ports-graphics-a9c6255663ccf2ec78778e757f9488147907cb9b.tar.gz
freebsd-ports-graphics-a9c6255663ccf2ec78778e757f9488147907cb9b.tar.zst
freebsd-ports-graphics-a9c6255663ccf2ec78778e757f9488147907cb9b.zip
- Use the new variable PYTHON_VER (available now in bsd.python.mk)
for the Python egg Approved by: alexbl (mentor, implicit)
-rw-r--r--devel/py-kid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/py-kid/Makefile b/devel/py-kid/Makefile
index 0a3e2c4cce9..3247c0417c2 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>