diff options
author | joerg <joerg> | 2010-02-14 22:04:01 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-14 22:04:01 +0000 |
commit | f99a9a1a111cfd0400154d226a8904ac0bd56a63 (patch) | |
tree | 700cdbba0d6aab3cd2f5597f8a3db009df64784e /games | |
parent | 685625c70c34961811f5a45d9cf43e2acc9a8014 (diff) | |
download | pkgsrc-f99a9a1a111cfd0400154d226a8904ac0bd56a63.tar.gz |
DESTDIR support
Diffstat (limited to 'games')
-rw-r--r-- | games/urban/Makefile | 6 | ||||
-rw-r--r-- | games/urban/distinfo | 3 | ||||
-rw-r--r-- | games/urban/patches/patch-ai | 19 | ||||
-rw-r--r-- | games/xjig/Makefile | 9 |
4 files changed, 31 insertions, 6 deletions
diff --git a/games/urban/Makefile b/games/urban/Makefile index 8f8a88def62..b1621d220f1 100644 --- a/games/urban/Makefile +++ b/games/urban/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/05/26 02:13:20 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2010/02/14 22:04:01 joerg Exp $ # DISTNAME= urban-1.5.3 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://urban.bengburken.net/eng/ COMMENT= U.R.B.A.N The Cyborg Project +PKG_DESTDIR_SUPPORT= user-destdir + PTHREAD_AUTO_VARS= yes GNU_CONFIGURE= yes USE_LANGUAGES= c c++ @@ -18,7 +20,7 @@ USE_TOOLS+= pax WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} post-install: - cd ${WRKDIR} && pax -rwppm snd ${PREFIX}/share/urban + cd ${WRKDIR} && pax -rwppm snd ${DESTDIR}${PREFIX}/share/urban .include "../../audio/libmikmod/buildlink3.mk" .include "../../graphics/libggi/buildlink3.mk" diff --git a/games/urban/distinfo b/games/urban/distinfo index 548810703b0..aaa6014a769 100644 --- a/games/urban/distinfo +++ b/games/urban/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2006/03/29 22:41:01 joerg Exp $ +$NetBSD: distinfo,v 1.8 2010/02/14 22:04:01 joerg Exp $ SHA1 (urban-1.5.3.tar.gz) = 3450988a83fa969df0148e4cdce179c033fa0868 RMD160 (urban-1.5.3.tar.gz) = 55c3aab336f16936139601f50dda4854470f38fb @@ -14,3 +14,4 @@ SHA1 (patch-ae) = 637883461b08a002fc75bb49ae18298f1d35bd79 SHA1 (patch-af) = c1aad1d42792113e56e60a6a2a572d33aad1000b SHA1 (patch-ag) = 181df221bf1f8ba7ee649315257d47e832b19b1a SHA1 (patch-ah) = e11a947ef03677dec035e30dfb06dcf24eb03cf6 +SHA1 (patch-ai) = 622526ee3063af3c87a8e0e8fbf10ced0cebbe70 diff --git a/games/urban/patches/patch-ai b/games/urban/patches/patch-ai new file mode 100644 index 00000000000..9741563589f --- /dev/null +++ b/games/urban/patches/patch-ai @@ -0,0 +1,19 @@ +$NetBSD: patch-ai,v 1.3 2010/02/14 22:04:01 joerg Exp $ + +--- src/datfile/datfile.cc.orig 2010-02-14 21:57:58.000000000 +0000 ++++ src/datfile/datfile.cc +@@ -5,11 +5,9 @@ + #include "icache.h" + #include "game.h" + +-#ifdef DJGPP +-typedef unsigned char uint8; +-typedef unsigned long uint32; +-typedef signed long sint32; +-#endif ++typedef uint8_t uint8; ++typedef uint32_t uint32; ++typedef int32_t sint32; + + struct pcx_header { + uint8 manufacturer __attribute__((packed)); diff --git a/games/xjig/Makefile b/games/xjig/Makefile index 7d729e5d3bc..b5b7fa9a577 100644 --- a/games/xjig/Makefile +++ b/games/xjig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:37 joerg Exp $ +# $NetBSD: Makefile,v 1.21 2010/02/14 22:06:02 joerg Exp $ # DISTNAME= xjig-2.4 @@ -10,14 +10,17 @@ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Jigsaw puzzle +PKG_DESTDIR_SUPPORT= user-destdir + USE_IMAKE= yes USE_LANGUAGES= c c++ BUILD_TARGET= xjig all +INSTALLATION_DIRS+= lib/xjig + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/xjig - ${INSTALL_DATA} ${WRKSRC}/tina.gif ${PREFIX}/lib/xjig + ${INSTALL_DATA} ${WRKSRC}/tina.gif ${DESTDIR}${PREFIX}/lib/xjig .include "../../x11/libXext/buildlink3.mk" .include "../../x11/xextproto/buildlink3.mk" |