| @@ -1,39 +1,39 @@ | | | @@ -1,39 +1,39 @@ |
1 | $NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $ | | 1 | $NetBSD: patch-aa,v 1.5 2009/08/29 11:42:04 wiz Exp $ |
2 | | | 2 | |
3 | --- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000 | | 3 | --- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000 |
4 | +++ Makefile.in | | 4 | +++ Makefile.in |
5 | @@ -92,19 +92,21 @@ tworldres.o: tworld.ico | | 5 | @@ -92,19 +92,21 @@ tworldres.o: tworld.ico |
6 | # | | 6 | # |
7 | | | 7 | |
8 | install: tworld | | 8 | install: tworld |
9 | - mkdir -p $(bindir) | | 9 | - mkdir -p $(bindir) |
10 | - mkdir -p $(sharedir)/sets | | 10 | - mkdir -p $(sharedir)/sets |
11 | - mkdir -p $(sharedir)/data | | 11 | - mkdir -p $(sharedir)/data |
12 | - mkdir -p $(sharedir)/res | | 12 | - mkdir -p $(sharedir)/res |
13 | - mkdir -p $(mandir)/man6 | | 13 | - mkdir -p $(mandir)/man6 |
14 | - cp -i ./tworld $(bindir)/. | | 14 | - cp -i ./tworld $(bindir)/. |
15 | - cp -i sets/*.dac $(sharedir)/sets/. | | 15 | - cp -i sets/*.dac $(sharedir)/sets/. |
16 | - cp -i data/*.dat $(sharedir)/data/. | | 16 | - cp -i data/*.dat $(sharedir)/data/. |
17 | - cp -i res/rc $(sharedir)/res/. | | 17 | - cp -i res/rc $(sharedir)/res/. |
18 | - cp -i res/*.bmp $(sharedir)/res/. | | 18 | - cp -i res/*.bmp $(sharedir)/res/. |
19 | - cp -i res/*.txt $(sharedir)/res/. | | 19 | - cp -i res/*.txt $(sharedir)/res/. |
20 | - cp -i res/*.wav $(sharedir)/res/. | | 20 | - cp -i res/*.wav $(sharedir)/res/. |
21 | - cp -i docs/tworld.6 $(mandir)/man6/. | | 21 | - cp -i docs/tworld.6 $(mandir)/man6/. |
22 | + ${BSD_INSTALL_DATA_DIR} $(bindir) | | 22 | + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(bindir) |
23 | + ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets | | 23 | + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/sets |
24 | + ${BSD_INSTALL_DATA_DIR} $(sharedir)/data | | 24 | + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/data |
25 | + ${BSD_INSTALL_DATA_DIR} $(sharedir)/res | | 25 | + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/res |
26 | + ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld | | 26 | + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)/share/doc/tworld |
27 | + ${BSD_INSTALL_DATA_DIR} $(mandir)/man6 | | 27 | + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(mandir)/man6 |
28 | + ${BSD_INSTALL_PROGRAM} ./tworld $(bindir)/. | | 28 | + ${BSD_INSTALL_PROGRAM} ./tworld ${DESTDIR}$(bindir)/. |
29 | + ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/. | | 29 | + ${BSD_INSTALL_DATA} sets/*.dac ${DESTDIR}$(sharedir)/sets/. |
30 | + ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/. | | 30 | + ${BSD_INSTALL_DATA} data/*.dat ${DESTDIR}$(sharedir)/data/. |
31 | + ${BSD_INSTALL_DATA} res/rc $(sharedir)/res/. | | 31 | + ${BSD_INSTALL_DATA} res/rc ${DESTDIR}$(sharedir)/res/. |
32 | + ${BSD_INSTALL_DATA} res/*.bmp $(sharedir)/res/. | | 32 | + ${BSD_INSTALL_DATA} res/*.bmp ${DESTDIR}$(sharedir)/res/. |
33 | + ${BSD_INSTALL_DATA} res/*.txt $(sharedir)/res/. | | 33 | + ${BSD_INSTALL_DATA} res/*.txt ${DESTDIR}$(sharedir)/res/. |
34 | + ${BSD_INSTALL_DATA} res/*.wav $(sharedir)/res/. | | 34 | + ${BSD_INSTALL_DATA} res/*.wav ${DESTDIR}$(sharedir)/res/. |
35 | + ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/. | | 35 | + ${BSD_INSTALL_MAN} docs/tworld.6 ${DESTDIR}$(mandir)/man6/. |
36 | + ${BSD_INSTALL_DATA} README docs/tworld.html $(prefix)/share/doc/tworld | | 36 | + ${BSD_INSTALL_DATA} README docs/tworld.html ${DESTDIR}$(prefix)/share/doc/tworld |
37 | | | 37 | |
38 | all: tworld mklynxcc | | 38 | all: tworld mklynxcc |
39 | | | 39 | |