pkgsrc/security/prelude-lml/patches/patch-ab
2006-05-20 19:12:32 +00:00

42 lines
3.4 KiB
Text

$NetBSD: patch-ab,v 1.2 2006/05/20 19:12:32 joerg Exp $
--- Makefile.in.orig 2006-05-20 18:51:30.000000000 +0000
+++ Makefile.in
@@ -695,27 +695,27 @@ uninstall-info: uninstall-info-recursive
install-data-local:
$(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir)
- @if test -f $(DESTDIR)$(configdir)/prelude-lml.conf; then \
+ @if test -f $(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf; then \
echo "********************************************************************************"; \
echo; \
- echo "$(DESTDIR)$(configdir)/prelude-lml.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-lml.conf-dist"; \
+ echo "$(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf already exist..."; \
+ echo "Installing default configuration in $(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf-dist"; \
echo; \
echo "********************************************************************************"; \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist; \
+ $(BSD_INSTALL_DATA) $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf-dist; \
else \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/; \
+ $(BSD_INSTALL_DATA) $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(prefix)/share/examples/prelude-lml/; \
fi
- @if test -f $(DESTDIR)$(configdir)/plugins.rules; then \
+ @if test -f $(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules; then \
echo "********************************************************************************"; \
echo; \
- echo "$(DESTDIR)$(configdir)/plugins.rules already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(configdir)/plugins.rules-dist"; \
+ echo "$(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules already exist..."; \
+ echo "Installing default configuration in $(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules-dist"; \
echo; \
echo "********************************************************************************"; \
- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist; \
+ $(BSD_INSTALL_DATA) $(top_srcdir)/plugins.rules $(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules-dist; \
else \
- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/; \
+ $(BSD_INSTALL_DATA) $(top_srcdir)/plugins.rules $(DESTDIR)$(prefix)/share/examples/prelude-lml/; \
fi
uninstall-local: