* updated kwordquiz (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / mail / snowbox / destdir.patch
blob67ae494d0b8fa75a456356ae250a637a3aa8e00a
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../snowbox/destdir.patch
5 # Copyright (C) 2008 The T2 SDE 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 # --- T2-COPYRIGHT-NOTE-END ---
17 --- snowbox-1.0/Makefile.vanilla 2008-07-26 10:09:45.000000000 +0200
18 +++ snowbox-1.0/Makefile 2008-07-26 10:10:36.000000000 +0200
19 @@ -9,20 +9,20 @@
20 @echo "Type \"make install\" to install Snowbox."
22 install:
23 - if [ ! -d "$(PREFIX)/sbin" ]; then \
24 - mkdir -p $(PREFIX)/sbin; \
25 + if [ ! -d "$(DESTDIR)$(PREFIX)/sbin" ]; then \
26 + mkdir -p $(DESTDIR)$(PREFIX)/sbin; \
28 - install snowbox $(PREFIX)/sbin
29 + install snowbox $(DESTDIR)$(PREFIX)/sbin
31 - if [ ! -d "$(PREFIX)/man/man8" ]; then \
32 - mkdir -p $(PREFIX)/man/man8; \
33 + if [ ! -d "$(DESTDIR)$(PREFIX)/man/man8" ]; then \
34 + mkdir -p $(DESTDIR)$(PREFIX)/man/man8; \
36 - install -m 0644 snowbox.8 $(PREFIX)/man/man8
37 + install -m 0644 snowbox.8 $(DESTDIR)$(PREFIX)/man/man8
39 - if [ ! -d "/etc/snowbox" ]; then \
40 - mkdir -p /etc/snowbox; \
41 - install -m 0600 config /etc/snowbox; \
42 - install -m 0600 user.auth.example /etc/snowbox; \
43 + if [ ! -d "$(DESTDIR)/etc/snowbox" ]; then \
44 + mkdir -p $(DESTDIR)/etc/snowbox; \
45 + install -m 0600 config $(DESTDIR)/etc/snowbox; \
46 + install -m 0600 user.auth.example $(DESTDIR)/etc/snowbox; \
49 dist: