patch-Imakefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. $OpenBSD: patch-Imakefile,v 1.1 2006/11/10 17:07:18 steven Exp $
  2. --- Imakefile.orig Mon Mar 17 13:32:22 1997
  3. +++ Imakefile Fri Nov 10 11:51:42 2006
  4. @@ -1,24 +1,24 @@
  5. +XBATDIR=$(USRLIBDIR)/X11/Xbat
  6. # TOP10 DIR : directory for socre files
  7. #
  8. -SCORE_DIR = /usr/local/games/Xbat/Score
  9. +SCORE_DIR = /var/games/Xbat
  10. # IMAGE DIR : directory for image files
  11. -IMAGE_DIR = /usr/local/games/Xbat/Image
  12. +IMAGE_DIR = $(XBATDIR)/Image
  13. # MAP DIR : directory for map files
  14. -MAP_DIR = /usr/local/games/Xbat/Map
  15. +MAP_DIR = $(XBATDIR)/Map
  16. # DOMO_DIR : directory for domogram movement files
  17. -DOMO_DIR = /usr/local/games/Xbat/Domo
  18. +DOMO_DIR = $(XBATDIR)/Domo
  19. # UNION : Set 1 if you have Intel CPU or so.
  20. # If you don't know whether you have Intel CPU or not,
  21. # compile union_check.c and run.
  22. -UNION = 0
  23. -#UNION = 1
  24. +#UNION = 0
  25. +UNION = 1
  26. #BIN DIR
  27. -BINDIR = /usr/local/bin
  28. #######################################################################
  29. @@ -48,11 +48,6 @@ DependTarget()
  30. CleanTarget()
  31. install::
  32. - MakeDir($(DESTDIR)$(SCORE_DIR))
  33. - chmod 777 $(DESTDIR)$(SCORE_DIR);
  34. - @case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Score/?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR) ; \
  35. - done;
  36. -
  37. MakeDir($(DESTDIR)$(IMAGE_DIR))
  38. @case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Image/?* ; do (set -x; $(INSTALL) -c $(INSTLIBFLAGS) $$i $(DESTDIR)$(IMAGE_DIR) ); \
  39. done;