summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-01-30 12:44:39 +0000
committerjmmv <jmmv>2005-01-30 12:44:39 +0000
commitbb759c5439b52a7d4eaff37a605aef2a90da35ef (patch)
tree95988a887fefe421c99733881b7056fc145466ab /lang/python24
parentc816450bae86579c8848170eb5158e4e0d4b8720 (diff)
downloadpkgsrc-bb759c5439b52a7d4eaff37a605aef2a90da35ef.tar.gz
Convert the python packages to use the alternatives system to install a
bin/python wrapper. Bump their PKGREVISION to 1. Also remove the python package. In order to preserve a similar behavior to this one using the new framework, start by installing pkg_alternatives. Then just open its manpage, scroll down to the EXAMPLES section, Applying filters subsection, and follow the (rather short) directions given there.
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/ALTERNATIVES1
-rw-r--r--lang/python24/Makefile6
2 files changed, 5 insertions, 2 deletions
diff --git a/lang/python24/ALTERNATIVES b/lang/python24/ALTERNATIVES
new file mode 100644
index 00000000000..4207fa1e29c
--- /dev/null
+++ b/lang/python24/ALTERNATIVES
@@ -0,0 +1 @@
+bin/python @PREFIX@/bin/python2.4
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 2d8ebcc9710..6395b62fa5a 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2005/01/23 20:41:47 recht Exp $
+# $NetBSD: Makefile,v 1.3 2005/01/30 12:44:40 jmmv Exp $
#
DISTNAME= Python-2.4
PKGNAME= python24-2.4
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.4/
EXTRACT_SUFX= .tar.bz2
@@ -12,6 +12,8 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.python.org/
COMMENT= Interpreted, interactive, object-oriented programming language
+CONFLICTS+= python-[0-9]*
+
USE_LANGUAGES= c c++
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes