pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aef6b6670bd6
branches:  trunk
changeset: 398325:aef6b6670bd6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 29 11:39:14 2009 +0000

description:
Convert to user-destdir.

diffstat:

 games/freesci/Makefile           |   8 +++++---
 games/tileworld/Makefile         |   4 +++-
 games/tileworld/distinfo         |   4 ++--
 games/tileworld/patches/patch-aa |  32 ++++++++++++++++----------------
 4 files changed, 26 insertions(+), 22 deletions(-)

diffs (105 lines):

diff -r 2a8ee7d31fee -r aef6b6670bd6 games/freesci/Makefile
--- a/games/freesci/Makefile    Sat Aug 29 11:37:46 2009 +0000
+++ b/games/freesci/Makefile    Sat Aug 29 11:39:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/07/22 09:01:28 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2009/08/29 11:39:14 wiz Exp $
 #
 
 DISTNAME=              freesci-0.3.5
@@ -10,6 +10,8 @@
 HOMEPAGE=              http://freesci.linuxgames.com/
 COMMENT=               Interpreter for Sierra On-Line's SCI games
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_PKGLOCALEDIR=      yes
 USE_LIBTOOL=           yes
 USE_TOOLS+=            wish:run
@@ -22,8 +24,8 @@
 REPLACE_FILES.wish=    conf/freesci-setup
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/freesci
-       ${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/examples/freesci
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/freesci
+       ${INSTALL_DATA} ${FILESDIR}/config ${DESTDIR}${PREFIX}/share/examples/freesci
 
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
diff -r 2a8ee7d31fee -r aef6b6670bd6 games/tileworld/Makefile
--- a/games/tileworld/Makefile  Sat Aug 29 11:37:46 2009 +0000
+++ b/games/tileworld/Makefile  Sat Aug 29 11:39:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/11/30 11:20:43 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2009/08/29 11:42:04 wiz Exp $
 
 DISTNAME=      tworld-1.3.0
 PKGNAME=       ${DISTNAME:S/^t/tile/}
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.muppetlabs.com/~breadbox/software/tworld/
 COMMENT=       "Game based on Chip's Challenge"
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    date gmake
 GNU_CONFIGURE= YES
 
diff -r 2a8ee7d31fee -r aef6b6670bd6 games/tileworld/distinfo
--- a/games/tileworld/distinfo  Sat Aug 29 11:37:46 2009 +0000
+++ b/games/tileworld/distinfo  Sat Aug 29 11:39:14 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2007/11/30 11:20:43 wiz Exp $
+$NetBSD: distinfo,v 1.6 2009/08/29 11:42:04 wiz Exp $
 
 SHA1 (tworld-1.3.0.tar.gz) = 21542cb012143d563232883d9337ed0e3bd06672
 RMD160 (tworld-1.3.0.tar.gz) = c4cee133bf2d3e0df2bd31a49d46d1c6628ef9a8
 Size (tworld-1.3.0.tar.gz) = 1045555 bytes
-SHA1 (patch-aa) = 3fcc14d03b35d52e15d0d4e61797bd052d413003
+SHA1 (patch-aa) = 5dddf8c3e64fdc77c28a29d423ea8505acd595c7
diff -r 2a8ee7d31fee -r aef6b6670bd6 games/tileworld/patches/patch-aa
--- a/games/tileworld/patches/patch-aa  Sat Aug 29 11:37:46 2009 +0000
+++ b/games/tileworld/patches/patch-aa  Sat Aug 29 11:39:14 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $
+$NetBSD: patch-aa,v 1.5 2009/08/29 11:42:04 wiz Exp $
 
 --- Makefile.in.orig   2006-04-16 10:18:41.000000000 +0000
 +++ Makefile.in
@@ -19,21 +19,21 @@
 -      cp -i res/*.txt $(sharedir)/res/.
 -      cp -i res/*.wav $(sharedir)/res/.
 -      cp -i docs/tworld.6 $(mandir)/man6/.
-+      ${BSD_INSTALL_DATA_DIR} $(bindir)
-+      ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets
-+      ${BSD_INSTALL_DATA_DIR} $(sharedir)/data
-+      ${BSD_INSTALL_DATA_DIR} $(sharedir)/res
-+      ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld
-+      ${BSD_INSTALL_DATA_DIR} $(mandir)/man6
-+      ${BSD_INSTALL_PROGRAM} ./tworld $(bindir)/.
-+      ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/.
-+      ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/.
-+      ${BSD_INSTALL_DATA} res/rc $(sharedir)/res/.
-+      ${BSD_INSTALL_DATA} res/*.bmp $(sharedir)/res/.
-+      ${BSD_INSTALL_DATA} res/*.txt $(sharedir)/res/.
-+      ${BSD_INSTALL_DATA} res/*.wav $(sharedir)/res/.
-+      ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/.
-+      ${BSD_INSTALL_DATA} README docs/tworld.html $(prefix)/share/doc/tworld
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(bindir)
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/sets
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/data
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/res
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)/share/doc/tworld
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(mandir)/man6
++      ${BSD_INSTALL_PROGRAM} ./tworld ${DESTDIR}$(bindir)/.
++      ${BSD_INSTALL_DATA} sets/*.dac ${DESTDIR}$(sharedir)/sets/.
++      ${BSD_INSTALL_DATA} data/*.dat ${DESTDIR}$(sharedir)/data/.
++      ${BSD_INSTALL_DATA} res/rc ${DESTDIR}$(sharedir)/res/.
++      ${BSD_INSTALL_DATA} res/*.bmp ${DESTDIR}$(sharedir)/res/.
++      ${BSD_INSTALL_DATA} res/*.txt ${DESTDIR}$(sharedir)/res/.
++      ${BSD_INSTALL_DATA} res/*.wav ${DESTDIR}$(sharedir)/res/.
++      ${BSD_INSTALL_MAN} docs/tworld.6 ${DESTDIR}$(mandir)/man6/.
++      ${BSD_INSTALL_DATA} README docs/tworld.html ${DESTDIR}$(prefix)/share/doc/tworld
  
  all: tworld mklynxcc
  



Home | Main Index | Thread Index | Old Index