Skip to content

Commit

Permalink
Make sure directories exist before pax'ing into them in post-install
Browse files Browse the repository at this point in the history
  • Loading branch information
jmc committed Apr 7, 2003
1 parent f31898b commit 96313fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion games/tuxracer/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/04/07 18:18:24 jmc Exp $
# $NetBSD: Makefile,v 1.4 2003/04/07 19:26:17 jmc Exp $
#

DISTNAME= tuxracer-0.61
Expand All @@ -20,6 +20,7 @@ CONFIGURE_ARGS+= --with-data-dir=${PREFIX}/share/tuxracer
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"

post-install:
@-${MKDIR} ${PREFIX}/share/doc/html/tuxracer ${PREFIX}/share/examples/tuxracer ${PREFIX}/share/tuxracer
cd ${WRKSRC}/html && \
${PAX} -rw . ${PREFIX}/share/doc/html/tuxracer/
cd ${WRKSRC}/contrib && \
Expand Down

0 comments on commit 96313fa

Please sign in to comment.