summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authortnn <tnn>2008-04-08 23:11:21 +0000
committertnn <tnn>2008-04-08 23:11:21 +0000
commitd73b86a542ff01ca1dcc8b9cef13f9340569c974 (patch)
tree93dff618870efe18a1086720f140141e57db3ae6 /games
parent1d436f174597f49184ab68e2e327587e63f08a40 (diff)
downloadpkgsrc-d73b86a542ff01ca1dcc8b9cef13f9340569c974.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"