diff options
author | dholland <dholland@pkgsrc.org> | 2011-12-15 04:32:10 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-12-15 04:32:10 +0000 |
commit | 50c3f36491f990d5713192f10ed03270908be945 (patch) | |
tree | 2c93caf960b30037fd86c793d6e74d42e9d67907 /games | |
parent | b30373248291c35b16007b30256df8eebdaa241d (diff) | |
download | pkgsrc-50c3f36491f990d5713192f10ed03270908be945.tar.gz |
Add a post-extract rule to clean up owner-readonly directories, since
those cause problems.
Diffstat (limited to 'games')
-rw-r--r-- | games/quake3arena-demo/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/games/quake3arena-demo/Makefile b/games/quake3arena-demo/Makefile index f39f6700ccc..4872de7abbb 100644 --- a/games/quake3arena-demo/Makefile +++ b/games/quake3arena-demo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2009/03/10 07:21:53 hasso Exp $ +# $NetBSD: Makefile,v 1.36 2011/12/15 04:32:10 dholland Exp $ DISTNAME= linuxq3ademo-1_11-6_x86_gz PKGREVISION= 3 @@ -19,7 +19,7 @@ EMUL_MODULES.linux= base x11 glx PKG_DESTDIR_SUPPORT= user-destdir -USE_TOOLS+= gtar pax +USE_TOOLS+= gtar pax find xargs EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \ ${GTAR} xzf - @@ -40,6 +40,9 @@ SHAREDIR= ${PREFIX}/share/doc/lokigames INSTALLATION_DIRS= bin ${LIBDIR} ${SHAREDIR} +post-extract: + ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} u+w + do-build: ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ -e 's#@@LIBDIR@@#${LIBDIR}#g' \ |