diff options
author | obache <obache@pkgsrc.org> | 2010-09-17 07:11:41 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-09-17 07:11:41 +0000 |
commit | d910142d08a36fd759df14d88359d212eca53883 (patch) | |
tree | 3431d01818a5a9eed9f4285c30f6c792e64eea0f /lang/python24 | |
parent | c8daff66cefbe238582fb16769f41889ece31dc6 (diff) | |
download | pkgsrc-d910142d08a36fd759df14d88359d212eca53883.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/Makefile | 11 | ||||
-rw-r--r-- | lang/python24/dist.mk | 8 |
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}/ |