summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc>1998-06-11 12:07:57 +0000
committeragc <agc>1998-06-11 12:07:57 +0000
commit933a575c75c598eae3ff599f89545e58860b3f79 (patch)
treee4b081e1de949efddac1160d4af9cd891e201734 /devel
parent064ee44b6813dfe39f1d430dfb50ba01728e5610 (diff)
downloadpkgsrc-933a575c75c598eae3ff599f89545e58860b3f79.tar.gz
Fix the locations in a more efficient manner.
Diffstat (limited to 'devel')
-rw-r--r--devel/gtexinfo/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile
index c1d9fc0614a..f7d74b9ad51 100644
--- a/devel/gtexinfo/Makefile
+++ b/devel/gtexinfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1998/05/14 11:09:47 agc Exp $
+# $NetBSD: Makefile,v 1.9 1998/06/11 12:07:57 agc Exp $
#
DISTNAME= texinfo-3.12
@@ -12,11 +12,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-catgets
pre-build:
- ${MV} ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.bak
- ${CAT} ${WRKSRC}/info/filesys.h.bak | \
- ${SED} s/@PREFIX@/${PREFIX:S/\//\\\\\//g}/g | \
- ${SED} s/@X11BASE@/${X11BASE:S/\//\\\\\//g}/g | \
- ${SED} s/@LOCALBASE@/${LOCALBASE:S/\//\\\\\//g}/g \
+ ${MV} ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.orig
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ -e 's|@X11BASE@|${X11BASE}|g' \
+ -e 's|@LOCALBASE@|${LOCALBASE}|g' \
+ < ${WRKSRC}/info/filesys.h.orig \
> ${WRKSRC}/info/filesys.h
post-install: