summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-12-27 21:13:34 +0000
committerreed <reed@pkgsrc.org>2005-12-27 21:13:34 +0000
commit118921ec813370a7564660501376290107ce4f6d (patch)
tree3061f6f658478fa4f994031ba0dd708e31369716 /games
parent147ba134c7452c72e1a88b22757515f53c5eb813 (diff)
downloadpkgsrc-118921ec813370a7564660501376290107ce4f6d.tar.gz
Update patch-aa to use PKGMANDIR.
Also use INSTALLATION_DIRS to precreate the needed man page directory.
Diffstat (limited to 'games')
-rw-r--r--games/defendguin/Makefile4
-rw-r--r--games/defendguin/distinfo4
-rw-r--r--games/defendguin/patches/patch-aa17
3 files changed, 19 insertions, 6 deletions
diff --git a/games/defendguin/Makefile b/games/defendguin/Makefile
index e88e7a5f719..0945349fdbe 100644
--- a/games/defendguin/Makefile
+++ b/games/defendguin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/12/11 09:40:41 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2005/12/27 21:13:34 reed Exp $
DISTNAME= defendguin-0.0.10
PKGREVISION= 5
@@ -12,5 +12,7 @@ COMMENT= Clone of the arcade game Defender
USE_TOOLS+= gmake
+INSTALLATION_DIRS= ${PKGMANDIR}/man6
+
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/defendguin/distinfo b/games/defendguin/distinfo
index 96c64ce1802..a245761292d 100644
--- a/games/defendguin/distinfo
+++ b/games/defendguin/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:11:56 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/12/27 21:13:34 reed Exp $
SHA1 (defendguin-0.0.10.tar.gz) = 3d43e9335dcc9c00c81151761cea01f914b34f1b
RMD160 (defendguin-0.0.10.tar.gz) = 752886000a2ea0d472d5c7e1108a6d10ebcfc8e3
Size (defendguin-0.0.10.tar.gz) = 2299261 bytes
-SHA1 (patch-aa) = 7da312b35c4885370f7b6eedfea457e716dbba43
+SHA1 (patch-aa) = 02778ce30ff18cc907837bc325ac252b6c09ab8b
diff --git a/games/defendguin/patches/patch-aa b/games/defendguin/patches/patch-aa
index d5bd49ef77b..b99d8f2d67c 100644
--- a/games/defendguin/patches/patch-aa
+++ b/games/defendguin/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/06/03 14:32:21 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2005/12/27 21:13:34 reed Exp $
---- Makefile.orig Sat Jan 5 17:09:37 2002
-+++ Makefile Fri Nov 1 15:25:12 2002
+--- Makefile.orig 2002-01-05 17:09:37.000000000 -0800
++++ Makefile
@@ -11,7 +11,9 @@
CFLAGS=-Wall -O2
@@ -12,3 +12,14 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/06/03 14:32:21 wiz Exp $
MAN_PREFIX=$(PREFIX)
BIN_PREFIX=$(PREFIX)/bin
DATA_PREFIX=$(PREFIX)/share/defendguin/
+@@ -42,8 +44,8 @@ install: defendguin
+ chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
+ cp defendguin $(BIN_PREFIX)/
+ chmod a+rx,g-w,o-w $(BIN_PREFIX)/defendguin
+- cp defendguin.6 $(MAN_PREFIX)/man/man6/
+- chmod a+rx,g-w,o-w $(MAN_PREFIX)/man/man6/defendguin.6
++ cp defendguin.6 $(MAN_PREFIX)/$(PKGMANDIR)/man6/
++ chmod a+rx,g-w,o-w $(MAN_PREFIX)/$(PKGMANDIR)/man6/defendguin.6
+
+ uninstall:
+ -rm -r $(DATA_PREFIX)