pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/lmarbles Fix broken install rules and permissions.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72f0ffe9a5b5
branches:  trunk
changeset: 545186:72f0ffe9a5b5
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Jul 27 22:35:17 2008 +0000

description:
Fix broken install rules and permissions.

diffstat:

 games/lmarbles/Makefile         |   6 +++---
 games/lmarbles/distinfo         |   3 ++-
 games/lmarbles/patches/patch-ac |  17 +++++++++++++++++
 3 files changed, 22 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r cb538e9d5daf -r 72f0ffe9a5b5 games/lmarbles/Makefile
--- a/games/lmarbles/Makefile   Sun Jul 27 22:24:39 2008 +0000
+++ b/games/lmarbles/Makefile   Sun Jul 27 22:35:17 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/06/14 09:22:40 obache Exp $
+# $NetBSD: Makefile,v 1.12 2008/07/27 22:35:17 dholland Exp $
 
 DISTNAME=      lmarbles-1.0.7
 PKGREVISION=   6
@@ -43,9 +43,9 @@
 
 post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${DOC_DIR}
-       for d in ${WRKSRC}/src/manual/*; do                             \
+       (cd ${WRKSRC}/src/manual; for d in *; do                        \
                ${INSTALL_DATA} $${d} ${DESTDIR}${DOC_DIR}/$${d};       \
-       done
+       done)
        ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLES_DIR}
        ${INSTALL_DATA} ${WRKSRC}/src/empty.prfs                        \
                ${DESTDIR}${EXAMPLES_DIR}/lmarbles.prfs
diff -r cb538e9d5daf -r 72f0ffe9a5b5 games/lmarbles/distinfo
--- a/games/lmarbles/distinfo   Sun Jul 27 22:24:39 2008 +0000
+++ b/games/lmarbles/distinfo   Sun Jul 27 22:35:17 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/04/16 14:51:59 cube Exp $
+$NetBSD: distinfo,v 1.5 2008/07/27 22:35:17 dholland Exp $
 
 SHA1 (lmarbles-1.0.7.tar.gz) = 25b0a635f53a3ab351247ac2820cbd6951d7050d
 RMD160 (lmarbles-1.0.7.tar.gz) = 5fc90ff923848496b1fbce63473a22fcc716c345
 Size (lmarbles-1.0.7.tar.gz) = 829635 bytes
 SHA1 (patch-aa) = b453e75a29848a470275d06bc97e9fe09a12e1b8
 SHA1 (patch-ab) = dfbb9afc0860f9ea1154de35c46f4e8ad8eef840
+SHA1 (patch-ac) = 9f82e82c946f7ded444fd7bf054838e1203a427e
diff -r cb538e9d5daf -r 72f0ffe9a5b5 games/lmarbles/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/lmarbles/patches/patch-ac   Sun Jul 27 22:35:17 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2008/07/27 22:35:17 dholland Exp $
+
+--- src/Makefile.in.orig       2004-06-14 04:28:42.000000000 -0400
++++ src/Makefile.in    2008-07-27 17:54:33.000000000 -0400
+@@ -407,9 +407,9 @@
+       done
+ #profiles
+       $(mkinstalldirs) $(DESTDIR)$(prf_dir)
+-      if ! test -f $(DESTDIR)$(prf_dir)/lmarbles.prfs; then \
+-      $(INSTALL_DATA) -m 666 empty.prfs $(DESTDIR)$(prf_dir)/lmarbles.prfs; \
+-      fi;
++#     if ! test -f $(DESTDIR)$(prf_dir)/lmarbles.prfs; then \
++#     $(INSTALL_DATA) -m 666 empty.prfs $(DESTDIR)$(prf_dir)/lmarbles.prfs; \
++#     fi;
+ 
+ uninstall-local:
+       rm -rf $(DESTDIR)$(inst_dir)



Home | Main Index | Thread Index | Old Index