* updated ktuberling (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / games / aop / cross.patch
blob78a15abb6213969f7aae80d63e09bf0e5ec5c30f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../aop/cross.patch
5 # Copyright (C) 2004 - 2007 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 --- ./Makefile.orig 2004-03-19 15:26:46.000000000 +0100
18 +++ ./Makefile 2004-04-14 22:22:18.401845144 +0200
19 @@ -1,13 +1,14 @@
21 -LDFLAGS = -lncurses
22 +prefix = /usr
24 aop: aop.c
25 + $(CC) aop.c -lncurses -o aop
27 install: aop
28 - install -d /usr/local/bin
29 - install -d /usr/local/share/aop
30 - install -m 755 aop /usr/local/bin/aop
31 - install -m 644 aop-level-*.txt /usr/local/share/aop/
32 + install -d $(DESTDIR)$(prefix)/bin
33 + install -d $(DESTDIR)$(prefix)/share/aop
34 + install -m 755 aop $(DESTDIR)$(prefix)/bin/aop
35 + install -m 644 aop-level-*.txt $(DESTDIR)$(prefix)/share/aop/
37 clean:
38 rm -f aop core* *~