… | |
… | |
3 | print <<EOF; |
3 | print <<EOF; |
4 | |
4 | |
5 | *** microsoft compatibility forced us to only support manual configuration |
5 | *** microsoft compatibility forced us to only support manual configuration |
6 | *** by editing Makefile.PL. complain to microsoft. |
6 | *** by editing Makefile.PL. complain to microsoft. |
7 | |
7 | |
|
|
8 | *** opengl 1.2 is required to run this client |
|
|
9 | |
8 | *** HINT: BerkeleyDB must be linked against version 4.4 or above of libdb |
10 | *** HINT: BerkeleyDB must be linked against version 4.3 or higher of libdb |
9 | |
11 | |
10 | EOF |
12 | EOF |
11 | |
13 | |
12 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
14 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
13 | warn "do manual configuration, please\n"; |
15 | warn "do manual configuration, please\n"; |
… | |
… | |
31 | LIBS => [$LIBS], |
33 | LIBS => [$LIBS], |
32 | EXE_FILES => [qw(bin/pclient)], |
34 | EXE_FILES => [qw(bin/pclient)], |
33 | VERSION_FROM => "CFClient.pm", |
35 | VERSION_FROM => "CFClient.pm", |
34 | PREREQ_PM => { |
36 | PREREQ_PM => { |
35 | BerkeleyDB => 0.27, |
37 | BerkeleyDB => 0.27, |
36 | SDL => 2.1, |
|
|
37 | Crossfire => 0.1, |
38 | Crossfire => 0.1, |
38 | Time::HiRes => 0, |
39 | Time::HiRes => 0, |
39 | Event => 1.01, |
40 | Event => 1.01, |
40 | AnyEvent => 0, |
41 | AnyEvent => 0, |
41 | Compress::LZF => 1.6, |
42 | Compress::LZF => 1.6, |
42 | }, |
43 | }, |
43 | PM => { |
44 | PM => { |
44 | 'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm', |
45 | 'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm', |
|
|
46 | 'CFClient/OpenGL.pm' => '$(INST_LIBDIR)/CFClient/OpenGL.pm', |
45 | 'CFClient/UI.pm' => '$(INST_LIBDIR)/CFClient/UI.pm', |
47 | 'CFClient/UI.pm' => '$(INST_LIBDIR)/CFClient/UI.pm', |
46 | (map +($_ => "\$(INST_LIBDIR)/CFClient/$_"), <resources/*.ttf>, <resources/*.png>, <resources/sounds/*.wav>), |
48 | 'CFClient/MapWidget.pm' => '$(INST_LIBDIR)/CFClient/MapWidget.pm', |
|
|
49 | (map +($_ => "\$(INST_LIBDIR)/CFClient/$_"), |
|
|
50 | <resources/*.ttf>, |
|
|
51 | <resources/*.png>, |
|
|
52 | <resources/sounds/*.wav>, |
|
|
53 | <resources/sounds/*.ogg>, |
|
|
54 | <resources/sounds/config>, |
|
|
55 | <resources/music/*.ogg>, |
|
|
56 | <resources/ui/*.png>, |
|
|
57 | <resources/ui/resist/*.png>, |
|
|
58 | ), |
47 | } |
59 | } |
48 | ); |
60 | ); |