diff options
author | agc <agc> | 2000-09-27 14:34:12 +0000 |
---|---|---|
committer | agc <agc> | 2000-09-27 14:34:12 +0000 |
commit | ff738afa3cc267ee4c4083cfe9283780faf6e14b (patch) | |
tree | 9906de431dc05d1fb505515643a743d8991c4749 /devel/cscope/Makefile | |
parent | e05786977921852d42588ab3900eedf7470ab895 (diff) | |
download | pkgsrc-ff738afa3cc267ee4c4083cfe9283780faf6e14b.tar.gz |
Clean up the post-extract target, and use sh(1) for loops in preference
to make(1) .for loops.
Diffstat (limited to 'devel/cscope/Makefile')
-rw-r--r-- | devel/cscope/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile index 30ba5787059..ce7fd9aa79c 100644 --- a/devel/cscope/Makefile +++ b/devel/cscope/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2000/09/11 15:26:38 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2000/09/27 14:34:12 agc Exp $ DISTNAME= cscope-15.0bl2 PKGNAME= cscope-15.0.2 @@ -11,21 +11,17 @@ HOMEPAGE= http://cscope.sourceforge.net/ GNU_CONFIGURE= YES USE_CURSES= YES -post-extract: cscope-post-extract - .include "../../mk/bsd.pkg.mk" .if ${NEED_NCURSES} == "YES" CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE} -cscope-post-extract: -.for FILE in command.c display.c edit.c exec.c find.c help.c input.c main.c +post-extract: @cd ${WRKSRC}/src; \ - ${MV} ${FILE} ${FILE}.orig; \ - ${SED} "s/^#include <curses.h>/#include <ncurses.h>/" \ - < ${FILE}.orig > ${FILE} -.endfor -.else -cscope-post-extract: - ${TRUE} + for f in command.c display.c edit.c exec.c find.c help.c \ + input.c main.c; do \ + ${MV} $$f $$f.orig; \ + ${SED} "s/^#include <curses.h>/#include <ncurses.h>/" \ + $$f.orig > $$f; \ + done .endif |