ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Makefile.PL
(Generate patch)

Comparing deliantra/Deliantra-Client/Makefile.PL (file contents):
Revision 1.22 by root, Sun Apr 16 07:25:29 2006 UTC vs.
Revision 1.25 by root, Mon Apr 17 21:52:42 2006 UTC

3print <<EOF; 3print <<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*** HINT: BerkeleyDB must be linked against version 4.4 or above of libdb
9
8EOF 10EOF
9 11
10# sdl-config 12if ($^O =~ /win32/i or $^O =~ /mswin/) {
11# -lSDL_image 13 warn "do manual configuration, please\n";
12# pkg-config pangoft2 14 $INC = "-I/gtk/include -I/gtk/pango-1.0 -I/gtk/glib-2.0 -I/gtk/freetype2";
13# freetype-config 15 $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz",
16} else {
17 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>;
18 $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>;
19
20 $INC =~ s/\n/ /g for $INC, $LIBS;
21}
14 22
15WriteMakefile( 23WriteMakefile(
16 dist => { 24 dist => {
17 PREOP => 'pod2text CFClient.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 25 PREOP => 'pod2text CFClient.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
18 COMPRESS => 'gzip -9v', 26 COMPRESS => 'gzip -9v',
19 SUFFIX => '.gz', 27 SUFFIX => '.gz',
20 }, 28 },
21 NAME => "CFClient", 29 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', 30 INC => $INC,
23 LIBS => ["-lSDL -lSDL_image -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz"], 31 LIBS => [$LIBS],
24 EXE_FILES => [qw(bin/pclient)], 32 EXE_FILES => [qw(bin/pclient)],
25 VERSION_FROM => "CFClient.pm", 33 VERSION_FROM => "CFClient.pm",
26 PREREQ_PM => { 34 PREREQ_PM => {
27 BerkeleyDB => 0.27, 35 BerkeleyDB => 0.27,
28 SDL => 2.1, 36 SDL => 2.1,
33 Compress::LZF => 1.6, 41 Compress::LZF => 1.6,
34 }, 42 },
35 PM => { 43 PM => {
36 'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm', 44 'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm',
37 'CFClient/UI.pm' => '$(INST_LIBDIR)/CFClient/UI.pm', 45 'CFClient/UI.pm' => '$(INST_LIBDIR)/CFClient/UI.pm',
38 'resources/uifont.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifont.ttf', 46 (map +($_ => "\$(INST_LIBDIR)/CFClient/$_"), <resources/*.ttf>, <resources/*.png>, <resources/sounds/*.wav>),
39 'resources/uifontb.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontb.ttf',
40 'resources/uifonti.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifonti.ttf',
41 'resources/uifontbi.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontbi.ttf',
42 'resources/d1_bg.png' => '$(INST_LIBDIR)/CFClient/resources/d1_bg.png',
43 'resources/d1_border_top.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_top.png',
44 'resources/d1_border_bottom.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_bottom.png',
45 'resources/d1_border_left.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_left.png',
46 'resources/d1_border_right.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_right.png',
47 'resources/b1_button_active.png' => '$(INST_LIBDIR)/CFClient/resources/b1_button_active.png',
48 'resources/s1_slider.png' => '$(INST_LIBDIR)/CFClient/resources/s1_slider.png',
49 'resources/s1_slider_bg.png' => '$(INST_LIBDIR)/CFClient/resources/s1_slider_bg.png',
50 'resources/c1_checkbox_bg.png' => '$(INST_LIBDIR)/CFClient/resources/c1_checkbox_bg.png',
51 'resources/c1_checkbox_active.png' => '$(INST_LIBDIR)/CFClient/resources/c1_checkbox_active.png',
52 'resources/g1_food_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_food_gauge_empty.png',
53 'resources/g1_food_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_food_gauge_full.png',
54 'resources/g1_grace_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_grace_gauge_empty.png',
55 'resources/g1_grace_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_grace_gauge_full.png',
56 'resources/g1_hp_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_hp_gauge_empty.png',
57 'resources/g1_hp_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_hp_gauge_full.png',
58 'resources/g1_mana_gauge_empty.png' => '$(INST_LIBDIR)/CFClient/resources/g1_mana_gauge_empty.png',
59 'resources/g1_mana_gauge_full.png' => '$(INST_LIBDIR)/CFClient/resources/g1_mana_gauge_full.png',
60
61 } 47 }
62); 48);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines