summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-05-25 06:11:46 +0000
committerobache <obache@pkgsrc.org>2011-05-25 06:11:46 +0000
commitc47b0a983acafea251d1b9f15a98bbd2b124505a (patch)
tree176bb4847fd83c7ca37ce5c0e66d2c9d6b7aa12f /games
parent87c6d5b49399c43464981d032c87a20c8cca6f02 (diff)
downloadpkgsrc-c47b0a983acafea251d1b9f15a98bbd2b124505a.tar.gz
* set LICENSE=gnu-gpl-v2.
* add user-destdir installation support.
Diffstat (limited to 'games')
-rw-r--r--games/wormz/Makefile5
-rw-r--r--games/wormz/distinfo4
-rw-r--r--games/wormz/patches/patch-aa21
3 files changed, 23 insertions, 7 deletions
diff --git a/games/wormz/Makefile b/games/wormz/Makefile
index 44d5d0da8ed..7d3db44a629 100644
--- a/games/wormz/Makefile
+++ b/games/wormz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/01/19 09:16:22 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2011/05/25 06:11:46 obache Exp $
#
DISTNAME= Wormz-1.0b5
@@ -10,6 +10,9 @@ MASTER_SITES= http://lide.punknet.cz/miri/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lide.punknet.cz/miri/Wormz.html
COMMENT= Networked game for X11
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/Wormz
USE_LANGUAGES= c c++
diff --git a/games/wormz/distinfo b/games/wormz/distinfo
index da3531fc1da..ad572ec2273 100644
--- a/games/wormz/distinfo
+++ b/games/wormz/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2008/07/10 13:09:58 joerg Exp $
+$NetBSD: distinfo,v 1.11 2011/05/25 06:11:46 obache Exp $
SHA1 (Wormz-1.0b5.tar.gz) = a5e45e90fcc0eb4d188508bdffe71220ddcd20a4
RMD160 (Wormz-1.0b5.tar.gz) = 38411dcc3611d70d5873bf512439cd707372ef9e
Size (Wormz-1.0b5.tar.gz) = 436954 bytes
-SHA1 (patch-aa) = f67e29081df0f51dff8eea820425e0a767d87274
+SHA1 (patch-aa) = 4aaf583300a445de33651983433199c3c503e77c
SHA1 (patch-ab) = b549a5afb22695695bbc1f6c07836632ea57bc65
SHA1 (patch-ac) = 7a7764b24bd5c1c6f5121508b9bf618a71cdc8de
SHA1 (patch-ad) = 8754a4a826273354e5b98586c44add9b818a3d53
diff --git a/games/wormz/patches/patch-aa b/games/wormz/patches/patch-aa
index 3ad774973d4..1d9dbcdc341 100644
--- a/games/wormz/patches/patch-aa
+++ b/games/wormz/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2006/04/21 09:00:23 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2011/05/25 06:11:46 obache Exp $
--- Makefile.orig 1998-07-14 13:41:40.000000000 +0000
+++ Makefile
@@ -124,7 +124,7 @@ $NetBSD: patch-aa,v 1.4 2006/04/21 09:00:23 joerg Exp $
Client-target: $(TargetClient)
-@@ -178,14 +188,14 @@ PathConfig=include/PathConfig.hh
+@@ -178,22 +188,22 @@ PathConfig=include/PathConfig.hh
Create-PathConfig:
echo '#ifndef _PathConfig_hh_' > $(PathConfig)
echo '#define _PathConfig_hh_' >> $(PathConfig)
@@ -137,7 +137,20 @@ $NetBSD: patch-aa,v 1.4 2006/04/21 09:00:23 joerg Exp $
install-client2:
- $(INSTALLBIN) $(TargetClient) $(LibInstallPath)$(TargetNameClient)
-+ $(INSTALLBIN) $(TargetClient) $(BinInstallPath)$(TargetNameClient)
++ $(INSTALLBIN) $(TargetClient) $(DESTDIR)$(BinInstallPath)$(TargetNameClient)
install: all
- $(INSTALLDIR) $(BinInstallPath)
+- $(INSTALLDIR) $(BinInstallPath)
+- $(INSTALLDIR) $(LibInstallPath)
+- $(INSTALLBIN) $(TargetRunner) $(BinInstallPath)$(TargetNameRunner)
+- $(INSTALLBIN) $(TargetServer) $(BinInstallPath)$(TargetNameServer)
++ $(INSTALLDIR) $(DESTDIR)$(BinInstallPath)
++ $(INSTALLDIR) $(DESTDIR)$(LibInstallPath)
++ $(INSTALLBIN) $(TargetRunner) $(DESTDIR)$(BinInstallPath)$(TargetNameRunner)
++ $(INSTALLBIN) $(TargetServer) $(DESTDIR)$(BinInstallPath)$(TargetNameServer)
+ for i in $(AllDepths); do Depth=$$i $(MAKE) install-client2 ; done
+- $(INSTALL) images/* $(LibInstallPath)
++ $(INSTALL) images/* $(DESTDIR)$(LibInstallPath)
+
+ include $(DEPEND)
+