diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2000-06-26 22:12:35 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2000-06-26 22:12:35 +0000 |
commit | 359546d36c2e6ebbf6916c73c35537d7cb0f3196 (patch) | |
tree | 6ec63668a57af0cdfb66c8d372de34537f913fba /fonts | |
parent | 5cb4f7dad2969a55787564038c7aa671cb334f47 (diff) | |
download | pkgsrc-359546d36c2e6ebbf6916c73c35537d7cb0f3196.tar.gz |
make sure local font directory exists before trying to install to it.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/jisx0208fonts/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fonts/jisx0208fonts/Makefile b/fonts/jisx0208fonts/Makefile index 7ffe0a05adc..04054092cee 100644 --- a/fonts/jisx0208fonts/Makefile +++ b/fonts/jisx0208fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/06/14 13:29:49 itojun Exp $ +# $NetBSD: Makefile,v 1.4 2000/06/26 22:12:35 dmcmahill Exp $ # DISTNAME= jisx0208fonts-20000614 @@ -49,6 +49,9 @@ post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC} (cd ${WRKSRC}; ${MAKE} prepare) +pre-install: + [ -d ${FONTDIR} ] || ${MKDIR} -p ${FONTDIR} + post-install: ${MKDIR} ${PREFIX}/share/doc/jisx0208fonts ${INSTALL_DATA} ${WRKDIR}/knj10-1.1/README \ |