Tue Apr 8 23:11:21 2008 UTC ()
In post-install, remove droppings created as root so that unprivileged
make clean works.


(tnn)
diff -r1.26 -r1.27 pkgsrc/games/openttd/Makefile

cvs diff -r1.26 -r1.27 pkgsrc/games/openttd/Makefile (expand / switch to unified diff)

--- pkgsrc/games/openttd/Makefile 2008/04/07 19:44:19 1.26
+++ pkgsrc/games/openttd/Makefile 2008/04/08 23:11:21 1.27
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.26 2008/04/07 19:44:19 tnn Exp $ 1# $NetBSD: Makefile,v 1.27 2008/04/08 23:11:21 tnn Exp $
2 2
3DISTNAME= openttd-0.6.0-source 3DISTNAME= openttd-0.6.0-source
4PKGNAME= ${DISTNAME:S/-source//} 4PKGNAME= ${DISTNAME:S/-source//}
5CATEGORIES= games x11 5CATEGORIES= games x11
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.openttd.com/ 9HOMEPAGE= http://www.openttd.com/
10COMMENT= Open source clone of Transport Tycoon Deluxe 10COMMENT= Open source clone of Transport Tycoon Deluxe
11EXTRACT_SUFX= .tar.bz2 11EXTRACT_SUFX= .tar.bz2
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
@@ -17,21 +17,24 @@ USE_LANGUAGES+= c c++ @@ -17,21 +17,24 @@ USE_LANGUAGES+= c c++
17USE_DIRS+= xdg-1.1 17USE_DIRS+= xdg-1.1
18USE_TOOLS+= gmake pkg-config 18USE_TOOLS+= gmake pkg-config
19 19
20CONFIGURE_ARGS+= --prefix-dir=${DESTDIR}${PREFIX} 20CONFIGURE_ARGS+= --prefix-dir=${DESTDIR}${PREFIX}
21CONFIGURE_ARGS+= --binary-dir=bin 21CONFIGURE_ARGS+= --binary-dir=bin
22CONFIGURE_ARGS+= --data-dir=share/openttd 22CONFIGURE_ARGS+= --data-dir=share/openttd
23 23
24# disable custom assert for Mac OS X (XXX: still needed?) 24# disable custom assert for Mac OS X (XXX: still needed?)
25CFLAGS+= -DNDEBUG=1 25CFLAGS+= -DNDEBUG=1
26 26
27WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 27WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
28BUILD_TARGET= bundle 28BUILD_TARGET= bundle
29 29
 30post-install:
 31 rm -rf ${FAKEHOMEDIR}/.openttd
 32
30.include "options.mk" 33.include "options.mk"
31 34
32.include "../../fonts/fontconfig/buildlink3.mk" 35.include "../../fonts/fontconfig/buildlink3.mk"
33.include "../../graphics/freetype2/buildlink3.mk" 36.include "../../graphics/freetype2/buildlink3.mk"
34.include "../../graphics/png/buildlink3.mk" 37.include "../../graphics/png/buildlink3.mk"
35.include "../../devel/SDL/buildlink3.mk" 38.include "../../devel/SDL/buildlink3.mk"
36.include "../../mk/pthread.buildlink3.mk" 39.include "../../mk/pthread.buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"