summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-01-05 01:12:50 +0000
committerwiz <wiz@pkgsrc.org>2000-01-05 01:12:50 +0000
commit6d24fe361c1d3ffca52dfbefec02b78290a8294f (patch)
tree59cbecd08cec5d5a6ccca85c1e00d8459914b2f5
parent2cd5eeaae73f04ae149167b3b47e49805df77535 (diff)
downloadpkgsrc-6d24fe361c1d3ffca52dfbefec02b78290a8294f.tar.gz
replaced some commands by their ${COMMAND} counterparts
-rw-r--r--japanese/xjman/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/japanese/xjman/Makefile b/japanese/xjman/Makefile
index 033060ca7f9..6d10deac466 100644
--- a/japanese/xjman/Makefile
+++ b/japanese/xjman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/11/04 10:53:23 agc Exp $
+# $NetBSD: Makefile,v 1.5 2000/01/05 01:12:50 wiz Exp $
# FreeBSD Id: ports/japanese/xjman/Makefile,v 1.10 1999/10/30 15:34:24 sada Exp
DISTNAME= xjman-0.4
@@ -33,7 +33,7 @@ pre-build:
@(cd ${WRKSRC}/${dir}; \
for file in *; do \
f=`${ECHO} $$file|${SED} -e 's|x$$||'`; \
- mlink=`head -1 $$file|grep '^\.so man./'| \
+ mlink=`head -1 $$file|${GREP} '^\.so man./'| \
${SED} -e 's|.*man./\(.*\)x|\1|'`; \
if [ "$$mlink" = "" ]; then \
${ECHO} "MAN+= $$f" >> Makefile; \
@@ -53,11 +53,11 @@ MKCATPAGES?= yes
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${WRKSRC}; \
- find man1/*.1 man3/*.3 man5/*.5 -type f | \
+ ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f | \
${SED} -e 's|^|${XJMANDIR}/|' | sort >> ${PLIST_SRC})
.if ${MKCATPAGES} != no
@(cd ${WRKSRC}; \
- find man1/*.1 man3/*.3 man5/*.5 -type f | \
+ ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f | \
${SED} -e 's|^|${XJMANDIR}/|' \
-e 's|man[135]\(/.*\)\.\([135]\)$$|cat\2\1.0|' | \
sort >> ${PLIST_SRC})