summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorobache <obache>2010-09-17 07:11:41 +0000
committerobache <obache>2010-09-17 07:11:41 +0000
commitfce6899225771f705476c3a8ff04dd8ebe0ce4c9 (patch)
tree3431d01818a5a9eed9f4285c30f6c792e64eea0f /lang/python24
parent34dd766cf69b73a953942f7788fb28548d02155e (diff)
downloadpkgsrc-fce6899225771f705476c3a8ff04dd8ebe0ce4c9.tar.gz
Share distfile related information for each python variants with
srcdist.mk to make update simplicity.
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile11
-rw-r--r--lang/python24/dist.mk8
2 files changed, 12 insertions, 7 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 0504ef87edd..1ec076e4375 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.52 2010/01/21 16:28:51 heinz Exp $
+# $NetBSD: Makefile,v 1.53 2010/09/17 07:11:41 obache Exp $
-DISTNAME= Python-2.4.5
-PKGNAME= python24-2.4.5
+.include "dist.mk"
+
+PKGNAME= python24-${PY_DISTVERSION}
PKGREVISION= 6
CATEGORIES= lang python
-MASTER_SITES= http://www.python.org/ftp/python/2.4.5/
-EXTRACT_SUFX= .tar.bz2
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.python.org/
@@ -14,8 +13,6 @@ LICENSE= python-software-foundation
PKG_DESTDIR_SUPPORT= user-destdir
-# Remember to update pkgsrc/lang/python/srcdist.mk when version changes
-
CONFLICTS+= python-[0-9]*
GNU_CONFIGURE= yes
diff --git a/lang/python24/dist.mk b/lang/python24/dist.mk
new file mode 100644
index 00000000000..4296afb26e6
--- /dev/null
+++ b/lang/python24/dist.mk
@@ -0,0 +1,8 @@
+# $NetBSD: dist.mk,v 1.1 2010/09/17 07:11:41 obache Exp $
+
+PY_DISTVERSION= 2.4.5
+DISTNAME= Python-${PY_DISTVERSION}
+EXTRACT_SUFX= .tar.bz2
+DISTINFO_FILE= ${.CURDIR}/../../lang/python24/distinfo
+PATCHDIR= ${.CURDIR}/../../lang/python24/patches
+MASTER_SITES= http://www.python.org/ftp/python/${PY_DISTVERSION}/