diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 23:01:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 23:01:53 +0000 |
commit | 26ea797ff15ba518cfc8f0aeebe337aa37da66cf (patch) | |
tree | 5e367561d2fd2a0e21379350aae8f8561765e096 /games/greed/patches/patch-aa | |
parent | 65b4b75a556a86933b6358082859597505cd6372 (diff) | |
download | pkgsrc-26ea797ff15ba518cfc8f0aeebe337aa37da66cf.tar.gz |
DESTDIR support
Diffstat (limited to 'games/greed/patches/patch-aa')
-rw-r--r-- | games/greed/patches/patch-aa | 6 |
1 files changed, 3 insertions, 3 deletions
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 |