blob: 518c0aaf44b514ccd32ace2fdcb7496b1f8129bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
# New ports collection makefile for: allegro
# Date created: 23-Feb-2001
# Whom: Jimmy Olgeni <olgeni@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= allegro
PORTVERSION= 4.0.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= alleg
MAINTAINER= olgeni@FreeBSD.org
USE_AUTOCONF= yes
USE_GMAKE= yes
MAKEFILE= makefile
INSTALLS_SHLIB= yes
.if !defined (WITHOUT_DEVEL)
INSTALL_TARGET= full-install
PLIST_SUB+= FULL=""
.else
INSTALL_TARGET= mini-install
PLIST_SUB+= FULL="@comment "
.endif
CONFIGURE_ARGS+= --enable-vga=no
pre-configure:
${PERL} -pi -e "s@AUTOHEADER = autoheader@AUTOHEADER =${AUTOHEADER}@g" \
${WRKSRC}/makefile.in
pre-build:
cd ${WRKSRC} && ${GMAKE} depend
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${PREFIX}/share/doc/allegro
${CP} ${WRKSRC}/docs/html/* ${PREFIX}/share/doc/allegro
@${MV} ${LOCALBASE}/lib/liballeg-4.0.0.so \
${LOCALBASE}/lib/liballeg.so.4
@${MV} ${LOCALBASE}/lib/liballeg_unsharable.a \
${LOCALBASE}/lib/liballeg.a
.endif
.if !defined (WITHOUT_MAN)
INSTALL_TARGET+= install-man
MAN3= install_allegro.3 allegro_init.3 allegro_exit.3 allegro_id.3 \
allegro_error.3 os_type.3 os_version.3 os_revision.3 \
os_multitasking.3 allegro_message.3 set_window_title.3 \
set_window_close_button.3 set_window_close_hook.3 \
desktop_color_depth.3 get_desktop_resolution.3 yield_timeslice.3 \
check_cpu.3 cpu_vendor.3 cpu_family.3 cpu_model.3 \
cpu_capabilities.3 set_uformat.3 get_uformat.3 register_uformat.3 \
set_ucodepage.3 need_uconvert.3 uconvert_size.3 do_uconvert.3 \
uconvert.3 uconvert_ascii.3 uconvert_toascii.3 empty_string.3 \
ugetc.3 ugetx.3 ugetxc.3 usetc.3 uwidth.3 ucwidth.3 uisok.3 \
uoffset.3 ugetat.3 usetat.3 uinsert.3 uremove.3 ustrsize.3 \
ustrsizez.3 uwidth_max.3 utolower.3 utoupper.3 uisspace.3 \
uisdigit.3 ustrdup.3 _ustrdup.3 ustrcpy.3 ustrzcpy.3 ustrcat.3 \
ustrzcat.3 ustrlen.3 ustrcmp.3 ustrncpy.3 ustrzncpy.3 \
ustrncat.3 ustrzncat.3 ustrncmp.3 ustricmp.3 ustrlwr.3 \
ustrupr.3 ustrchr.3 ustrrchr.3 ustrstr.3 ustrpbrk.3 ustrtok.3 \
ustrtok_r.3 uatof.3 ustrtol.3 ustrtod.3 ustrerror.3 usprintf.3 \
uszprintf.3 uvsprintf.3 uvszprintf.3 set_config_file.3 \
set_config_data.3 override_config_file.3 override_config_data.3 \
push_config_state.3 pop_config_state.3 rest.3 flush_config_file.3 \
reload_config_texts.3 hook_config_section.3 config_is_hooked.3 \
get_config_string.3 get_config_int.3 get_config_hex.3 \
get_config_float.3 get_config_id.3 get_config_argv.3 \
get_config_text.3 set_config_string.3 set_config_int.3 \
set_config_hex.3 set_config_float.3 set_config_id.3 \
install_mouse.3 remove_mouse.3 poll_mouse.3 mouse_x.3 \
mouse_needs_poll.3 mouse_y.3 mouse_z.3 mouse_b.3 mouse_pos.3 \
mouse_sprite.3 mouse_x_focus.3 mouse_y_focus.3 show_mouse.3 \
scare_mouse.3 scare_mouse_area.3 unscare_mouse.3 \
freeze_mouse_flag.3 position_mouse.3 position_mouse_z.3 \
set_mouse_range.3 set_mouse_speed.3 set_mouse_sprite.3 \
set_mouse_sprite_focus.3 get_mouse_mickeys.3 mouse_callback.3 \
install_timer.3 remove_timer.3 install_int.3 install_int_ex.3 \
remove_int.3 install_param_int.3 install_param_int_ex.3 \
remove_param_int.3 timer_can_simulate_retrace.3 \
timer_simulate_retrace.3 timer_is_using_retrace.3 retrace_count.3 \
retrace_proc.3 rest_callback.3 install_keyboard.3 \
remove_keyboard.3 poll_keyboard.3 install_keyboard_hooks.3 \
keyboard_needs_poll.3 key.3 key_shifts.3 keypressed.3 \
readkey.3 ureadkey.3 scancode_to_ascii.3 simulate_keypress.3 \
simulate_ukeypress.3 keyboard_callback.3 keyboard_ucallback.3 \
keyboard_lowlevel_callback.3 set_leds.3 set_keyboard_rate.3 \
clear_keybuf.3 three_finger_flag.3 key_led_flag.3 \
install_joystick.3 remove_joystick.3 poll_joystick.3 \
num_joysticks.3 joy.3 calibrate_joystick_name.3 \
calibrate_joystick.3 save_joystick_data.3 load_joystick_data.3 \
initialise_joystick.3 set_color_depth.3 request_refresh_rate.3 \
get_refresh_rate.3 get_gfx_mode_list.3 destroy_gfx_mode_list.3 \
set_gfx_mode.3 set_display_switch_mode.3 \
set_display_switch_callback.3 get_display_switch_mode.3 \
remove_display_switch_callback.3 gfx_capabilities.3 \
enable_triple_buffer.3 scroll_screen.3 request_scroll.3 \
poll_scroll.3 show_video_bitmap.3 request_video_bitmap.3 \
screen.3 create_bitmap.3 create_bitmap_ex.3 create_sub_bitmap.3 \
create_video_bitmap.3 create_system_bitmap.3 destroy_bitmap.3 \
lock_bitmap.3 bitmap_color_depth.3 is_sub_bitmap.3 \
bitmap_mask_color.3 is_same_bitmap.3 is_linear_bitmap.3 \
is_planar_bitmap.3 is_memory_bitmap.3 is_screen_bitmap.3 \
is_video_bitmap.3 is_system_bitmap.3 acquire_bitmap.3 \
release_bitmap.3 acquire_screen.3 release_screen.3 set_clip.3 \
load_bitmap.3 load_bmp.3 load_lbm.3 load_pcx.3 load_tga.3 \
save_bitmap.3 save_bmp.3 save_pcx.3 save_tga.3 \
register_bitmap_file_type.3 set_color_conversion.3 vsync.3 \
set_color.3 _set_color.3 set_palette.3 set_palette_range.3 \
get_color.3 get_palette.3 get_palette_range.3 fade_interpolate.3 \
fade_from_range.3 fade_in_range.3 fade_out_range.3 fade_from.3 \
fade_in.3 fade_out.3 select_palette.3 black_palette.3 \
unselect_palette.3 generate_332_palette.3 \
generate_optimized_palette.3 default_palette.3 desktop_palette.3 \
makecol8.3 makecol15.3 makecol16.3 makecol24.3 makecol32.3 \
makeacol32.3 makecol.3 makecol_depth.3 makeacol.3 \
makeacol_depth.3 makecol15_dither.3 makecol16_dither.3 \
getr8.3 getg8.3 getb8.3 getr15.3 getg15.3 getb15.3 getr16.3 \
getg16.3 getb16.3 getr24.3 getg24.3 getb24.3 getr32.3 \
getg32.3 getb32.3 geta32.3 getr.3 getg.3 getb.3 geta.3 \
getr_depth.3 getg_depth.3 getb_depth.3 geta_depth.3 \
palette_color.3 MASK_COLOR_8.3 MASK_COLOR_15.3 MASK_COLOR_16.3 \
MASK_COLOR_24.3 MASK_COLOR_32.3 putpixel.3 _putpixel.3 \
_putpixel15.3 _putpixel16.3 _putpixel24.3 _putpixel32.3 \
getpixel.3 _getpixel.3 _getpixel15.3 _getpixel16.3 _getpixel24.3 \
_getpixel32.3 vline.3 hline.3 do_line.3 line.3 triangle.3 \
polygon.3 rect.3 rectfill.3 do_circle.3 circle.3 circlefill.3 \
do_ellipse.3 ellipse.3 ellipsefill.3 do_arc.3 arc.3 \
calc_spline.3 spline.3 floodfill.3 clear_bitmap.3 clear.3 \
clear_to_color.3 blit.3 masked_blit.3 stretch_blit.3 \
masked_stretch_blit.3 draw_sprite.3 draw_sprite_v_flip.3 \
draw_sprite_h_flip.3 draw_sprite_vh_flip.3 draw_trans_sprite.3 \
draw_lit_sprite.3 draw_character.3 draw_gouraud_sprite.3 \
rotate_sprite.3 rotate_sprite_v_flip.3 rotate_scaled_sprite.3 \
rotate_scaled_sprite_v_flip.3 pivot_sprite.3 pivot_sprite_v_flip.3 \
pivot_scaled_sprite.3 pivot_scaled_sprite_v_flip.3 \
stretch_sprite.3 get_rle_sprite.3 destroy_rle_sprite.3 \
draw_rle_sprite.3 draw_trans_rle_sprite.3 draw_lit_rle_sprite.3 \
get_compiled_sprite.3 destroy_compiled_sprite.3 \
draw_compiled_sprite.3 font.3 allegro_404_char.3 text_mode.3 \
textout.3 textout_centre.3 textout_right.3 textout_justify.3 \
textprintf.3 textprintf_centre.3 textprintf_right.3 \
textprintf_justify.3 text_length.3 text_height.3 destroy_font.3 \
polygon3d.3 polygon3d_f.3 triangle3d.3 triangle3d_f.3 \
quad3d.3 quad3d_f.3 clip3d_f.3 clip3d.3 create_zbuffer.3 \
create_sub_zbuffer.3 set_zbuffer.3 clear_zbuffer.3 \
destroy_zbuffer.3 create_scene.3 clear_scene.3 destroy_scene.3 \
scene_polygon3d.3 scene_polygon3d_f.3 render_scene.3 \
scene_gap.3 drawing_mode.3 xor_mode.3 solid_mode.3 color_map.3 \
create_light_table.3 create_trans_table.3 create_color_table.3 \
create_blender_table.3 set_trans_blender.3 set_alpha_blender.3 \
set_write_alpha_blender.3 set_add_blender.3 set_burn_blender.3 \
set_color_blender.3 set_difference_blender.3 set_dissolve_blender.3 \
set_dodge_blender.3 set_hue_blender.3 set_invert_blender.3 \
set_luminance_blender.3 set_multiply_blender.3 rgb_map.3 \
set_saturation_blender.3 set_screen_blender.3 set_blender_mode.3 \
set_blender_mode_ex.3 bestfit_color.3 create_rgb_table.3 \
hsv_to_rgb.3 rgb_to_hsv.3 bmp_write_line.3 bmp_read_line.3 \
bmp_unwrite_line.3 play_fli.3 play_memory_fli.3 open_fli.3 \
open_memory_fli.3 close_fli.3 next_fli_frame.3 fli_bitmap.3 \
fli_palette.3 fli_bmp_dirty_from.3 alert.3 fli_bmp_dirty_to.3 \
fli_pal_dirty_from.3 fli_pal_dirty_to.3 reset_fli_variables.3 \
fli_frame.3 fli_timer.3 detect_digi_driver.3 detect_midi_driver.3 \
reserve_voices.3 set_volume_per_voice.3 install_sound.3 \
remove_sound.3 set_volume.3 load_sample.3 load_wav.3 \
load_voc.3 create_sample.3 destroy_sample.3 lock_sample.3 \
TRACE.3 play_sample.3 adjust_sample.3 stop_sample.3 \
allocate_voice.3 deallocate_voice.3 reallocate_voice.3 \
release_voice.3 voice_start.3 voice_stop.3 voice_set_priority.3 \
voice_check.3 voice_get_position.3 voice_set_position.3 \
voice_set_playmode.3 voice_get_volume.3 voice_set_volume.3 \
voice_ramp_volume.3 voice_stop_volumeramp.3 voice_get_frequency.3 \
voice_set_frequency.3 voice_sweep_frequency.3 \
voice_stop_frequency_sweep.3 voice_get_pan.3 voice_set_pan.3 \
voice_sweep_pan.3 voice_stop_pan_sweep.3 voice_set_echo.3 \
voice_set_tremolo.3 voice_set_vibrato.3 load_midi.3 \
destroy_midi.3 lock_midi.3 play_midi.3 play_looped_midi.3 \
stop_midi.3 midi_pause.3 midi_resume.3 midi_seek.3 midi_out.3 \
load_midi_patches.3 midi_pos.3 midi_loop_start.3 midi_loop_end.3 \
midi_msg_callback.3 midi_meta_callback.3 midi_sysex_callback.3 \
load_ibk.3 play_audio_stream.3 stop_audio_stream.3 \
get_audio_stream_buffer.3 free_audio_stream_buffer.3 \
install_sound_input.3 remove_sound_input.3 \
get_sound_input_cap_bits.3 start_sound_input.3 \
get_sound_input_cap_stereo.3 get_sound_input_cap_rate.3 \
get_sound_input_cap_parm.3 set_sound_input_source.3 \
stop_sound_input.3 read_sound_input.3 digi_recorder.3 \
midi_recorder.3 get_executable_name.3 fix_filename_case.3 \
fix_filename_slashes.3 fix_filename_path.3 replace_filename.3 \
replace_extension.3 append_filename.3 get_filename.3 \
get_extension.3 put_backslash.3 file_exists.3 exists.3 \
file_size.3 file_time.3 delete_file.3 for_each_file.3 \
al_findfirst.3 al_findnext.3 al_findclose.3 find_allegro_resource.3 \
packfile_password.3 pack_fopen.3 pack_fclose.3 pack_fseek.3 \
pack_feof.3 pack_ferror.3 pack_getc.3 pack_putc.3 pack_igetw.3 \
pack_igetl.3 itofix.3 pack_iputw.3 pack_iputl.3 pack_mgetw.3 \
pack_mgetl.3 pack_mputw.3 pack_mputl.3 pack_fread.3 \
pack_fwrite.3 pack_fgets.3 pack_fputs.3 pack_fopen_chunk.3 \
pack_fclose_chunk.3 load_datafile.3 load_datafile_callback.3 \
unload_datafile.3 load_datafile_object.3 unload_datafile_object.3 \
find_datafile_object.3 fixup_datafile.3 get_datafile_property.3 \
register_datafile_object.3 fixtoi.3 fixfloor.3 fixceil.3 \
ftofix.3 fixtof.3 fixmul.3 fixdiv.3 fixadd.3 fixsub.3 \
fixsin.3 fixcos.3 fixtan.3 fixasin.3 fixacos.3 fixatan.3 \
fixatan2.3 fixsqrt.3 fixhypot.3 identity_matrix.3 \
identity_matrix_f.3 get_align_matrix.3 get_translation_matrix.3 \
get_translation_matrix_f.3 get_scaling_matrix.3 \
get_scaling_matrix_f.3 get_x_rotate_matrix.3 \
get_x_rotate_matrix_f.3 get_y_rotate_matrix.3 \
get_y_rotate_matrix_f.3 get_z_rotate_matrix.3 \
get_z_rotate_matrix_f.3 get_rotation_matrix.3 \
get_rotation_matrix_f.3 get_align_matrix_f.3 \
get_vector_rotation_matrix.3 get_vector_rotation_matrix_f.3 \
get_transformation_matrix.3 get_transformation_matrix_f.3 \
get_camera_matrix.3 get_camera_matrix_f.3 qtranslate_matrix.3 \
qtranslate_matrix_f.3 qscale_matrix.3 qscale_matrix_f.3 \
matrix_mul.3 matrix_mul_f.3 vector_length.3 vector_length_f.3 \
normalize_vector.3 normalize_vector_f.3 dot_product.3 \
dot_product_f.3 cross_product.3 cross_product_f.3 \
polygon_z_normal.3 polygon_z_normal_f.3 apply_matrix.3 \
apply_matrix_f.3 set_projection_viewport.3 persp_project.3 \
persp_project_f.3 identity_quat.3 get_x_rotate_quat.3 \
get_y_rotate_quat.3 get_z_rotate_quat.3 get_rotation_quat.3 \
get_vector_rotation_quat.3 quat_to_matrix.3 matrix_to_quat.3 \
quat_mul.3 apply_quat.3 quat_interpolate.3 quat_slerp.3 \
d_clear_proc.3 d_box_proc.3 d_shadow_box_proc.3 d_bitmap_proc.3 \
d_text_proc.3 d_ctext_proc.3 d_rtext_proc.3 d_button_proc.3 \
d_check_proc.3 d_radio_proc.3 d_icon_proc.3 d_keyboard_proc.3 \
d_edit_proc.3 d_list_proc.3 d_text_list_proc.3 d_textbox_proc.3 \
d_slider_proc.3 d_menu_proc.3 d_yield_proc.3 gui_mouse_focus.3 \
gui_fg_color.3 gui_bg_color.3 gui_mg_color.3 gui_font_baseline.3 \
gui_mouse_x.3 gui_mouse_y.3 gui_mouse_z.3 gui_mouse_b.3 \
gui_textout.3 gui_strlen.3 position_dialog.3 centre_dialog.3 \
set_dialog_color.3 find_dialog_focus.3 offer_focus.3 \
object_message.3 dialog_message.3 broadcast_dialog_message.3 \
do_dialog.3 popup_dialog.3 init_dialog.3 update_dialog.3 \
shutdown_dialog.3 active_dialog.3 do_menu.3 active_menu.3 \
gui_menu_draw_menu.3 gui_menu_draw_menu_item.3 alert3.3 \
file_select.3 file_select_ex.3 gfx_mode_select.3 \
gfx_mode_select_ex.3 gui_shadow_box_proc.3 gui_ctext_proc.3 \
gui_button_proc.3 gui_edit_proc.3 gui_list_proc.3 \
gui_text_list_proc.3 qnx_get_window.3 al_assert.3 al_trace.3 \
ASSERT.3 register_assert_handler.3 register_trace_handler.3
.endif
.include <bsd.port.mk>
|