Fix broken install rules and permissions.

This commit is contained in:
dholland 2008-07-27 22:35:17 +00:00
parent 806f66a194
commit a724e4f18d
3 changed files with 22 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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)