From 5721179af876bf6713369ab55378fb2f45069447 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sat, 23 Nov 2002 00:52:49 +0000 Subject: Provide Darwin-specific packing list entries. --- lang/python22/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang/python22/Makefile') 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 -- cgit v1.2.3