summaryrefslogtreecommitdiff
path: root/lang/python/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-01-09 01:19:09 +0000
committerwiz <wiz>2000-01-09 01:19:09 +0000
commitc3249f03da7f5fc9099191ca3ae82ff87ffde93b (patch)
tree84cc91ee1e88bcdaf83e25507529503ebe695b4f /lang/python/Makefile
parentf4aa8d4bbe6660e86c84da995d0bcb06eb49f96d (diff)
downloadpkgsrc-c3249f03da7f5fc9099191ca3ae82ff87ffde93b.tar.gz
replaced some more commands by their ${COMMAND} counterparts
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r--lang/python/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 6462b26bcee..2e14132dc5b 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1999/08/02 10:59:34 agc Exp $
+# $NetBSD: Makefile,v 1.18 2000/01/09 01:19:11 wiz Exp $
#
DISTNAME= py152
@@ -48,10 +48,11 @@ post-configure:
post-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
- (cd ${PREFIX}; find lib/python1.5 -type f -print >>${PLIST_SRC})
- (cd ${PREFIX}; find include/python1.5 -type f -print >>${PLIST_SRC})
- (cd ${PREFIX}; find -d include/python1.5 -type d -print | \
- ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} lib/python1.5 -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} include/python1.5 -type f -print \
+ >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d include/python1.5 -type d -print | \
+ ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
${ECHO} "@unexec ${RM} -rf %D/lib/python1.5" >>${PLIST_SRC}
# Reinstall Python binary to get it stripped
${RM} ${PREFIX}/bin/python ${PREFIX}/bin/python1.5