OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ssmtp/destdir.patch
  5. # Copyright (C) 2007 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.in.orig 2004-07-26 01:32:18.000000000 -0400
  17. +++ ./Makefile.in 2007-12-18 17:37:58.000000000 -0500
  18. @@ -46,36 +46,36 @@
  19. .PHONY: install
  20. -install: ssmtp $(GEN_CONFIG)
  21. - $(INSTALL) -d -m 755 $(bindir)
  22. - $(INSTALL) -s -m 755 ssmtp $(bindir)/ssmtp
  23. - $(INSTALL) -d -m 755 $(mandir)
  24. - $(INSTALL) -m 644 $(srcdir)/ssmtp.8 $(mandir)/ssmtp.8
  25. - $(INSTALL) -d -m 755 $(SSMTPCONFDIR)
  26. - $(INSTALL) -m 644 $(srcdir)/revaliases $(INSTALLED_REVALIASES_FILE)
  27. - $(GEN_CONFIG) $(INSTALLED_CONFIGURATION_FILE)
  28. +install: ssmtp
  29. + $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
  30. + $(INSTALL) -s -m 755 ssmtp $(DESTDIR)$(bindir)/ssmtp
  31. + $(INSTALL) -d -m 755 $(DESTDIR)$(mandir)
  32. + $(INSTALL) -m 644 $(srcdir)/ssmtp.8 $(DESTDIR)$(mandir)/ssmtp.8
  33. + $(INSTALL) -d -m 755 $(DESTDIR)$(SSMTPCONFDIR)
  34. + $(INSTALL) -m 644 $(srcdir)/revaliases $(DESTDIR)$(INSTALLED_REVALIASES_FILE)
  35. + $(GEN_CONFIG) $(DESTDIR)$(INSTALLED_CONFIGURATION_FILE)
  36. .PHONY: install-sendmail
  37. install-sendmail: install
  38. - $(RM) $(bindir)/sendmail
  39. - $(LN_S) ssmtp $(bindir)/sendmail
  40. - $(INSTALL) -d -m 755 $(libexecdir)
  41. - $(RM) $(libexecdir)/sendmail
  42. - $(LN_S) sendmail /lib/sendmail
  43. - $(RM) $(mandir)/sendmail.8
  44. - $(LN_S) ssmtp.8 $(mandir)/sendmail.8
  45. + $(RM) $(DESTDIR)$(bindir)/sendmail
  46. + $(LN_S) ssmtp $(DESTDIR)$(bindir)/sendmail
  47. + $(INSTALL) -d -m 755 $(DESTDIR)$(libexecdir)
  48. + $(RM) $(DESTDIR)$(libexecdir)/sendmail
  49. + $(LN_S) $(bindir)/sendmail $(DESTDIR)$(libexecdir)/sendmail
  50. + $(RM) $(DESTDIR)$(mandir)/sendmail.8
  51. + $(LN_S) ssmtp.8 $(DESTDIR)$(mandir)/sendmail.8
  52. .PHONY: uninstall
  53. uninstall:
  54. - $(RM) $(bindir)/ssmtp
  55. - $(RM) $(mandir)/ssmtp.8
  56. - $(RM) $(CONFIGURATION_FILE) $(REVALIASES_FILE)
  57. - $(RM) -r $(SSMTPCONFDIR)
  58. + $(RM) $(DESTIDR)$(bindir)/ssmtp
  59. + $(RM) $(DESTDIR)$(mandir)/ssmtp.8
  60. + $(RM) $(DESTDIR)$(CONFIGURATION_FILE) $(DESTDIR)$(REVALIASES_FILE)
  61. + $(RM) -r $(DESTDIR)$(SSMTPCONFDIR)
  62. .PHONY: uninstall-sendmail
  63. uninstall-sendmail: uninstall
  64. - $(RM) $(bindir)/sendmail /lib/sendmail
  65. - $(RM) $(mandir)/sendmail.8
  66. + $(RM) $(DESTDIR)$(bindir)/sendmail $(DESTDIR)$(libexecdir)/sendmail
  67. + $(RM) $(DESTDIR)$(mandir)/sendmail.8
  68. # Binaries:
  69. ssmtp: $(OBJS)