diff options
author | joerg <joerg> | 2010-01-29 23:35:57 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-29 23:35:57 +0000 |
commit | b1eea50d655d851e1791d40bc00014f2399ba23d (patch) | |
tree | b1b5d1c01e1ed63f3221ab76c5509bd940e3e13a | |
parent | 31d32c0d7412f636966bfd11fce75210ace1aa6d (diff) | |
download | pkgsrc-b1eea50d655d851e1791d40bc00014f2399ba23d.tar.gz |
DESTDIR support
-rw-r--r-- | games/lbreakout/Makefile | 4 | ||||
-rw-r--r-- | games/lbreakout/distinfo | 4 | ||||
-rw-r--r-- | games/lbreakout/patches/patch-ab | 5 | ||||
-rw-r--r-- | games/lgeneral-data/Makefile | 9 | ||||
-rw-r--r-- | games/lincity/Makefile | 13 | ||||
-rw-r--r-- | games/moon-buggy/Makefile | 4 |
6 files changed, 24 insertions, 15 deletions
diff --git a/games/lbreakout/Makefile b/games/lbreakout/Makefile index 8e32f91168a..e76b0e19f85 100644 --- a/games/lbreakout/Makefile +++ b/games/lbreakout/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2007/12/13 11:17:19 rillig Exp $ +# $NetBSD: Makefile,v 1.31 2010/01/29 23:35:57 joerg Exp $ DISTNAME= lbreakout-010315 PKGREVISION= 10 @@ -9,6 +9,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://lgames.sourceforge.net/ COMMENT= Breakout-style arcade game +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES CONFIGURE_ENV+= VARBASE=${VARBASE:Q} CONFIGURE_ARGS+= --disable-sound diff --git a/games/lbreakout/distinfo b/games/lbreakout/distinfo index b53792d1f34..abafb5a0c32 100644 --- a/games/lbreakout/distinfo +++ b/games/lbreakout/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.9 2007/12/13 11:17:19 rillig Exp $ +$NetBSD: distinfo,v 1.10 2010/01/29 23:35:57 joerg Exp $ SHA1 (lbreakout-010315.tar.gz) = 9385f4690aee645955acb23d8481957aaaf0e2fb RMD160 (lbreakout-010315.tar.gz) = ecb5784ec9475766035fabd84609c8a71581219d Size (lbreakout-010315.tar.gz) = 655418 bytes SHA1 (patch-aa) = 42dbfbf5cdbbe72b652319dc7e43867fa1907c76 -SHA1 (patch-ab) = 7440e75129b56c9d0f340d8695771375e22da794 +SHA1 (patch-ab) = 5eb50dd1e4925ac9ad9469b03b92ca351baad305 SHA1 (patch-ac) = 0dd6692789e41eb0f32d34dc2f4efd9efc1fec8a diff --git a/games/lbreakout/patches/patch-ab b/games/lbreakout/patches/patch-ab index 4fd216bcf5c..60d2e72b95c 100644 --- a/games/lbreakout/patches/patch-ab +++ b/games/lbreakout/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2007/12/13 11:17:19 rillig Exp $ +$NetBSD: patch-ab,v 1.5 2010/01/29 23:35:58 joerg Exp $ --- lbreakout/Makefile.in.orig 2001-03-15 15:28:10.000000000 +0000 +++ lbreakout/Makefile.in @@ -11,13 +11,12 @@ $NetBSD: patch-ab,v 1.4 2007/12/13 11:17:19 rillig Exp $ EXTRA_SUBDIRS = manual -@@ -353,7 +353,8 @@ install-data-local: +@@ -353,7 +353,7 @@ install-data-local: $(INSTALL_DATA) wontgiveup.wav $(DESTDIR)$(sdir)/wontgiveup.wav $(INSTALL_DATA) speedup.wav $(DESTDIR)$(sdir)/speedup.wav $(INSTALL_DATA) speeddown.wav $(DESTDIR)$(sdir)/speeddown.wav - $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr + $(INSTALL_DATA) -m 444 lbreakout.hscr $(DESTDIR)$(sdir)/lbreakout.hscr -+ [ -f $(DESTDIR)$(hdir)/lbreakout.hscr ] || $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr uninstall-local: rm -fr $(DESTDIR)$(sdir) diff --git a/games/lgeneral-data/Makefile b/games/lgeneral-data/Makefile index 03e61327b96..55c8eaae0c1 100644 --- a/games/lgeneral-data/Makefile +++ b/games/lgeneral-data/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:29:42 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2010/01/29 23:38:18 joerg Exp $ # DISTNAME= lgeneral-data-1.1.3 @@ -10,8 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://lgames.sourceforge.net/index.php?project=LGeneral COMMENT= Panzer General data files for lgeneral +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= lgeneral>=1.1.1:../../games/lgeneral GNU_CONFIGURE= YES +INSTALLATION_DIRS+= share/games/lgeneral/nations \ + share/games/lgeneral/gfx/flags \ + share/games/lgeneral/gfx/units \ + share/games/lgeneral/units + .include "../../mk/bsd.pkg.mk" diff --git a/games/lincity/Makefile b/games/lincity/Makefile index 4ca6e0fabe8..18b945a3d5a 100644 --- a/games/lincity/Makefile +++ b/games/lincity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/01/19 09:16:21 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2010/01/29 23:39:30 joerg Exp $ DISTNAME= lincity-1.12.1 PKGREVISION= 1 @@ -9,20 +9,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://lincity.sourceforge.net/ COMMENT= Free clone of SimCity for X11 +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake msgfmt USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes CHECK_INTERPRETER_SKIP+= share/lincity/icons/* -pre-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/lincity/help - ${INSTALL_DATA_DIR} ${PREFIX}/share/lincity/icons - ${INSTALL_DATA_DIR} ${PREFIX}/share/lincity/messages - ${INSTALL_DATA_DIR} ${PREFIX}/share/lincity/opening +INSTALLATION_DIRS+= share/lincity/help share/lincity/icons \ + share/lincity/messages share/lincity/opening post-install: - ${LN} -sf lincity.6 ${PREFIX}/${PKGMANDIR}/man6/xlincity.6 + ${LN} -sf lincity.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xlincity.6 BUILDLINK_DEPMETHOD.libXt?= build diff --git a/games/moon-buggy/Makefile b/games/moon-buggy/Makefile index 559145fa796..375a01ef809 100644 --- a/games/moon-buggy/Makefile +++ b/games/moon-buggy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/03/04 11:02:24 rillig Exp $ +# $NetBSD: Makefile,v 1.6 2010/01/29 23:39:48 joerg Exp $ # DISTNAME= moon-buggy-1.0 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://seehuhn.de/media/programs/ COMMENT= Game on the Moon +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sharedstatedir=${VARBASE}/games |