summaryrefslogtreecommitdiff
path: root/games/imaze
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 23:24:15 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 23:24:15 +0000
commit9f27c5e0f620171646f9e14b842b8f1b2ca96033 (patch)
tree1d2863350db2b6df98f1766c44ac9c0e6122b0f5 /games/imaze
parent198fe9a4e5a41789273c7fc4c33f4cea00212990 (diff)
downloadpkgsrc-9f27c5e0f620171646f9e14b842b8f1b2ca96033.tar.gz
DESTDIR support
Diffstat (limited to 'games/imaze')
-rw-r--r--games/imaze/Makefile4
-rw-r--r--games/imaze/distinfo6
-rw-r--r--games/imaze/patches/patch-aa6
-rw-r--r--games/imaze/patches/patch-ab14
4 files changed, 16 insertions, 14 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