pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openttd In post-install, remove droppings create...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3aa1cb5a90f8
branches:  trunk
changeset: 540862:3aa1cb5a90f8
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Apr 08 23:11:21 2008 +0000

description:
In post-install, remove droppings created as root so that unprivileged
make clean works.

diffstat:

 games/openttd/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r c9eccf406f72 -r 3aa1cb5a90f8 games/openttd/Makefile
--- a/games/openttd/Makefile    Tue Apr 08 21:39:41 2008 +0000
+++ b/games/openttd/Makefile    Tue Apr 08 23:11:21 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2008/04/07 19:44:19 tnn Exp $
+# $NetBSD: Makefile,v 1.27 2008/04/08 23:11:21 tnn Exp $
 
 DISTNAME=      openttd-0.6.0-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -27,6 +27,9 @@
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 BUILD_TARGET=  bundle
 
+post-install:
+       rm -rf ${FAKEHOMEDIR}/.openttd
+
 .include "options.mk"
 
 .include "../../fonts/fontconfig/buildlink3.mk"



Home | Main Index | Thread Index | Old Index