diff options
author | joerg <joerg> | 2010-02-14 22:28:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-14 22:28:55 +0000 |
commit | bdea7d698bf8f48f06a64cd632b7d383e94a3236 (patch) | |
tree | 9702028a71c4f308698702aa12c90851f43f2704 /games/xsoldier | |
parent | c54fca9f47928f265171f18be51a256209b4e3e2 (diff) | |
download | pkgsrc-bdea7d698bf8f48f06a64cd632b7d383e94a3236.tar.gz |
DESTDIR support. SETGIDGAME. Bump revision.
Diffstat (limited to 'games/xsoldier')
-rw-r--r-- | games/xsoldier/Makefile | 9 | ||||
-rw-r--r-- | games/xsoldier/distinfo | 4 | ||||
-rw-r--r-- | games/xsoldier/patches/patch-aa | 8 |
3 files changed, 13 insertions, 8 deletions
diff --git a/games/xsoldier/Makefile b/games/xsoldier/Makefile index 49f2375b562..34d5d4d4fbe 100644 --- a/games/xsoldier/Makefile +++ b/games/xsoldier/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.20 2008/01/19 09:16:23 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2010/02/14 22:28:55 joerg Exp $ # DISTNAME= xsoldier-0.96 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games x11 MASTER_SITES= http://www.interq.or.jp/libra/oohara/xsoldier/ @@ -10,6 +10,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.interq.or.jp/libra/oohara/xsoldier/ COMMENT= Updated xgalaga type game with awesome graphics +PKG_DESTDIR_SUPPORT= user-destdir + +SETGIDGAME= yes +SPECIAL_PERMS+= bin/xsoldier ${SETGID_GAMES_PERMS} + USE_IMAKE= YES NO_INSTALL_MANPAGES= YES diff --git a/games/xsoldier/distinfo b/games/xsoldier/distinfo index f54d237aec3..d7321d69d3c 100644 --- a/games/xsoldier/distinfo +++ b/games/xsoldier/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 23:12:05 agc Exp $ +$NetBSD: distinfo,v 1.6 2010/02/14 22:28:55 joerg Exp $ SHA1 (xsoldier-0.96.tar.gz) = af16dbe1506cdd519a099ed58e26a5569400bea2 RMD160 (xsoldier-0.96.tar.gz) = 2bf1d002b5a6e28af55c28f04cbda9fddd7bf1b8 Size (xsoldier-0.96.tar.gz) = 82413 bytes -SHA1 (patch-aa) = 26eb8778cf418e092e321bed04aee302135d2cbc +SHA1 (patch-aa) = 570cc200b43deddebe84c5ced90593816f943044 SHA1 (patch-ab) = 464407fb6e9e0af33b57d7dfc17a58acb1591f0a SHA1 (patch-ac) = 3551fd7507aa0ff8faeb9cdc8e2addc03dbc1274 SHA1 (patch-ad) = 5689b9f211b89aebbc65eeabaac35531ab3ab819 diff --git a/games/xsoldier/patches/patch-aa b/games/xsoldier/patches/patch-aa index 18830af7a57..066050ac41e 100644 --- a/games/xsoldier/patches/patch-aa +++ b/games/xsoldier/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.4 2001/09/14 03:48:07 jlam Exp $ +$NetBSD: patch-aa,v 1.5 2010/02/14 22:28:55 joerg Exp $ --- Imakefile.orig Fri Feb 28 08:48:57 1997 +++ Imakefile Mon Sep 14 16:52:46 1998 @@ -11,12 +11,12 @@ @@ -8,9 +8,9 @@ $NetBSD: patch-aa,v 1.4 2001/09/14 03:48:07 jlam Exp $ -PIXMAPDIR = /usr/local/games/lib/xsoldier -SCOREDIR = /usr/local/games/lib/xsoldier -BINDIR = /usr/local/games -+PIXMAPDIR = $(PREFIX)/share/xsoldier ++PIXMAPDIR = ${DESTDIR}$(PREFIX)/share/xsoldier +SCOREDIR = /var/games/ -+BINDIR = $(PREFIX)/bin ++BINDIR = ${DESTDIR}$(PREFIX)/bin /* スコアファイル名.SCOREDIR 以下に置かれます. */ -SCOREFILE = .scorefile @@ -36,5 +36,5 @@ $NetBSD: patch-aa,v 1.4 2001/09/14 03:48:07 jlam Exp $ @if [ -d $(BINDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(BINDIR)); fi - $(INSTALL) -c -m 4755 $(PROGRAM) $(BINDIR)/$(PROGRAM) -+ $(INSTALL) -c -o $(BINOWN) -g games -m 2755 $(PROGRAM) $(BINDIR)/$(PROGRAM) ++ $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(BINDIR)/$(PROGRAM) @echo "install bin . done" |