c889deb509
Submitted by: Jon Mansey <jon@interpacket.net>
124 lines
5.1 KiB
Makefile
124 lines
5.1 KiB
Makefile
# New ports collection makefile for: svgalib
|
|
# Date created: 24 August 2000
|
|
# Whom: sobomax@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= svgalib
|
|
PORTVERSION= 1.4.2
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= http://www.svgalib.org/
|
|
|
|
MAINTAINER= sobomax@freebsd.org
|
|
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
ALL_TARGET= shared static
|
|
|
|
MAN1= convfont.1 dumpreg.1 fix132x43.1 restorefont.1 \
|
|
restorepalette.1 restoretextmode.1 runx.1 \
|
|
savetextmode.1 setmclk.1 svgakeymap.1 \
|
|
textmode.1
|
|
MAN3= currentcontext.3 gl_allocatecontext.3 gl_bcircle.3 \
|
|
gl_circle.3 gl_clearscreen.3 gl_colorfont.3 \
|
|
gl_compileboxmask.3 gl_compiledboxmasksize.3 \
|
|
gl_copybox.3 gl_copyboxfromcontext.3 \
|
|
gl_copyboxtocontext.3 gl_copyscreen.3 \
|
|
gl_disableclipping.3 gl_enableclipping.3 \
|
|
gl_enablepageflipping.3 gl_expandfont.3 gl_fillbox.3 \
|
|
gl_fillcircle.3 gl_font8x8.3 gl_freecontext.3 \
|
|
gl_getbox.3 gl_getcontext.3 gl_getpalette.3 \
|
|
gl_getpalettecolor.3 gl_getpalettecolors.3 \
|
|
gl_getpixel.3 gl_getpixelrgb.3 gl_hline.3 gl_line.3 \
|
|
gl_printf.3 gl_putbox.3 gl_putboxmask.3 \
|
|
gl_putboxmaskcompiled.3 gl_putboxpart.3 gl_rgbcolor.3 \
|
|
gl_scalebox.3 gl_setclippingwindow.3 gl_setcontext.3 \
|
|
gl_setcontextheight.3 gl_setcontextvga.3 \
|
|
gl_setcontextvgavirtual.3 gl_setcontextvirtual.3 \
|
|
gl_setcontextwidth.3 gl_setdisplaystart.3 gl_setfont.3 \
|
|
gl_setfontcolors.3 gl_setpalette.3 gl_setpalettecolor.3 \
|
|
gl_setpalettecolors.3 gl_setpixel.3 gl_setpixelrgb.3 \
|
|
gl_setrgbpalette.3 gl_setscreenoffset.3 \
|
|
gl_setwritemode.3 gl_striangle.3 gl_swtriangle.3 \
|
|
gl_triangle.3 gl_trigetcolorlookup.3 \
|
|
gl_trisetcolorlookup.3 gl_trisetdrawpoint.3 gl_write.3 \
|
|
gl_writen.3 gl_wtriangle.3 graph_mem.3 \
|
|
joystick_button1.3 joystick_button2.3 \
|
|
joystick_button3.3 joystick_button4.3 joystick_close.3 \
|
|
joystick_getaxis.3 joystick_getb1.3 joystick_getb2.3 \
|
|
joystick_getb3.3 joystick_getb4.3 joystick_getbutton.3 \
|
|
joystick_getnumaxes.3 joystick_getnumbuttons.3 \
|
|
joystick_getx.3 joystick_gety.3 joystick_getz.3 \
|
|
joystick_init.3 joystick_setdefaulthandler.3 \
|
|
joystick_sethandler.3 joystick_update.3 joystick_x.3 \
|
|
joystick_y.3 joystick_z.3 keyboard_clearstate.3 \
|
|
keyboard_close.3 keyboard_getstate.3 keyboard_init.3 \
|
|
keyboard_init_return_fd.3 keyboard_keypressed.3 \
|
|
keyboard_setdefaulteventhandler.3 \
|
|
keyboard_seteventhandler.3 keyboard_translatekeys.3 \
|
|
keyboard_update.3 keyboard_waitforupdate.3 \
|
|
mouse_close.3 mouse_getbutton.3 mouse_getcaps.3 \
|
|
mouse_getposition_6d.3 mouse_getx.3 mouse_gety.3 \
|
|
mouse_init.3 mouse_init_return_fd.3 \
|
|
mouse_setdefaulteventhandler.3 mouse_seteventhandler.3 \
|
|
mouse_setposition.3 mouse_setposition_6d.3 \
|
|
mouse_setrange_6d.3 mouse_setscale.3 mouse_setwrap.3 \
|
|
mouse_setxrange.3 mouse_setyrange.3 mouse_update.3 \
|
|
mouse_waitforupdate.3 vga_accel.3 vga_addmode.3 \
|
|
vga_addtiming.3 vga_bitblt.3 vga_blitwait.3 \
|
|
vga_changetiming.3 vga_claimvideomemory.3 vga_clear.3 \
|
|
vga_copytoplanar16.3 vga_copytoplanar256.3 \
|
|
vga_copytoplane.3 vga_disabledriverreport.3 \
|
|
vga_drawline.3 vga_drawpixel.3 vga_drawscanline.3 \
|
|
vga_drawscansegment.3 vga_dumpregs.3 vga_ext_set.3 \
|
|
vga_fillblt.3 vga_flip.3 vga_getch.3 vga_getcolors.3 \
|
|
vga_getcurrentchipset.3 vga_getcurrentmode.3 \
|
|
vga_getcurrenttiming.3 vga_getdefaultmode.3 \
|
|
vga_getgraphmem.3 vga_getkey.3 vga_getmodeinfo.3 \
|
|
vga_getmodename.3 vga_getmodenumber.3 \
|
|
vga_getmonitortype.3 vga_getmousetype.3 \
|
|
vga_getpalette.3 vga_getpalvec.3 vga_getpixel.3 \
|
|
vga_getscansegment.3 vga_gettextfont.3 \
|
|
vga_gettextmoderegs.3 vga_getxdim.3 vga_getydim.3 \
|
|
vga_guesstiming.3 vga_hasmode.3 vga_hlinelistblt.3 \
|
|
vga_imageblt.3 vga_init.3 vga_lastmodenumber.3 \
|
|
vga_lockvc.3 vga_oktowrite.3 vga_puttextfont.3 \
|
|
vga_runinbackground.3 vga_runinbackground_version.3 \
|
|
vga_safety_fork.3 vga_screenoff.3 vga_screenon.3 \
|
|
vga_setchipset.3 vga_setchipsetandfeatures.3 \
|
|
vga_setcolor.3 vga_setdisplaystart.3 vga_setegacolor.3 \
|
|
vga_setflipchar.3 vga_setlinearaddressing.3 \
|
|
vga_setlogicalwidth.3 vga_setmode.3 vga_setmodeX.3 \
|
|
vga_setmousesupport.3 vga_setpage.3 vga_setpalette.3 \
|
|
vga_setpalvec.3 vga_setreadpage.3 vga_setrgbcolor.3 \
|
|
vga_settextmoderegs.3 vga_setwritepage.3 vga_unlockvc.3 \
|
|
vga_waitevent.3 vga_waitretrace.3 vga_white.3
|
|
MAN5= libvga.config.5 libvga.et4000.5 svgalibrc.5
|
|
MAN6= accel.6 bg_test.6 eventtest.6 forktest.6 fun.6 \
|
|
joytest.6 keytest.6 lineart.6 mach32info.6 mjoytest.6 \
|
|
mousetest.6 plane.6 printftest.6 scrolltest.6 \
|
|
speedtest.6 spin.6 svidtune.6 testaccel.6 testgl.6 \
|
|
testlinear.6 threed.6 vgatest.6 wrapdemo.6
|
|
MAN7= svgalib.7 svgalib.chips.7 svgalib.et4000.7 \
|
|
svgalib.faq.7 svgalib.mach32.7 threedkit.7 vgagl.7
|
|
MAN8= mode3.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400000
|
|
BROKEN= "3.* doesn't supported - please upgrade to use the port"
|
|
.endif
|
|
|
|
pre-patch:
|
|
${PERL} -pi -e 's.\x0D..' ${WRKSRC}/utils/gtf/*
|
|
${MKDIR} ${WRKSRC}/include/linux
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/include/linux
|
|
cd ${WRKSRC}/include/linux && \
|
|
${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux
|
|
|
|
.include <bsd.port.post.mk>
|