summaryrefslogtreecommitdiff
path: root/lang/python22/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-11-23 00:52:49 +0000
committerschmonz <schmonz@pkgsrc.org>2002-11-23 00:52:49 +0000
commit5721179af876bf6713369ab55378fb2f45069447 (patch)
tree0ce3c24ed6079b8ad9cda59adf2faf6f9afd9998 /lang/python22/Makefile
parent8fe1ab8d3a283b70134660c33e6cea21ed0f988f (diff)
downloadpkgsrc-5721179af876bf6713369ab55378fb2f45069447.tar.gz
Provide Darwin-specific packing list entries.
Diffstat (limited to 'lang/python22/Makefile')
-rw-r--r--lang/python22/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 7d14b3811a1..e77cab28f5d 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/10/30 10:55:41 markd Exp $
+# $NetBSD: Makefile,v 1.9 2002/11/23 00:52:49 schmonz Exp $
#
DISTNAME= Python-2.2.2
@@ -20,7 +20,11 @@ GNU_CONFIGURE= YES
LOWER_OPSYS= sunos
.endif
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}
+.else
PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
+.endif
PLIST_SRC= ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} \
${PKGDIR}/PLIST.common_end