diff options
author | knu <knu@FreeBSD.org> | 2002-01-29 18:34:23 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-29 18:34:23 +0800 |
commit | fdab120e8f7f5dc349cb1887034af51fe4834d3c (patch) | |
tree | 5ad72b52c789f91d654888bd06c860a242d912d6 /editors | |
parent | 683084ba5b0a2fbaac959371c452814420e77ba6 (diff) | |
download | freebsd-ports-gnome-fdab120e8f7f5dc349cb1887034af51fe4834d3c.tar.gz freebsd-ports-gnome-fdab120e8f7f5dc349cb1887034af51fe4834d3c.tar.zst freebsd-ports-gnome-fdab120e8f7f5dc349cb1887034af51fe4834d3c.zip |
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
Use command macros where appropriate.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/color-mate/Makefile | 6 | ||||
-rw-r--r-- | editors/emacs20-mule-devel/Makefile | 4 | ||||
-rw-r--r-- | editors/mule/Makefile | 2 | ||||
-rw-r--r-- | editors/staroffice52/Makefile | 4 | ||||
-rw-r--r-- | editors/staroffice60/Makefile | 4 | ||||
-rw-r--r-- | editors/staroffice70/Makefile | 4 | ||||
-rw-r--r-- | editors/vim/Makefile | 26 | ||||
-rw-r--r-- | editors/vim5/Makefile | 20 | ||||
-rw-r--r-- | editors/xemacs-basic-mule-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-comm-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-games-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-libs-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-mule-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-oa-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-prog-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs-wp-packages/Makefile | 10 | ||||
-rw-r--r-- | editors/xemacs21-mule/Makefile | 12 |
18 files changed, 86 insertions, 86 deletions
diff --git a/editors/color-mate/Makefile b/editors/color-mate/Makefile index ca003db074b2..f8e9604875f2 100644 --- a/editors/color-mate/Makefile +++ b/editors/color-mate/Makefile @@ -34,10 +34,10 @@ do-build: ${SH} ${FILESDIR}/theme_build.sh ${SED} -e 's,@INSTALLPATH@,${XELISPDIR},' ${WRKSRC}/Dot.emacs.default.in \ > ${WRKDIR}/color-mate-startup.el - ${ECHO} "(provide 'color-mate-startup)" >> ${WRKDIR}/color-mate-startup.el + ${ECHO_CMD} "(provide 'color-mate-startup)" >> ${WRKDIR}/color-mate-startup.el ${SED} -e 's,@INSTALLPATH@,${XELISPDIR},' ${WRKSRC}/Dot.emacs.default.in \ > ${WRKDIR}/color-mate-startup.xemacs.el - ${ECHO} "(provide 'color-mate-startup)" >> ${WRKDIR}/color-mate-startup.xemacs.el + ${ECHO_CMD} "(provide 'color-mate-startup)" >> ${WRKDIR}/color-mate-startup.xemacs.el do-install: ${MKDIR} ${ELISPDIR} ${DOCDIR} ${THEME_DIR} ${XELISPDIR} ${ELISPDIR}/kanakan-cursor ${ELISPDIR}/contrib @@ -65,7 +65,7 @@ do-install: # For XEmacs cd ${XELISPDIR}; lndir ${ELISPDIR} ${RM} -f ${WRKDIR}/${MANIFEST} - emacsdir=`${ECHO} ${SITEPKGDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \ + emacsdir=`${ECHO_CMD} ${SITEPKGDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \ ${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \ ${SED} -e "s;^$${emacsdir}/;;" > ${WRKDIR}/${MANIFEST} ${MKDIR} ${SITEPKGDIR}/pkginfo diff --git a/editors/emacs20-mule-devel/Makefile b/editors/emacs20-mule-devel/Makefile index 6a10976619f3..96982729e33d 100644 --- a/editors/emacs20-mule-devel/Makefile +++ b/editors/emacs20-mule-devel/Makefile @@ -120,8 +120,8 @@ do-install: ${PREFIX}/share/${MULE}${MULE_MAJOR_VER}/${EMACS_VER}/lisp/subdirs.el @for i in site-lisp/subdirs.el ${EMACS_VER}/site-lisp/subdirs.el ; do \ if [ ! -f ${PREFIX}/share/${MULE}${MULE_MAJOR_VER}/$${i} ]; then \ - (${ECHO} "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ - ${ECHO} " (normal-top-level-add-subdirs-to-load-path))") \ + (${ECHO_CMD} "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ + ${ECHO_CMD} " (normal-top-level-add-subdirs-to-load-path))") \ > ${PREFIX}/share/${MULE}${MULE_MAJOR_VER}/$${i} ; \ fi ; \ done diff --git a/editors/mule/Makefile b/editors/mule/Makefile index ccd1e758094b..81ad7ab1da03 100644 --- a/editors/mule/Makefile +++ b/editors/mule/Makefile @@ -94,7 +94,7 @@ COMP_ELC= egg.elc wnn-egg.elc sj3-client.elc sj3-egg.elc canna.elc ELC_DIR= ../lisp # Make a value of INPUT_METHOD .if defined(INPUT_METHOD) -INPUT_METHOD!= ${ECHO} ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' +INPUT_METHOD!= ${ECHO_CMD} ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' .endif diff --git a/editors/staroffice52/Makefile b/editors/staroffice52/Makefile index 811ee210b414..f69ffeef8f62 100644 --- a/editors/staroffice52/Makefile +++ b/editors/staroffice52/Makefile @@ -45,8 +45,8 @@ LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib INSTDB.INS= ${PREFIX}/office52/program/instdb.ins SUNSOLVE= ${WRKDIR}/109939-03 ADABAS_DIST= soa-5_2-ga-bin-linux-en.bin -SIZE!= /bin/df -k . | /usr/bin/tail -n 1 | /usr/bin/awk '{print $$4}' -LINPROCFS!= /sbin/mount | /usr/bin/grep linprocfs | /usr/bin/awk '{print $1}' +SIZE!= /bin/df -k . | ${TAIL} -n 1 | ${AWK} '{print $$4}' +LINPROCFS!= /sbin/mount | /usr/bin/grep linprocfs | ${AWK} '{print $1}' .include <bsd.port.pre.mk> diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile index 37dc0032007a..48c0bc3f6c1c 100644 --- a/editors/staroffice60/Makefile +++ b/editors/staroffice60/Makefile @@ -35,8 +35,8 @@ LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib INSTDB.INS= ${PREFIX}/${SOVERSION}/program/instdb.ins OPENCONFIG= ${PREFIX}/${SOVERSION}/share/config/registry/cache/instance/org/openoffice -SIZE!= /bin/df -k . | /usr/bin/tail -n 1 | /usr/bin/awk '{print $$4}' -LINPROCFS!= /sbin/mount | /usr/bin/grep linprocfs | /usr/bin/awk '{print $1}' +SIZE!= /bin/df -k . | ${TAIL} -n 1 | ${AWK} '{print $$4}' +LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}' .include <bsd.port.pre.mk> diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile index 37dc0032007a..48c0bc3f6c1c 100644 --- a/editors/staroffice70/Makefile +++ b/editors/staroffice70/Makefile @@ -35,8 +35,8 @@ LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib INSTDB.INS= ${PREFIX}/${SOVERSION}/program/instdb.ins OPENCONFIG= ${PREFIX}/${SOVERSION}/share/config/registry/cache/instance/org/openoffice -SIZE!= /bin/df -k . | /usr/bin/tail -n 1 | /usr/bin/awk '{print $$4}' -LINPROCFS!= /sbin/mount | /usr/bin/grep linprocfs | /usr/bin/awk '{print $1}' +SIZE!= /bin/df -k . | ${TAIL} -n 1 | ${AWK} '{print $$4}' +LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}' .include <bsd.port.pre.mk> diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 7848ed806468..a58b93a1f181 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -111,27 +111,27 @@ pre-build: post-install: [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim) # below needed for `vim-lite' port - test -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -s vim rgvim) - test -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -s vim gview) - test -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -s vim rgview) - test -e ${PREFIX}/bin/evim || (cd ${PREFIX}/bin ; ${LN} -s vim evim) - test -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -s vim eview) - test -e ${PREFIX}/bin/gvimdiff \ + ${TEST} -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -s vim rgvim) + ${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -s vim gview) + ${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -s vim rgview) + ${TEST} -e ${PREFIX}/bin/evim || (cd ${PREFIX}/bin ; ${LN} -s vim evim) + ${TEST} -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -s vim eview) + ${TEST} -e ${PREFIX}/bin/gvimdiff \ || (cd ${PREFIX}/bin ; ${LN} -s vim gvimdiff) ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${DATADIR}/keymap cd ${PREFIX} ;\ - find share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \ + ${FIND} share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \ | sort \ >${WRKDIR}/PLIST.share-vim cd ${PREFIX} ;\ - find share/vim/${DISTNAME:S/-//:S/.//}/ -type d \ + ${FIND} share/vim/${DISTNAME:S/-//:S/.//}/ -type d \ | sort -r | ${SED} -e 's/^/@dirrm /g' \ >>${WRKDIR}/PLIST.share-vim - ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - ${ECHO} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script - ${ECHO} "d" >> ${WRKDIR}/ex.script - ${ECHO} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script - ${ECHO} "x!" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script + ${ECHO_CMD} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-vim cd ${WRKDIR} ; ex < ex.script diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile index 11ca6e45cb0f..72f47b386033 100644 --- a/editors/vim5/Makefile +++ b/editors/vim5/Makefile @@ -90,22 +90,22 @@ pre-build: post-install: [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim) # below needed for `vim-lite' port - test -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -s vim rgvim) - test -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -s vim gview) - test -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -s vim rgview) + ${TEST} -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -s vim rgvim) + ${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -s vim gview) + ${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -s vim rgview) cd ${PREFIX} ;\ - find share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \ + ${FIND} share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \ | sort \ >${WRKDIR}/PLIST.share-vim cd ${PREFIX} ;\ - find share/vim/${DISTNAME:S/-//:S/.//}/ -type d \ + ${FIND} share/vim/${DISTNAME:S/-//:S/.//}/ -type d \ | sort -r | ${SED} -e 's/^/@dirrm /g' \ >>${WRKDIR}/PLIST.share-vim - ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - ${ECHO} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script - ${ECHO} "d" >> ${WRKDIR}/ex.script - ${ECHO} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script - ${ECHO} "x!" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script + ${ECHO_CMD} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-vim cd ${WRKDIR} ; ex < ex.script diff --git a/editors/xemacs-basic-mule-packages/Makefile b/editors/xemacs-basic-mule-packages/Makefile index 20239895391a..1535d62f7dea 100644 --- a/editors/xemacs-basic-mule-packages/Makefile +++ b/editors/xemacs-basic-mule-packages/Makefile @@ -40,11 +40,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the basic mule package for XEmacs(version over 21). You might be" @${ECHO_MSG} "enough with this package installing basic package(editors/xemacs-packages)" @${ECHO_MSG} "altogether for working at XEmacs but if you think it insufficient,you can" diff --git a/editors/xemacs-comm-packages/Makefile b/editors/xemacs-comm-packages/Makefile index 110e50b15257..7f31674d0848 100644 --- a/editors/xemacs-comm-packages/Makefile +++ b/editors/xemacs-comm-packages/Makefile @@ -48,11 +48,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the comm category. You can" @${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages" @${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for" diff --git a/editors/xemacs-games-packages/Makefile b/editors/xemacs-games-packages/Makefile index 0259944b6773..293ae05b1bf4 100644 --- a/editors/xemacs-games-packages/Makefile +++ b/editors/xemacs-games-packages/Makefile @@ -39,11 +39,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the games category. You can" @${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages" @${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for" diff --git a/editors/xemacs-libs-packages/Makefile b/editors/xemacs-libs-packages/Makefile index 4189787cca75..28a41972ec9f 100644 --- a/editors/xemacs-libs-packages/Makefile +++ b/editors/xemacs-libs-packages/Makefile @@ -41,11 +41,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the libs category. You can" @${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages" @${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for" diff --git a/editors/xemacs-mule-packages/Makefile b/editors/xemacs-mule-packages/Makefile index 199522a52718..1fcd1e485657 100644 --- a/editors/xemacs-mule-packages/Makefile +++ b/editors/xemacs-mule-packages/Makefile @@ -43,11 +43,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the mule-packages category." @${ECHO_MSG} "You might be enough with this package installing xemacs-packages altogether for" @${ECHO_MSG} "working at XEmacs but if you think it insufficient,you can install other" diff --git a/editors/xemacs-oa-packages/Makefile b/editors/xemacs-oa-packages/Makefile index d68b2691155a..954e76ca9a61 100644 --- a/editors/xemacs-oa-packages/Makefile +++ b/editors/xemacs-oa-packages/Makefile @@ -43,11 +43,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the oa category. You can" @${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages" @${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for" diff --git a/editors/xemacs-packages/Makefile b/editors/xemacs-packages/Makefile index 5ab46d22da43..ab2f82ab15ae 100644 --- a/editors/xemacs-packages/Makefile +++ b/editors/xemacs-packages/Makefile @@ -121,11 +121,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the xemacs-packages" @${ECHO_MSG} "category. You might be enough only with this package(or if you are non-Latin" @${ECHO_MSG} "people, together with xemacs-mule-packages) for working at XEmacs but if you" diff --git a/editors/xemacs-prog-packages/Makefile b/editors/xemacs-prog-packages/Makefile index 64793bf4aa72..08418c5357e5 100644 --- a/editors/xemacs-prog-packages/Makefile +++ b/editors/xemacs-prog-packages/Makefile @@ -46,11 +46,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the prog category. You can" @${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages" @${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for" diff --git a/editors/xemacs-wp-packages/Makefile b/editors/xemacs-wp-packages/Makefile index 2ae46d4a7e1d..7d0cf87db95f 100644 --- a/editors/xemacs-wp-packages/Makefile +++ b/editors/xemacs-wp-packages/Makefile @@ -40,11 +40,11 @@ do-install: post-install: @cd ${WRKDIR} && \ - find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ - find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} + ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \ + ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST} + @${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST} @${ECHO_MSG} " This is the set of the packages for xemacs with the wp category. You can" @${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages" @${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for" diff --git a/editors/xemacs21-mule/Makefile b/editors/xemacs21-mule/Makefile index b39ce5942f2d..f7d820b3f31e 100644 --- a/editors/xemacs21-mule/Makefile +++ b/editors/xemacs21-mule/Makefile @@ -87,7 +87,7 @@ WITH_XIM?= xlib .if defined(MULE_SLAVE) pre-build: - @find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; + @${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; @${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs # for xemacs${XEMACS_MAJOR_VER}-mule-common in defining ${WRKDIRPREFIX} @@ -107,7 +107,7 @@ post-package: ## for make DESCR and COMMENT (only maintainer use) #pre-arrange:: # @${MKDIR} ${PKGDIR} -# @${ECHO} "${COMMENT_TEXT}" > ${COMMENT} +# @${ECHO_CMD} "${COMMENT_TEXT}" > ${COMMENT} #.if (${PKGNAMESUFFIX} == "-canna") || (${PKGNAMESUFFIX} == "-mule") || (${PKGNAMESUFFIX} == "-mule-common") # @${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \ # -e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \ @@ -135,12 +135,12 @@ post-package: # DIRRMDEPTH=1 plist #.for dirp in site mule xemacs #.for dir in etc info man pkginfo -# ${ECHO} "@exec mkdir -p %D/lib/xemacs/${dirp}-packages/${dir}" >> ${WRKPLIST}.tmp -# ${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages/${dir} 2>/dev/null || true" >> ${WRKPLIST}.tmp +# ${ECHO_CMD} "@exec mkdir -p %D/lib/xemacs/${dirp}-packages/${dir}" >> ${WRKPLIST}.tmp +# ${ECHO_CMD} "@unexec rmdir %D/lib/xemacs/${dirp}-packages/${dir} 2>/dev/null || true" >> ${WRKPLIST}.tmp #.endfor -# ${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages 2>/dev/null || true" >> ${WRKPLIST}.tmp +# ${ECHO_CMD} "@unexec rmdir %D/lib/xemacs/${dirp}-packages 2>/dev/null || true" >> ${WRKPLIST}.tmp #.endfor -# ${ECHO} "@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock" >> ${WRKPLIST}.tmp +# ${ECHO_CMD} "@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock" >> ${WRKPLIST}.tmp # ${CAT} ${WRKPLIST} >> ${WRKPLIST}.tmp # ${MV} ${WRKPLIST}.tmp ${WRKPLIST} # ${CHOWN} kiri:staff ${WRKPLIST} |