diff options
author | dmcmahill <dmcmahill> | 2000-06-26 22:12:35 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-06-26 22:12:35 +0000 |
commit | 8e4c6882f36efa72d6ea66efdfa9e1d837da6ef6 (patch) | |
tree | 6ec63668a57af0cdfb66c8d372de34537f913fba /fonts | |
parent | bd5ed6dafdf00717ec9a5fe7cf99f9463a9bff20 (diff) | |
download | pkgsrc-8e4c6882f36efa72d6ea66efdfa9e1d837da6ef6.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 \ |