pkgsrc/graphics/gri/patches/patch-ab
adam f53265179c Changes 2.12.23:
Bug-fix release.
2012-03-07 16:29:45 +00:00

28 lines
2.2 KiB
Text

$NetBSD: patch-ab,v 1.4 2012/03/07 16:29:45 adam Exp $
--- src/Makefile.in.orig 2011-07-06 14:09:14.000000000 +0000
+++ src/Makefile.in
@@ -785,18 +785,18 @@ startup.msg-tmp: $(the_startup_file)
all-local: gri.cmd startup.msg-tmp
install-exec-local:
- mkdir -m 755 -p $(DESTDIR)$(prefix)/bin
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(prefix)/bin
$(INSTALL_SCRIPT) $(srcdir)/gri_unpage $(DESTDIR)$(prefix)/bin/gri_unpage
$(INSTALL_SCRIPT) $(srcdir)/gri_merge $(DESTDIR)$(prefix)/bin/gri_merge
install-data-local:
-@OS_IS_FINK_TRUE@ mkdir -m 755 -p $(DESTDIR)$(prefix)/share/emacs/site-lisp
+@OS_IS_FINK_TRUE@ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/emacs/site-lisp
@OS_IS_FINK_TRUE@ $(INSTALL_DATA) $(srcdir)/gri-mode.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/gri-mode.el
-@OS_IS_FINK_FALSE@@OS_IS_LINUX_DEBIAN_TRUE@ mkdir -m 755 -p $(DESTDIR)$(prefix)/share/emacs/site-lisp/gri
+@OS_IS_FINK_FALSE@@OS_IS_LINUX_DEBIAN_TRUE@ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/emacs/site-lisp/gri
@OS_IS_FINK_FALSE@@OS_IS_LINUX_DEBIAN_TRUE@ $(INSTALL_DATA) $(srcdir)/gri-mode.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/gri/gri-mode.el
-@OS_IS_FINK_FALSE@@OS_IS_LINUX_DEBIAN_FALSE@ mkdir -m 755 -p $(DESTDIR)$(prefix)/share/emacs/site-lisp
+@OS_IS_FINK_FALSE@@OS_IS_LINUX_DEBIAN_FALSE@ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/emacs/site-lisp
@OS_IS_FINK_FALSE@@OS_IS_LINUX_DEBIAN_FALSE@ $(INSTALL_DATA) $(srcdir)/gri-mode.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/gri-mode.el
- mkdir -m 755 -p $(DESTDIR)$(prefix)/share/gri
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/gri
$(INSTALL_DATA) startup.msg-tmp $(DESTDIR)$(prefix)/share/gri/startup.msg
$(INSTALL_DATA) gri.cmd $(DESTDIR)$(prefix)/share/gri/gri.cmd
$(INSTALL_DATA) rgb.txt $(DESTDIR)$(prefix)/share/gri/rgb.txt