summaryrefslogtreecommitdiff
path: root/devel/gtexinfo
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-06-11 12:07:57 +0000
committeragc <agc@pkgsrc.org>1998-06-11 12:07:57 +0000
commit9e89c326e7154600eaeb3f4faea24f3af859e662 (patch)
treee4b081e1de949efddac1160d4af9cd891e201734 /devel/gtexinfo
parent63a83c5f8e9d6fdbc307d63e305b608442f109ae (diff)
downloadpkgsrc-9e89c326e7154600eaeb3f4faea24f3af859e662.tar.gz
Fix the locations in a more efficient manner.
Diffstat (limited to 'devel/gtexinfo')
-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: