1 |
use ExtUtils::MakeMaker; |
2 |
|
3 |
print <<EOF; |
4 |
|
5 |
*** microsoft compatibility forced us to only support manual configuration |
6 |
*** by editing Makefile.PL. complain to microsoft. |
7 |
|
8 |
EOF |
9 |
|
10 |
# sdl-config |
11 |
# -lSDL_image |
12 |
# pkg-config pangoft2 |
13 |
# freetype-config |
14 |
|
15 |
WriteMakefile( |
16 |
dist => { |
17 |
PREOP => 'pod2text CFClient.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
18 |
COMPRESS => 'gzip -9v', |
19 |
SUFFIX => '.gz', |
20 |
}, |
21 |
NAME => "CFClient", |
22 |
INC => '-I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2', |
23 |
LIBS => ["-lSDL -lSDL_image -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz"], |
24 |
EXE_FILES => [qw(bin/pclient)], |
25 |
VERSION_FROM => "CFClient.pm", |
26 |
PREREQ_PM => { |
27 |
BerkeleyDB => 0.27, |
28 |
SDL => 2.1, |
29 |
Crossfire => 0.1, |
30 |
Time::HiRes => 0, |
31 |
Event => 1.01, |
32 |
AnyEvent => 0, |
33 |
}, |
34 |
PM => { |
35 |
'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm', |
36 |
'CFClient/UI.pm' => '$(INST_LIBDIR)/CFClient/UI.pm', |
37 |
'resources/uifont.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifont.ttf', |
38 |
'resources/uifontb.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontb.ttf', |
39 |
'resources/uifonti.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifonti.ttf', |
40 |
'resources/uifontbi.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontbi.ttf', |
41 |
'resources/d1_bg.png' => '$(INST_LIBDIR)/CFClient/resources/d1_bg.png', |
42 |
'resources/d1_border_top.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_top.png', |
43 |
'resources/d1_border_bottom.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_bottom.png', |
44 |
'resources/d1_border_left.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_left.png', |
45 |
'resources/d1_border_right.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_right.png', |
46 |
'resources/b1_button_active.png' => '$(INST_LIBDIR)/CFClient/resources/b1_button_active.png', |
47 |
'resources/s1_slider.png' => '$(INST_LIBDIR)/CFClient/resources/s1_slider.png', |
48 |
'resources/s1_slider_bg.png' => '$(INST_LIBDIR)/CFClient/resources/s1_slider_bg.png', |
49 |
'resources/c1_checkbox_bg.png' => '$(INST_LIBDIR)/CFClient/resources/c1_checkbox_bg.png', |
50 |
'resources/c1_checkbox_active.png' => '$(INST_LIBDIR)/CFClient/resources/c1_checkbox_active.png', |
51 |
'resources/g1_food_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_food_gauge_empty.png', |
52 |
'resources/g1_food_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_food_gauge_full.png', |
53 |
'resources/g1_grace_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_grace_gauge_empty.png', |
54 |
'resources/g1_grace_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_grace_gauge_full.png', |
55 |
'resources/g1_hp_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_hp_gauge_empty.png', |
56 |
'resources/g1_hp_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_hp_gauge_full.png', |
57 |
'resources/g1_mana_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_mana_gauge_empty.png', |
58 |
'resources/g1_mana_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_mana_gauge_full.png', |
59 |
|
60 |
} |
61 |
); |