diff options
author | jtb <jtb@pkgsrc.org> | 2001-04-28 23:59:17 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-04-28 23:59:17 +0000 |
commit | b97c41dde34f14e03b5985a3cf6a23aee3e7b3b4 (patch) | |
tree | 97228d7da600e4c7e4800096060fa118f9f09a60 /devel | |
parent | a1f837e37cee66bfce1e9c82c23e458c36a64d22 (diff) | |
download | pkgsrc-b97c41dde34f14e03b5985a3cf6a23aee3e7b3b4.tar.gz |
Remove redundant echoing, quoting, and input redirection to sed.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/haskell-mode/Makefile | 10 | ||||
-rw-r--r-- | devel/libctl/Makefile | 13 |
2 files changed, 8 insertions, 15 deletions
diff --git a/devel/haskell-mode/Makefile b/devel/haskell-mode/Makefile index 3e41d50dbc7..1041937d475 100644 --- a/devel/haskell-mode/Makefile +++ b/devel/haskell-mode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:40 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:18 jtb Exp $ DISTNAME= haskell-mode-20001129 CATEGORIES= devel editors @@ -22,7 +22,7 @@ EMACS= emacs LISPDIR= share/emacs/site-lisp/haskell-mode .endif -PLIST_SUBST+= LISPDIR="${LISPDIR}" +PLIST_SUBST+= LISPDIR=${LISPDIR} SRCS= haskell-doc.el haskell-mode.el haskell-font-lock.el \ haskell-simple-indent.el haskell-hugs.el haskell-decl-scan.el \ @@ -35,9 +35,7 @@ do-build: do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR} - @for f in ${SRCS} ${SRCS:.el=.elc} ; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/${LISPDIR}"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \ + ${PREFIX}/${LISPDIR} .include "../../mk/bsd.pkg.mk" diff --git a/devel/libctl/Makefile b/devel/libctl/Makefile index 490917495a8..9c76d5f1f49 100644 --- a/devel/libctl/Makefile +++ b/devel/libctl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/04/14 21:43:40 jtb Exp $ +# $NetBSD: Makefile,v 1.9 2001/04/28 23:59:18 jtb Exp $ DISTNAME= libctl-1.4 CATEGORIES= devel @@ -14,13 +14,8 @@ GNU_CONFIGURE= #defined post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libctl - @for f in ${WRKSRC}/doc/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/libctl/"; \ - ${ECHO} $$i; $$i; \ - done - @for f in COPYING COPYRIGHT ChangeLog NEWS README ; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/libctl/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/libctl/ + cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYRIGHT ChangeLog \ + NEWS README ${PREFIX}/share/doc/libctl/ .include "../../mk/bsd.pkg.mk" |