summaryrefslogtreecommitdiff
path: root/games/greed
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 23:01:53 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 23:01:53 +0000
commit26ea797ff15ba518cfc8f0aeebe337aa37da66cf (patch)
tree5e367561d2fd2a0e21379350aae8f8561765e096 /games/greed
parent65b4b75a556a86933b6358082859597505cd6372 (diff)
downloadpkgsrc-26ea797ff15ba518cfc8f0aeebe337aa37da66cf.tar.gz
DESTDIR support
Diffstat (limited to 'games/greed')
-rw-r--r--games/greed/Makefile4
-rw-r--r--games/greed/distinfo4
-rw-r--r--games/greed/patches/patch-aa6
3 files changed, 8 insertions, 6 deletions
diff --git a/games/greed/Makefile b/games/greed/Makefile
index 58e223e519e..a48fa96905f 100644
--- a/games/greed/Makefile
+++ b/games/greed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:24 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/29 23:08:08 joerg Exp $
#
DISTNAME= greed-3.4
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.catb.org/~esr/greed/
COMMENT= Strategy game: eat as much as possible
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= greed
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
diff --git a/games/greed/distinfo b/games/greed/distinfo
index b9b4daa7fbc..ec75b1f6f62 100644
--- a/games/greed/distinfo
+++ b/games/greed/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2007/05/15 13:28:21 obache Exp $
+$NetBSD: distinfo,v 1.4 2010/01/29 23:08:08 joerg Exp $
SHA1 (greed-3.4.tar.gz) = d70bd592378531d6726dfe00d3627e13b9dd9cce
RMD160 (greed-3.4.tar.gz) = 13c432c030d333d0b6722263067dfab2fb2cf26e
Size (greed-3.4.tar.gz) = 11463 bytes
-SHA1 (patch-aa) = 53acf3944f5e59dc7862196168aeb5c5882cae89
+SHA1 (patch-aa) = aaae80b12f8754991f769546e6a5f627ec1a0df8
SHA1 (patch-ab) = 7c1e486d202d46af857da983d90e72478c08ef20
diff --git a/games/greed/patches/patch-aa b/games/greed/patches/patch-aa
index 5e313edb623..e329fb50033 100644
--- a/games/greed/patches/patch-aa
+++ b/games/greed/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2010/01/29 23:08:08 joerg Exp $
--- Makefile.orig 2002-07-30 22:04:21.000000000 +0000
+++ Makefile
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
+SFILE=${PREFIX}/share/games/greed.hs
# Location of game executable
-BIN=/usr/games
-+BIN=${PREFIX}/bin
++BIN=${DESTDIR}${PREFIX}/bin
# Flags for use with the Linux ncurses package (recommended)
-CFLAGS = -O -s -DNOTBSD
@@ -24,7 +24,7 @@ $NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
install: greed.6 uninstall
cp greed $(BIN)
- cp greed.6 /usr/share/man/man6/greed.6
-+ cp greed.6 $(PREFIX)/$(PKGMANDIR)/man6
++ cp greed.6 ${DESTDIR}$(PREFIX)/$(PKGMANDIR)/man6
uninstall:
rm -f $(BIN)/install /usr/share/man/man6/greed.6