pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/quake3arena-demo Add a post-extract rule to clea...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0a45f986c16
branches: trunk
changeset: 596868:f0a45f986c16
user: dholland <dholland%pkgsrc.org@localhost>
date: Thu Dec 15 04:32:10 2011 +0000
description:
Add a post-extract rule to clean up owner-readonly directories, since
those cause problems.
diffstat:
games/quake3arena-demo/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r de5667066cc2 -r f0a45f986c16 games/quake3arena-demo/Makefile
--- a/games/quake3arena-demo/Makefile Thu Dec 15 04:18:16 2011 +0000
+++ b/games/quake3arena-demo/Makefile Thu Dec 15 04:32:10 2011 +0000
@@ -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 @@
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 @@
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' \
Home |
Main Index |
Thread Index |
Old Index