summaryrefslogtreecommitdiff
path: root/misc/lile
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-10-31 08:10:54 +0000
committerzuntum <zuntum@pkgsrc.org>2001-10-31 08:10:54 +0000
commitd00253ff384de25fd2f680aa985f7dc06a9433cd (patch)
tree2f467d8da281f608a76f5ddbbbe85b67208bb620 /misc/lile
parent82a00541da678f4b55bf6a5a876425776f7d3dc9 (diff)
downloadpkgsrc-d00253ff384de25fd2f680aa985f7dc06a9433cd.tar.gz
Rewrite ${SED} & ${ECHO} hacks, and rename target from do-configure to
post-patch.
Diffstat (limited to 'misc/lile')
-rw-r--r--misc/lile/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/misc/lile/Makefile b/misc/lile/Makefile
index 4ac00c625f6..9028260ee42 100644
--- a/misc/lile/Makefile
+++ b/misc/lile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/02/17 18:09:11 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2001/10/31 08:10:54 zuntum Exp $
# FreeBSD Id: Makefile,v 1.3 1997/08/15 16:47:08 jmz Exp
#
@@ -11,9 +11,10 @@ EXTRACT_SUFX= .tar.z
MAINTAINER= packages@netbsd.org
COMMENT= Input Line Editor that wraps itself around programs
-do-configure:
- @(cd ${WRKSRC}; ${MV} Makefile Makefile.old; \
- ${SED} -e s:/usr/local:${PREFIX}: <Makefile.old > Makefile; \
- ${ECHO} all: ile >> Makefile; ${ECHO} CC=cc ${CFLAGS} >> Makefile)
+post-patch:
+ @(cd ${WRKSRC}; ${SED} "s,/usr/local,${PREFIX}," Makefile \
+ > Makefile.done; ${MV} Makefile.done Makefile; \
+ ${ECHO} all: ile >> Makefile; \
+ ${ECHO} CC=${CC} ${CFLAGS} >> Makefile )
.include "../../mk/bsd.pkg.mk"