summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-04-08 23:11:21 +0000
committertnn <tnn@pkgsrc.org>2008-04-08 23:11:21 +0000
commitacbeff969a466fb37309654543f9457d50c334d2 (patch)
tree93dff618870efe18a1086720f140141e57db3ae6 /games
parent982f4c28a9efb72a42c328aa2b121a50c5bd9b9c (diff)
downloadpkgsrc-acbeff969a466fb37309654543f9457d50c334d2.tar.gz
In post-install, remove droppings created as root so that unprivileged
make clean works.
Diffstat (limited to 'games')
-rw-r--r--games/openttd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 798e0b1b7c1..3d2ce00d2a6 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -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 @@ CFLAGS+= -DNDEBUG=1
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
BUILD_TARGET= bundle
+post-install:
+ rm -rf ${FAKEHOMEDIR}/.openttd
+
.include "options.mk"
.include "../../fonts/fontconfig/buildlink3.mk"