summaryrefslogtreecommitdiff
path: root/x11/xterm
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-25 19:37:44 +0000
committerrillig <rillig@pkgsrc.org>2006-06-25 19:37:44 +0000
commit8fad40050ef9257e192a6dbf53b905b778a3a98b (patch)
treeb63785f5a1ee007baac2318d569a11d665be5464 /x11/xterm
parent1396876237f53f233de15cbbb946a15bbc7e2446 (diff)
downloadpkgsrc-8fad40050ef9257e192a6dbf53b905b778a3a98b.tar.gz
Before a file can be created, its directory has to be there.
Diffstat (limited to 'x11/xterm')
-rw-r--r--x11/xterm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 6061834bc52..2c8a9290d17 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/04/26 14:04:57 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2006/06/25 19:37:44 rillig Exp $
DISTNAME= xterm-212
CATEGORIES= x11
@@ -30,7 +30,8 @@ INSTALL_FILE= ${WRKDIR}/INSTALL
DEINSTALL_FILE= ${INSTALL_FILE}
pre-build:
- @${SED} -e 's#@MV@#${MV}#g' \
+ ${MKDIR} ${INSTALL_FILE:H}
+ ${SED} -e 's#@MV@#${MV}#g' \
-e 's#@LOCALBASE@#${LOCALBASE}#g' \
-e 's#@PREFIX@#${PREFIX}#g' \
${PKGDIR}/INSTALL.openwin >${INSTALL_FILE}