summaryrefslogtreecommitdiff
path: root/lang/python23-nth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python23-nth/Makefile')
-rw-r--r--lang/python23-nth/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/python23-nth/Makefile b/lang/python23-nth/Makefile
index 026ff9d9132..0cab3c5879f 100644
--- a/lang/python23-nth/Makefile
+++ b/lang/python23-nth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/12/08 09:52:15 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2006/01/09 23:26:09 joerg Exp $
#
PKGNAME= python23-nth-2.3.5
@@ -10,4 +10,14 @@ CONFIGURE_ARGS+= --without-threads
PY_VER_SUFFIX= 2n3
+DISTINFO_FILE= ${.CURDIR}/../../lang/python23/distinfo
+PATCHDIR= ${.CURDIR}/../../lang/python23/patches
+
+SUBST_CLASSES+= version
+SUBST_FILES.version= configure Include/patchlevel.h setup.py
+SUBST_SED.version+= -e 's,VERSION=2\.3,VERSION=2n3,g'
+SUBST_SED.version+= -e 's,\(PY_VERSION.*\)2\.3,\12n3,g'
+SUBST_SED.version+= -e 's,pydoc2\.3,pydoc2n3,g'
+SUBST_STAGE.version= pre-configure
+
.include "../../lang/python23/Makefile.common"