summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordholland <dholland>2008-07-27 22:35:17 +0000
committerdholland <dholland>2008-07-27 22:35:17 +0000
commitf197346de0d61670ec4d706fa4519d9cc54c79a1 (patch)
treebe58a164a6a0f2118f9ddf0eb1beb978edd5b072 /games
parenta32bab9eb503e472b5eede474251537366d47ec5 (diff)
downloadpkgsrc-f197346de0d61670ec4d706fa4519d9cc54c79a1.tar.gz
Fix broken install rules and permissions.
Diffstat (limited to 'games')
-rw-r--r--games/lmarbles/Makefile6
-rw-r--r--games/lmarbles/distinfo3
-rw-r--r--games/lmarbles/patches/patch-ac17
3 files changed, 22 insertions, 4 deletions
diff --git a/games/lmarbles/Makefile b/games/lmarbles/Makefile
index 32d2e385abe..a0d8caf01ef 100644
--- a/games/lmarbles/Makefile
+++ b/games/lmarbles/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --enable-ascii
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 --git a/games/lmarbles/distinfo b/games/lmarbles/distinfo
index 5bcc5b14760..df74d9d78ff 100644
--- a/games/lmarbles/distinfo
+++ b/games/lmarbles/distinfo
@@ -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 --git a/games/lmarbles/patches/patch-ac b/games/lmarbles/patches/patch-ac
new file mode 100644
index 00000000000..df95a7b59c8
--- /dev/null
+++ b/games/lmarbles/patches/patch-ac
@@ -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)