diff options
author | jtb <jtb> | 2001-04-28 23:59:17 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-04-28 23:59:17 +0000 |
commit | 54628c7504a72fb5b01c7e511a6d23016d4a2b05 (patch) | |
tree | 97228d7da600e4c7e4800096060fa118f9f09a60 /devel | |
parent | 1348d251d9a3540e38f0229b271ace5f5748598a (diff) | |
download | pkgsrc-54628c7504a72fb5b01c7e511a6d23016d4a2b05.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" |