summaryrefslogtreecommitdiff
path: root/lang/python22/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-24 08:13:14 +0000
committergrant <grant@pkgsrc.org>2004-01-24 08:13:14 +0000
commit39aab8e564fc92c836ce6955bf13ec5146931967 (patch)
tree5a2e98cd0c3e233c281dd599632be38669f35202 /lang/python22/Makefile
parented3327a4f6fbe35180225e765627a5f2bf19d3ec (diff)
downloadpkgsrc-39aab8e564fc92c836ce6955bf13ec5146931967.tar.gz
split the common parts of python22 and python22-pth into Makefile.common
and fix PLIST for some modules which are only installed on Solaris.
Diffstat (limited to 'lang/python22/Makefile')
-rw-r--r--lang/python22/Makefile45
1 files changed, 3 insertions, 42 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 713412dac7c..ca661d9739b 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,49 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2003/07/17 21:45:16 grant Exp $
+# $NetBSD: Makefile,v 1.20 2004/01/24 08:13:14 grant Exp $
#
-DISTNAME= Python-2.2.3
PKGNAME= python22-2.2.3
-CATEGORIES= lang
-MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.3/
-EXTRACT_SUFX= .tgz
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.python.org/
-COMMENT= Interpreted, interactive, object-oriented programming language
-
-USE_BUILDLINK2= YES
-GNU_CONFIGURE= YES
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LOWER_OPSYS= sunos
-.endif
-
-.if ${OPSYS} == "Darwin" || ${OPSYS} == "IRIX"
-PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}
-.else
-PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
-.endif
-
-.if ${OPSYS} == "NetBSD"
-# XXX We'll enable native threads (if available) as soon as it is
-# stable enough. Remaining issues:
-# -stack size too small in main thread
CONFIGURE_ARGS+= --without-threads
-.endif
-
-INSTALL_TARGET= altinstall
-post-extract:
- ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc2.2
+PY_VER_SUFFIX= 2.2
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../mk/bsd.pkg.mk"
-
-# This comes after bsd.pkg.mk so that the LDFLAGS here overrides the one
-# set earlier in the environment (last definition wins).
-#
-.if ${OBJECT_FMT} == "a.out"
-MAKE_ENV+= LDFLAGS="${LDFLAGS:S/-Wl,//}"
-.endif
+.include "../../lang/python22/Makefile.common"