diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 23:24:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 23:24:15 +0000 |
commit | 9e39a8bdcbb663ade0a933c8e3a2203049a09c14 (patch) | |
tree | 1d2863350db2b6df98f1766c44ac9c0e6122b0f5 /games | |
parent | 7c7d7d658835b798a39d6613915438ccd868ee2c (diff) | |
download | pkgsrc-9e39a8bdcbb663ade0a933c8e3a2203049a09c14.tar.gz |
DESTDIR support
Diffstat (limited to 'games')
-rw-r--r-- | games/imaze/Makefile | 4 | ||||
-rw-r--r-- | games/imaze/distinfo | 6 | ||||
-rw-r--r-- | games/imaze/patches/patch-aa | 6 | ||||
-rw-r--r-- | games/imaze/patches/patch-ab | 14 | ||||
-rw-r--r-- | games/jools/Makefile | 12 |
5 files changed, 23 insertions, 19 deletions
diff --git a/games/imaze/Makefile b/games/imaze/Makefile index 69e16380ea2..14bf897c1cb 100644 --- a/games/imaze/Makefile +++ b/games/imaze/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2008/05/26 02:13:19 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2010/01/29 23:24:15 joerg Exp $ DISTNAME= imaze1.3 PKGNAME= imaze-1.3 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://home.tu-clausthal.de/student/iMaze/ COMMENT= Multiplayer, networked, action,x 3D maze game +PKG_DESTDIR_SUPPORT= user-destdir + EXTRACT_ONLY= imaze1.3.tar.Z WRKSRC= ${WRKDIR}/imaze diff --git a/games/imaze/distinfo b/games/imaze/distinfo index 45d8e59d182..cc04e4977ba 100644 --- a/games/imaze/distinfo +++ b/games/imaze/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2006/01/12 22:17:41 joerg Exp $ +$NetBSD: distinfo,v 1.7 2010/01/29 23:24:15 joerg Exp $ SHA1 (imaze-sounds.tar) = 976b1acb2da35f5c69c4d867873f65162ae33ecc RMD160 (imaze-sounds.tar) = 6e6ea9313ab9c733486f11f2c6a9e8e09f97401e @@ -6,8 +6,8 @@ Size (imaze-sounds.tar) = 516096 bytes SHA1 (imaze1.3.tar.Z) = 92938b445f649ab72c2e1ac902a9ddc56a273321 RMD160 (imaze1.3.tar.Z) = f26b891dbfb17b102bfa4a32a408ce68c63a02da Size (imaze1.3.tar.Z) = 233695 bytes -SHA1 (patch-aa) = cd2fa9e2d93e2f2ee1845c9c4fc3fc66ffd23711 -SHA1 (patch-ab) = 19f3dfafa9126b3352b938610f77f1b7144a1aa3 +SHA1 (patch-aa) = 381e0059ca036cba8701a77ecad4fc664d196584 +SHA1 (patch-ab) = 432999c50d1b197e77bd3c0f9bf17aa02b8ead31 SHA1 (patch-ac) = dcd117f666f7f5b489e8469ca5e19c9d8464264f SHA1 (patch-ad) = df3416e378d17152ffc1dbb8f9b61645d92c015c SHA1 (patch-ae) = 9d7dda04317b9ba5d5755dd77a80a932f6499d81 diff --git a/games/imaze/patches/patch-aa b/games/imaze/patches/patch-aa index b0c364622d1..5322af90f28 100644 --- a/games/imaze/patches/patch-aa +++ b/games/imaze/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 2001/07/04 02:23:27 jlam Exp $ +$NetBSD: patch-aa,v 1.6 2010/01/29 23:24:15 joerg Exp $ --- source/Makefile.orig Thu Feb 22 17:01:18 1996 +++ source/Makefile @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.5 2001/07/04 02:23:27 jlam Exp $ #DEFINES= -BINDIR=.. -+BINDIR=$(PREFIX)/bin ++BINDIR=${DESTDIR}$(PREFIX)/bin COPT=-O #CC= @@ -31,7 +31,7 @@ $NetBSD: patch-aa,v 1.5 2001/07/04 02:23:27 jlam Exp $ LD=$(CC) -INSTALL=install -s -m 755 -+INSTALL=install -c -s -o bin -g bin -m 0755 ++INSTALL=${BSD_INSTALL_PROGRAM} XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11 XVINCLUDES=-I$(OPENWINHOME)/include diff --git a/games/imaze/patches/patch-ab b/games/imaze/patches/patch-ab index 0e656299471..058d782d5f7 100644 --- a/games/imaze/patches/patch-ab +++ b/games/imaze/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:42 agc Exp $ +$NetBSD: patch-ab,v 1.3 2010/01/29 23:24:15 joerg Exp $ --- /dev/null Thu Jul 30 00:12:10 1998 +++ Makefile Thu Jul 30 00:24:00 1998 @@ -7,10 +7,10 @@ $NetBSD: patch-ab,v 1.2 1998/08/07 10:40:42 agc Exp $ +all: + cd source && make netbsd +install: -+ $(INSTALL) man6/* $(PREFIX)/man/man6 -+ mkdir -p $(PREFIX)/share/imaze/sound -+ mkdir -p $(PREFIX)/share/imaze/labs -+ $(INSTALL) labs/* $(PREFIX)/share/imaze/labs -+ $(INSTALL) sounds/* $(PREFIX)/share/imaze/sound -+ $(INSTALL) IMaze.ad $(PREFIX)/lib/X11/app-defaults/IMaze ++ $(INSTALL) man6/* ${DESTDIR}$(PREFIX)/man/man6 ++ mkdir -p ${DESTDIR}$(PREFIX)/share/imaze/sound ++ mkdir -p ${DESTDIR}$(PREFIX)/share/imaze/labs ++ $(INSTALL) labs/* ${DESTDIR}$(PREFIX)/share/imaze/labs ++ $(INSTALL) sounds/* ${DESTDIR}$(PREFIX)/share/imaze/sound ++ $(INSTALL) IMaze.ad ${DESTDIR}$(PREFIX)/lib/X11/app-defaults/IMaze + cd source && make install diff --git a/games/jools/Makefile b/games/jools/Makefile index db6b7a7dd62..6fd8994a4c5 100644 --- a/games/jools/Makefile +++ b/games/jools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/02/09 22:56:24 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2010/01/29 23:24:40 joerg Exp $ # DISTNAME= jools-0.20 @@ -11,15 +11,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.eecs.umich.edu/~pelzlpj/jools/ COMMENT= Bejeweled clone +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= ${PYPKGPREFIX}-game>=1.4:../../devel/py-game PYDISTUTILSPKG= YES post-install: - ${INSTALL_DATA} ${WRKDIR}/README ${PREFIX}/share/jools/music - ${INSTALL_DATA} ${WRKDIR}/timed/* ${PREFIX}/share/jools/music/timed - ${INSTALL_DATA} ${WRKDIR}/title/* ${PREFIX}/share/jools/music/title - ${INSTALL_DATA} ${WRKDIR}/untimed/* ${PREFIX}/share/jools/music/untimed + ${INSTALL_DATA} ${WRKDIR}/README ${DESTDIR}${PREFIX}/share/jools/music + ${INSTALL_DATA} ${WRKDIR}/timed/* ${DESTDIR}${PREFIX}/share/jools/music/timed + ${INSTALL_DATA} ${WRKDIR}/title/* ${DESTDIR}${PREFIX}/share/jools/music/title + ${INSTALL_DATA} ${WRKDIR}/untimed/* ${DESTDIR}${PREFIX}/share/jools/music/untimed .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" |