pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xjump Use INSTALL_GAME instead of INSTALL -m game



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c80f449197a
branches:  trunk
changeset: 502567:7c80f449197a
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sun Nov 06 19:25:23 2005 +0000

description:
Use INSTALL_GAME instead of INSTALL -m game
Honor VARBASE, instead of hardcoded /var

diffstat:

 games/xjump/Makefile         |  6 ++++--
 games/xjump/distinfo         |  4 ++--
 games/xjump/patches/patch-aa |  8 ++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r cdfb7a51fee9 -r 7c80f449197a games/xjump/Makefile
--- a/games/xjump/Makefile      Sun Nov 06 17:40:47 2005 +0000
+++ b/games/xjump/Makefile      Sun Nov 06 19:25:23 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2005/06/16 06:57:56 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2005/11/06 19:25:23 tonio Exp $
 
 DISTNAME=              xjump_2.7.5.orig
 PKGNAME=               xjump-2.7.5
+PKGREVISION=           1
 CATEGORIES=            games
 MASTER_SITES=          ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/\
                        http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/x/xjump/
@@ -13,9 +14,10 @@
 WRKSRC=                        ${WRKDIR}/xjump-2.7.5.orig
 BUILD_TARGET=          xjump
 INSTALLATION_DIRS=     bin
+MAKE_ENV+=             VARBASE=${VARBASE}
 
 do-install:
-       ${INSTALL} -g games -m 2755 ${WRKSRC}/xjump ${PREFIX}/bin/xjump
+       ${INSTALL_GAME} ${WRKSRC}/xjump ${PREFIX}/bin/xjump
 
 .include "../../graphics/xpm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r cdfb7a51fee9 -r 7c80f449197a games/xjump/distinfo
--- a/games/xjump/distinfo      Sun Nov 06 17:40:47 2005 +0000
+++ b/games/xjump/distinfo      Sun Nov 06 19:25:23 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/03/16 20:10:56 rillig Exp $
+$NetBSD: distinfo,v 1.4 2005/11/06 19:25:23 tonio Exp $
 
 SHA1 (xjump_2.7.5.orig.tar.gz) = 7cf7f1269ef2cd0640575f924f6e7a39668939f2
 RMD160 (xjump_2.7.5.orig.tar.gz) = 4f801e6306aafff9b56da86cd3f7ecc7d1a5e0e7
 Size (xjump_2.7.5.orig.tar.gz) = 15940 bytes
-SHA1 (patch-aa) = c69b7c280b025fa45b3c0d12bb6bf3684891058c
+SHA1 (patch-aa) = 14078f2f08eb7905535c954b8aae78a3ab84f269
 SHA1 (patch-ab) = c2031755f1faac0edb9a41b15cf29836b8732162
 SHA1 (patch-ac) = 3a8c3575119330d313709c4f99108c2157c22d01
diff -r cdfb7a51fee9 -r 7c80f449197a games/xjump/patches/patch-aa
--- a/games/xjump/patches/patch-aa      Sun Nov 06 17:40:47 2005 +0000
+++ b/games/xjump/patches/patch-aa      Sun Nov 06 19:25:23 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/03/12 00:01:18 snj Exp $
+$NetBSD: patch-aa,v 1.2 2005/11/06 19:25:23 tonio Exp $
 
---- Makefile.orig      2002-01-24 03:44:14.000000000 -0800
-+++ Makefile   2004-03-11 15:41:57.000000000 -0800
+--- Makefile.orig      2002-01-24 12:44:14.000000000 +0100
++++ Makefile
 @@ -1,13 +1,12 @@
  ########################################################
  
@@ -23,7 +23,7 @@
  
  # ¥ì¥³¡¼¥É¥Õ¥¡¥¤¥ë¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄê
 -RECORD_DIR  = /var/games/xjump
-+RECORD_DIR  = /var/games
++RECORD_DIR  = ${VARBASE}/games
  
  #¥ì¥³¡¼¥É¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ë̾¤ò»ØÄê(Ãí¡§¤³¤ì¤Ï¥Ð¥¤¥Ê¥ê¤ËËä¤á¹þ¤Þ¤ì¤Þ¤¹)
 -RECORD_FILE  = $(RECORD_DIR)/record



Home | Main Index | Thread Index | Old Index