summaryrefslogtreecommitdiffstats
path: root/x11-drivers
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-input-acecad/Makefile19
-rw-r--r--x11-drivers/xf86-input-acecad/distinfo2
-rw-r--r--x11-drivers/xf86-input-acecad/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-acecad/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-egalax/Makefile31
-rw-r--r--x11-drivers/xf86-input-egalax/distinfo2
-rw-r--r--x11-drivers/xf86-input-egalax/pkg-descr1
-rw-r--r--x11-drivers/xf86-input-egalax/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-elographics/Makefile28
-rw-r--r--x11-drivers/xf86-input-elographics/distinfo4
-rw-r--r--x11-drivers/xf86-input-elographics/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-elographics/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-fpit/Makefile24
-rw-r--r--x11-drivers/xf86-input-fpit/distinfo2
-rw-r--r--x11-drivers/xf86-input-fpit/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-fpit/pkg-plist6
-rw-r--r--x11-drivers/xf86-input-hyperpen/Makefile22
-rw-r--r--x11-drivers/xf86-input-hyperpen/distinfo2
-rw-r--r--x11-drivers/xf86-input-hyperpen/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-hyperpen/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-joystick/Makefile23
-rw-r--r--x11-drivers/xf86-input-joystick/distinfo2
-rw-r--r--x11-drivers/xf86-input-joystick/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-joystick/pkg-plist7
-rw-r--r--x11-drivers/xf86-input-keyboard/Makefile19
-rw-r--r--x11-drivers/xf86-input-keyboard/distinfo2
-rw-r--r--x11-drivers/xf86-input-keyboard/files/patch-at_scancode.c31
-rw-r--r--x11-drivers/xf86-input-keyboard/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-keyboard/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-mouse/Makefile21
-rw-r--r--x11-drivers/xf86-input-mouse/distinfo2
-rw-r--r--x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c250
-rw-r--r--x11-drivers/xf86-input-mouse/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-mouse/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-mutouch/Makefile25
-rw-r--r--x11-drivers/xf86-input-mutouch/distinfo2
-rw-r--r--x11-drivers/xf86-input-mutouch/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-mutouch/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-penmount/Makefile28
-rw-r--r--x11-drivers/xf86-input-penmount/distinfo4
-rw-r--r--x11-drivers/xf86-input-penmount/pkg-descr4
-rw-r--r--x11-drivers/xf86-input-penmount/pkg-plist5
-rw-r--r--x11-drivers/xf86-input-synaptics/Makefile38
-rw-r--r--x11-drivers/xf86-input-synaptics/distinfo2
-rw-r--r--x11-drivers/xf86-input-synaptics/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-synaptics/pkg-plist18
-rw-r--r--x11-drivers/xf86-input-vmmouse/Makefile34
-rw-r--r--x11-drivers/xf86-input-vmmouse/distinfo2
-rw-r--r--x11-drivers/xf86-input-vmmouse/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-vmmouse/pkg-plist9
-rw-r--r--x11-drivers/xf86-input-void/Makefile29
-rw-r--r--x11-drivers/xf86-input-void/distinfo4
-rw-r--r--x11-drivers/xf86-input-void/pkg-descr3
-rw-r--r--x11-drivers/xf86-input-void/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-ark/Makefile19
-rw-r--r--x11-drivers/xf86-video-ark/distinfo2
-rw-r--r--x11-drivers/xf86-video-ark/pkg-descr1
-rw-r--r--x11-drivers/xf86-video-ark/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-ati613/Makefile26
-rw-r--r--x11-drivers/xf86-video-ati613/distinfo2
-rw-r--r--x11-drivers/xf86-video-ati613/pkg-descr1
-rw-r--r--x11-drivers/xf86-video-ati613/pkg-plist14
-rw-r--r--x11-drivers/xf86-video-chips/Makefile19
-rw-r--r--x11-drivers/xf86-video-chips/distinfo2
-rw-r--r--x11-drivers/xf86-video-chips/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-chips/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-dummy/Makefile18
-rw-r--r--x11-drivers/xf86-video-dummy/distinfo2
-rw-r--r--x11-drivers/xf86-video-dummy/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-dummy/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-glint/Makefile22
-rw-r--r--x11-drivers/xf86-video-glint/distinfo2
-rw-r--r--x11-drivers/xf86-video-glint/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-glint/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-intel/Makefile64
-rw-r--r--x11-drivers/xf86-video-intel/distinfo4
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_ch7017_ch7017.c17
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_ch7xxx_ch7xxx.c17
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i810_driver.c111
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i810_hwmc.c10
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i810_video.c10
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i830_dri.c14
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i830_driver.c97
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i830_dvo.c80
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i830_i2c.c11
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i830_render.c78
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i830_video.c10
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i915_hwmc.c10
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i915_render.c69
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_i965_render.c78
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_ivch_ivch.c17
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_sil164_sil164.c17
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-src_tfp410_tfp410.c17
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-uxa_uxa-priv.h32
-rw-r--r--x11-drivers/xf86-video-intel/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-intel/pkg-plist21
-rw-r--r--x11-drivers/xf86-video-intel29/Makefile26
-rw-r--r--x11-drivers/xf86-video-intel29/distinfo2
-rw-r--r--x11-drivers/xf86-video-intel29/pkg-descr5
-rw-r--r--x11-drivers/xf86-video-intel29/pkg-plist21
-rw-r--r--x11-drivers/xf86-video-mach64/Makefile20
-rw-r--r--x11-drivers/xf86-video-mach64/distinfo2
-rw-r--r--x11-drivers/xf86-video-mach64/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-mach64/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-mga/Makefile28
-rw-r--r--x11-drivers/xf86-video-mga/distinfo2
-rw-r--r--x11-drivers/xf86-video-mga/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-mga/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-nouveau/Makefile60
-rw-r--r--x11-drivers/xf86-video-nouveau/Makefile.rev2
-rw-r--r--x11-drivers/xf86-video-nouveau/distinfo2
-rw-r--r--x11-drivers/xf86-video-nouveau/pkg-descr7
-rw-r--r--x11-drivers/xf86-video-nouveau/pkg-message15
-rw-r--r--x11-drivers/xf86-video-nouveau/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-rendition/Makefile20
-rw-r--r--x11-drivers/xf86-video-rendition/distinfo2
-rw-r--r--x11-drivers/xf86-video-rendition/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-rendition/pkg-plist7
-rw-r--r--x11-drivers/xf86-video-savage/Makefile22
-rw-r--r--x11-drivers/xf86-video-savage/distinfo2
-rw-r--r--x11-drivers/xf86-video-savage/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-savage/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-siliconmotion/Makefile19
-rw-r--r--x11-drivers/xf86-video-siliconmotion/distinfo2
-rw-r--r--x11-drivers/xf86-video-siliconmotion/pkg-descr3
-rw-r--r--x11-drivers/xf86-video-siliconmotion/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-sis/Makefile23
-rw-r--r--x11-drivers/xf86-video-sis/distinfo2
-rw-r--r--x11-drivers/xf86-video-sis/pkg-descr1
-rw-r--r--x11-drivers/xf86-video-sis/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-vesa/Makefile20
-rw-r--r--x11-drivers/xf86-video-vesa/distinfo2
-rw-r--r--x11-drivers/xf86-video-vesa/pkg-descr1
-rw-r--r--x11-drivers/xf86-video-vesa/pkg-plist5
-rw-r--r--x11-drivers/xf86-video-voodoo/Makefile20
-rw-r--r--x11-drivers/xf86-video-voodoo/distinfo2
-rw-r--r--x11-drivers/xf86-video-voodoo/pkg-descr1
-rw-r--r--x11-drivers/xf86-video-voodoo/pkg-plist5
138 files changed, 2116 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-acecad/Makefile b/x11-drivers/xf86-input-acecad/Makefile
new file mode 100644
index 0000000..e73f065
--- /dev/null
+++ b/x11-drivers/xf86-input-acecad/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xf86-input-acecad
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-acecad
+PORTVERSION= 1.5.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org acecad input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= acecad.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-acecad/distinfo b/x11-drivers/xf86-input-acecad/distinfo
new file mode 100644
index 0000000..4382553
--- /dev/null
+++ b/x11-drivers/xf86-input-acecad/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-acecad-1.5.0.tar.bz2) = c3032f38a07b54772299ce8832e16109a685ee63eeefbb17cef9fe1dd100a448
+SIZE (xorg/driver/xf86-input-acecad-1.5.0.tar.bz2) = 262818
diff --git a/x11-drivers/xf86-input-acecad/pkg-descr b/x11-drivers/xf86-input-acecad/pkg-descr
new file mode 100644
index 0000000..ceb6161
--- /dev/null
+++ b/x11-drivers/xf86-input-acecad/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-acecad driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-acecad/pkg-plist b/x11-drivers/xf86-input-acecad/pkg-plist
new file mode 100644
index 0000000..bece9a4
--- /dev/null
+++ b/x11-drivers/xf86-input-acecad/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/acecad_drv.la
+lib/xorg/modules/input/acecad_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-egalax/Makefile b/x11-drivers/xf86-input-egalax/Makefile
new file mode 100644
index 0000000..d8aec0b
--- /dev/null
+++ b/x11-drivers/xf86-input-egalax/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xf86-input-egalax
+# Date Created: 2 June 2010
+# Whom: Gleb Smirnoff <glebius@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-drivers/xf86-input-egalax/Makefile,v 1.5 2011/11/09 15:25:55 miwi Exp $
+#
+
+PORTNAME= xf86-input-egalax
+PORTVERSION= 0.2
+CATEGORIES= x11-drivers
+MASTER_SITES= LOCAL/glebius
+
+MAINTAINER= glebius@FreeBSD.org
+COMMENT= eGalax touch screen input driver for X.Org
+
+LICENSE= BSD
+
+XORG_CAT= driver
+MAN4= egalax.4x
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505
+IGNORE= is useless without uep(4) kernel driver
+.endif
+
+.if defined(WITH_NEW_XORG)
+IGNORE= does not build with X server 1.10
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-drivers/xf86-input-egalax/distinfo b/x11-drivers/xf86-input-egalax/distinfo
new file mode 100644
index 0000000..44b527e
--- /dev/null
+++ b/x11-drivers/xf86-input-egalax/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-egalax-0.2.tar.bz2) = 4396e74bd6db1f8ce4f6a95deacfd1209f01e78362a7379af970ec0e6023f895
+SIZE (xorg/driver/xf86-input-egalax-0.2.tar.bz2) = 189887
diff --git a/x11-drivers/xf86-input-egalax/pkg-descr b/x11-drivers/xf86-input-egalax/pkg-descr
new file mode 100644
index 0000000..731bf6e
--- /dev/null
+++ b/x11-drivers/xf86-input-egalax/pkg-descr
@@ -0,0 +1 @@
+This package contains the X.Org xf86-input-egalax driver. See also uep(4).
diff --git a/x11-drivers/xf86-input-egalax/pkg-plist b/x11-drivers/xf86-input-egalax/pkg-plist
new file mode 100644
index 0000000..6849aac
--- /dev/null
+++ b/x11-drivers/xf86-input-egalax/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/egalax_drv.la
+lib/xorg/modules/input/egalax_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-elographics/Makefile b/x11-drivers/xf86-input-elographics/Makefile
new file mode 100644
index 0000000..fe1cddd
--- /dev/null
+++ b/x11-drivers/xf86-input-elographics/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xf86-input-elographics
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-elographics
+PORTVERSION= ${ELO_VERSION}
+PORTREVISION= ${ELO_REVISION}
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org elographics input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= elographics.4x
+
+.if defined(WITH_NEW_XORG)
+ELO_VERSION= 1.3.0
+ELO_REVISION= 0
+.else
+ELO_VERSION= 1.2.4
+ELO_REVISION= 0
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-elographics/distinfo b/x11-drivers/xf86-input-elographics/distinfo
new file mode 100644
index 0000000..a609c5a
--- /dev/null
+++ b/x11-drivers/xf86-input-elographics/distinfo
@@ -0,0 +1,4 @@
+SHA256 (xorg/driver/xf86-input-elographics-1.2.4.tar.bz2) = dfede47c14c40e51294c84bf8f9bec5f5e0b17c80f370ae2ac6bddad79f9e66b
+SIZE (xorg/driver/xf86-input-elographics-1.2.4.tar.bz2) = 259101
+SHA256 (xorg/driver/xf86-input-elographics-1.3.0.tar.bz2) = 8c0bb3864a8fbc696c8f3d5442b2f20db1249a6ca23f5d020639f2cbcfe4ab9e
+SIZE (xorg/driver/xf86-input-elographics-1.3.0.tar.bz2) = 276070
diff --git a/x11-drivers/xf86-input-elographics/pkg-descr b/x11-drivers/xf86-input-elographics/pkg-descr
new file mode 100644
index 0000000..c941465
--- /dev/null
+++ b/x11-drivers/xf86-input-elographics/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-elographics driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-elographics/pkg-plist b/x11-drivers/xf86-input-elographics/pkg-plist
new file mode 100644
index 0000000..b6f57b1
--- /dev/null
+++ b/x11-drivers/xf86-input-elographics/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/elographics_drv.la
+lib/xorg/modules/input/elographics_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-fpit/Makefile b/x11-drivers/xf86-input-fpit/Makefile
new file mode 100644
index 0000000..886ddbb
--- /dev/null
+++ b/x11-drivers/xf86-input-fpit/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: xf86-input-fpit
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-fpit
+PORTVERSION= 1.4.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org fpit input driver
+
+XORG_CAT= driver
+USE_XORG= xrandr xextproto videoproto
+
+MAN4= fpit.4x
+
+.if !defined(WITH_NEW_XORG)
+IGNORE= does not build with X server 1.7.7
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-fpit/distinfo b/x11-drivers/xf86-input-fpit/distinfo
new file mode 100644
index 0000000..1e97d5e
--- /dev/null
+++ b/x11-drivers/xf86-input-fpit/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-fpit-1.4.0.tar.bz2) = 38a80ad6e9b367e068390b2ef92e0bbb9c21c09ea835a5190ae14c2271e68f9a
+SIZE (xorg/driver/xf86-input-fpit-1.4.0.tar.bz2) = 277843
diff --git a/x11-drivers/xf86-input-fpit/pkg-descr b/x11-drivers/xf86-input-fpit/pkg-descr
new file mode 100644
index 0000000..28985ef
--- /dev/null
+++ b/x11-drivers/xf86-input-fpit/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-fpit driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-fpit/pkg-plist b/x11-drivers/xf86-input-fpit/pkg-plist
new file mode 100644
index 0000000..724fb95
--- /dev/null
+++ b/x11-drivers/xf86-input-fpit/pkg-plist
@@ -0,0 +1,6 @@
+lib/xorg/modules/input/fpit_drv.la
+lib/xorg/modules/input/fpit_drv.so
+share/X11/xorg.conf.d/50-fpit.conf
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-hyperpen/Makefile b/x11-drivers/xf86-input-hyperpen/Makefile
new file mode 100644
index 0000000..d55e0ec
--- /dev/null
+++ b/x11-drivers/xf86-input-hyperpen/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: xf86-input-hyperpen
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-hyperpen
+PORTVERSION= 1.4.1
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org hyperpen input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+
+.if defined(WITH_NEW_XORG)
+IGNORE= does not build with Xorg-server 1.7.7
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-hyperpen/distinfo b/x11-drivers/xf86-input-hyperpen/distinfo
new file mode 100644
index 0000000..37edd2b
--- /dev/null
+++ b/x11-drivers/xf86-input-hyperpen/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-hyperpen-1.4.1.tar.bz2) = 31a816f032a2adf4be10909811831191a7528152347e1726b04810ff88436816
+SIZE (xorg/driver/xf86-input-hyperpen-1.4.1.tar.bz2) = 266891
diff --git a/x11-drivers/xf86-input-hyperpen/pkg-descr b/x11-drivers/xf86-input-hyperpen/pkg-descr
new file mode 100644
index 0000000..30e7b36
--- /dev/null
+++ b/x11-drivers/xf86-input-hyperpen/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-hyperpen driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-hyperpen/pkg-plist b/x11-drivers/xf86-input-hyperpen/pkg-plist
new file mode 100644
index 0000000..59dc017
--- /dev/null
+++ b/x11-drivers/xf86-input-hyperpen/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/hyperpen_drv.la
+lib/xorg/modules/input/hyperpen_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-joystick/Makefile b/x11-drivers/xf86-input-joystick/Makefile
new file mode 100644
index 0000000..11e0d78
--- /dev/null
+++ b/x11-drivers/xf86-input-joystick/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: xf86-input-joystick
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-joystick
+PORTVERSION= 1.6.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org joystick input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= joystick.4x
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-joystick/distinfo b/x11-drivers/xf86-input-joystick/distinfo
new file mode 100644
index 0000000..986f4b2
--- /dev/null
+++ b/x11-drivers/xf86-input-joystick/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-joystick-1.6.0.tar.bz2) = 4f1c15ec7372dd340ec7e1a8ca19d75148896ee3883184c3663cbaa12cf738f1
+SIZE (xorg/driver/xf86-input-joystick-1.6.0.tar.bz2) = 310552
diff --git a/x11-drivers/xf86-input-joystick/pkg-descr b/x11-drivers/xf86-input-joystick/pkg-descr
new file mode 100644
index 0000000..cfcfc76
--- /dev/null
+++ b/x11-drivers/xf86-input-joystick/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-joystick driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-joystick/pkg-plist b/x11-drivers/xf86-input-joystick/pkg-plist
new file mode 100644
index 0000000..1a0ab46
--- /dev/null
+++ b/x11-drivers/xf86-input-joystick/pkg-plist
@@ -0,0 +1,7 @@
+include/xorg/joystick-properties.h
+lib/xorg/modules/input/joystick_drv.la
+lib/xorg/modules/input/joystick_drv.so
+libdata/pkgconfig/xorg-joystick.pc
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-keyboard/Makefile b/x11-drivers/xf86-input-keyboard/Makefile
new file mode 100644
index 0000000..86be55c
--- /dev/null
+++ b/x11-drivers/xf86-input-keyboard/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xf86-input-keyboard
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-keyboard
+PORTVERSION= 1.6.1
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org keyboard input driver
+
+XORG_CAT= driver
+USE_XORG= kbproto xextproto videoproto
+MAN4= kbd.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-keyboard/distinfo b/x11-drivers/xf86-input-keyboard/distinfo
new file mode 100644
index 0000000..f093391
--- /dev/null
+++ b/x11-drivers/xf86-input-keyboard/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-keyboard-1.6.1.tar.bz2) = aa9ec96e7f7f87bc086cb86b871ee6f4b9a7809fb1e7d50d0abbd7c2e50a8cc3
+SIZE (xorg/driver/xf86-input-keyboard-1.6.1.tar.bz2) = 304166
diff --git a/x11-drivers/xf86-input-keyboard/files/patch-at_scancode.c b/x11-drivers/xf86-input-keyboard/files/patch-at_scancode.c
new file mode 100644
index 0000000..4a24423
--- /dev/null
+++ b/x11-drivers/xf86-input-keyboard/files/patch-at_scancode.c
@@ -0,0 +1,31 @@
+--- src/at_scancode.c.orig Sun Jul 3 09:01:35 2005
++++ src/at_scancode.c Sat Oct 7 21:27:29 2006
+@@ -84,6 +84,10 @@
+ case KEY_Prefix0:
+ pKbd->scanPrefix = 0;
+ switch (*scanCode) {
++ case 0x1e: *scanCode = KEY_AudioRaise;break;
++ case 0x1f: *scanCode = KEY_AudioLower;break;
++ case 0x20: *scanCode = KEY_Power; break;
++ case 0x25: *scanCode = KEY_Mute; break;
+ case KEY_KP_7: *scanCode = KEY_Home; break; /* curs home */
+ case KEY_KP_8: *scanCode = KEY_Up; break; /* curs up */
+ case KEY_KP_9: *scanCode = KEY_PgUp; break; /* curs pgup */
+@@ -103,6 +107,17 @@
+ case 0x5b: *scanCode = KEY_LMeta; break;
+ case 0x5c: *scanCode = KEY_RMeta; break;
+ case 0x5d: *scanCode = KEY_Menu; break;
++ case 0x5e: *scanCode = KEY_L1; break; /* stop */
++ case 0x5f: *scanCode = KEY_L2; break; /* again */
++ case 0x60: *scanCode = KEY_L3; break; /* props */
++ case 0x61: *scanCode = KEY_L4; break; /* undo */
++ case 0x62: *scanCode = KEY_L5; break; /* front */
++ case 0x63: *scanCode = KEY_L6; break; /* copy */
++ case 0x64: *scanCode = KEY_L7; break; /* open */
++ case 0x65: *scanCode = KEY_L8; break; /* paste */
++ case 0x66: *scanCode = KEY_L9; break; /* find */
++ case 0x67: *scanCode = KEY_L10; break; /* cut */
++ case 0x68: *scanCode = KEY_Help; break;
+ case KEY_F3: *scanCode = KEY_F13; break;
+ case KEY_F4: *scanCode = KEY_F14; break;
+ case KEY_F5: *scanCode = KEY_F15; break;
diff --git a/x11-drivers/xf86-input-keyboard/pkg-descr b/x11-drivers/xf86-input-keyboard/pkg-descr
new file mode 100644
index 0000000..0ee3dcb
--- /dev/null
+++ b/x11-drivers/xf86-input-keyboard/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-keyboard driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-keyboard/pkg-plist b/x11-drivers/xf86-input-keyboard/pkg-plist
new file mode 100644
index 0000000..7e9f47e
--- /dev/null
+++ b/x11-drivers/xf86-input-keyboard/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/kbd_drv.la
+lib/xorg/modules/input/kbd_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-mouse/Makefile b/x11-drivers/xf86-input-mouse/Makefile
new file mode 100644
index 0000000..8e1512a
--- /dev/null
+++ b/x11-drivers/xf86-input-mouse/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: xf86-input-mouse
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-mouse
+PORTVERSION= 1.7.1
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org mouse input driver
+
+CONFIGURE_ARGS+=--disable-silent-rules
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= mousedrv.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-mouse/distinfo b/x11-drivers/xf86-input-mouse/distinfo
new file mode 100644
index 0000000..890cfcb
--- /dev/null
+++ b/x11-drivers/xf86-input-mouse/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-mouse-1.7.1.tar.bz2) = d2c5b4b9bf03f8f7ef7b37bab25197d3f99a4d889c61bb67a68df33ec2c2ff12
+SIZE (xorg/driver/xf86-input-mouse-1.7.1.tar.bz2) = 319429
diff --git a/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c b/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c
new file mode 100644
index 0000000..b1da04c
--- /dev/null
+++ b/x11-drivers/xf86-input-mouse/files/patch-src-bsd_mouse.c
@@ -0,0 +1,250 @@
+--- src/bsd_mouse.c.orig 2008-11-26 23:11:36.000000000 -0500
++++ src/bsd_mouse.c 2009-04-07 17:10:17.000000000 -0400
+@@ -1,4 +1,3 @@
+-
+ /*
+ * Copyright (c) 1999-2003 by The XFree86 Project, Inc.
+ *
+@@ -71,15 +70,20 @@
+ static const char *FindDevice(InputInfoPtr, const char *, int);
+
+ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
++#if !defined(XPS2_SUPPORT) && (__FreeBSD_kernel_version >= 700106)
++#define XPS2_SUPPORT
++#endif
+ /* These are for FreeBSD and DragonFly */
+ #define DEFAULT_MOUSE_DEV "/dev/mouse"
+ #define DEFAULT_SYSMOUSE_DEV "/dev/sysmouse"
+ #define DEFAULT_PS2_DEV "/dev/psm0"
++#define DEFAULT_USB_DEV "/dev/ums0"
+
+ static const char *mouseDevs[] = {
+ DEFAULT_MOUSE_DEV,
+ DEFAULT_SYSMOUSE_DEV,
+ DEFAULT_PS2_DEV,
++ DEFAULT_USB_DEV,
+ NULL
+ };
+ #elif (defined(__OpenBSD__) || defined(__NetBSD__)) && defined(WSCONS_SUPPORT)
+@@ -100,7 +104,11 @@
+ #if defined(__NetBSD__)
+ return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO;
+ #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+- return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO | MSE_MISC;
++ return MSE_SERIAL | MSE_BUS | MSE_PS2 |
++#ifdef XPS2_SUPPORT
++ MSE_XPS2 |
++#endif
++ MSE_AUTO | MSE_MISC;
+ #else
+ return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_XPS2 | MSE_AUTO;
+ #endif
+@@ -179,10 +187,31 @@
+ { MOUSE_PROTO_THINK, "ThinkingMouse" },
+ { MOUSE_PROTO_SYSMOUSE, "SysMouse" }
+ };
+-
++
++#ifdef XPS2_SUPPORT
++static struct {
++ int dmodel;
++ char *name;
++} ps2proto[] = {
++ { MOUSE_MODEL_NETSCROLL, "NetScrollPS/2" },
++ { MOUSE_MODEL_NET, "NetMousePS/2" },
++ { MOUSE_MODEL_GLIDEPOINT, "GlidePointPS/2" },
++ { MOUSE_MODEL_THINK, "ThinkingMousePS/2" },
++ { MOUSE_MODEL_INTELLI, "IMPS/2" },
++ { MOUSE_MODEL_MOUSEMANPLUS, "MouseManPlusPS/2" },
++ { MOUSE_MODEL_EXPLORER, "ExplorerPS/2" },
++ { MOUSE_MODEL_4D, "IMPS/2" },
++ { MOUSE_MODEL_4DPLUS, "IMPS/2" },
++};
++#endif
++
+ static const char *
+ SetupAuto(InputInfoPtr pInfo, int *protoPara)
+ {
++#ifdef XPS2_SUPPORT
++ char *dev;
++#endif
++ const char *proto;
+ int i;
+ mousehw_t hw;
+ mousemode_t mode;
+@@ -190,10 +219,16 @@
+ if (pInfo->fd == -1)
+ return NULL;
+
++#ifdef XPS2_SUPPORT
+ /* set the driver operation level, if applicable */
++ dev = xf86FindOptionValue(pInfo->options, "Device");
++ if (dev != NULL && !strncmp(dev, DEFAULT_PS2_DEV, 8))
++ i = 2;
++ else
++#endif
+ i = 1;
+ ioctl(pInfo->fd, MOUSE_SETLEVEL, &i);
+-
++
+ /* interrogate the driver and get some intelligence on the device. */
+ hw.iftype = MOUSE_IF_UNKNOWN;
+ hw.model = MOUSE_MODEL_GENERIC;
+@@ -209,9 +244,18 @@
+ protoPara[0] = mode.syncmask[0];
+ protoPara[1] = mode.syncmask[1];
+ }
++ proto = devproto[i].name;
++#ifdef XPS2_SUPPORT
++ if (mode.protocol == MOUSE_PROTO_PS2)
++ for (i = 0; i < sizeof(ps2proto)/sizeof(ps2proto[0]); ++i)
++ if (hw.model == ps2proto[i].dmodel) {
++ proto = ps2proto[i].name;
++ break;
++ }
++#endif
+ xf86MsgVerb(X_INFO, 3, "%s: SetupAuto: protocol is %s\n",
+- pInfo->name, devproto[i].name);
+- return devproto[i].name;
++ pInfo->name, proto);
++ return proto;
+ }
+ }
+ }
+@@ -234,41 +278,41 @@
+ (protocol && xf86NameCmp(protocol, "SysMouse") == 0)) {
+ /*
+ * As the FreeBSD sysmouse driver defaults to protocol level 0
+- * everytime it is opened we enforce protocol level 1 again at
++ * everytime it is closed we enforce protocol level 1 again at
+ * this point.
+ */
+ mode.level = 1;
+ } else
+- mode.level = -1;
+-#else
+- mode.level = -1;
+ #endif
++ mode.level = -1;
+ ioctl(pInfo->fd, MOUSE_SETMODE, &mode);
+ }
+ #endif
+
+ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+-
+-#define MOUSED_PID_FILE "/var/run/moused.pid"
+-
+ /*
+ * Try to check if moused is running. DEFAULT_SYSMOUSE_DEV is useless without
+- * it. There doesn't seem to be a better way of checking.
++ * it. Also, try to check if the device is used by moused. If it is opened
++ * by moused, we do not want to use it directly. There doesn't seem to be
++ * a better way of checking.
+ */
+ static Bool
+-MousedRunning(void)
++MousedRunning(const char *dev)
+ {
++ char cmd[128];
+ FILE *f = NULL;
+- unsigned int pid;
++ unsigned int i;
+
+- if ((f = fopen(MOUSED_PID_FILE, "r")) != NULL) {
+- if (fscanf(f, "%u", &pid) == 1 && pid > 0) {
+- if (kill(pid, 0) == 0) {
+- fclose(f);
+- return TRUE;
+- }
++ if (dev)
++ sprintf(cmd, "sh -c 'fstat %s | grep -c moused' 2>/dev/null", dev);
++ else
++ sprintf(cmd, "sh -c 'pgrep -nx moused' 2>/dev/null");
++ if ((f = popen(cmd, "r")) != NULL) {
++ if (fscanf(f, "%u", &i) == 1 && i > 0) {
++ pclose(f);
++ return TRUE;
+ }
+- fclose(f);
++ pclose(f);
+ }
+ return FALSE;
+ }
+@@ -276,17 +320,17 @@
+ static const char *
+ FindDevice(InputInfoPtr pInfo, const char *protocol, int flags)
+ {
+- int fd = -1;
++ int ret = -1;
+ const char **pdev, *dev = NULL;
+ Bool devMouse = FALSE;
+ struct stat devMouseStat;
+ struct stat sb;
+
+ for (pdev = mouseDevs; *pdev; pdev++) {
+- SYSCALL (fd = open(*pdev, O_RDWR | O_NONBLOCK));
+- if (fd == -1) {
++ SYSCALL (ret = stat(*pdev, &sb));
++ if (ret == -1) {
+ #ifdef DEBUG
+- ErrorF("Cannot open %s (%s)\n", *pdev, strerror(errno));
++ ErrorF("Cannot stat %s (%s)\n", *pdev, strerror(errno));
+ #endif
+ } else {
+ /*
+@@ -295,28 +339,32 @@
+ * the test for whether /dev/sysmouse is usable can be made.
+ */
+ if (!strcmp(*pdev, DEFAULT_MOUSE_DEV)) {
+- if (fstat(fd, &devMouseStat) == 0)
+- devMouse = TRUE;
+- close(fd);
++ memcpy(&devMouseStat, &sb, sizeof(devMouseStat));
++ devMouse = TRUE;
+ continue;
+ } else if (!strcmp(*pdev, DEFAULT_SYSMOUSE_DEV)) {
+ /* Check if /dev/mouse is the same as /dev/sysmouse. */
+- if (devMouse && fstat(fd, &sb) == 0 &&
+- devMouseStat.st_dev == sb.st_dev &&
++ if (devMouse && devMouseStat.st_dev == sb.st_dev &&
+ devMouseStat.st_ino == sb.st_ino) {
+ /* If the same, use /dev/sysmouse. */
+ devMouse = FALSE;
+ }
+- close(fd);
+- if (MousedRunning())
++ if (MousedRunning(NULL))
+ break;
+- else {
+-#ifdef DEBUG
+- ErrorF("moused isn't running\n");
+-#endif
+- }
+ } else {
+- close(fd);
++ /* Check if /dev/mouse is the same as this device. */
++ if (devMouse && devMouseStat.st_dev == sb.st_dev &&
++ devMouseStat.st_ino == sb.st_ino) {
++ /* If the same, use this device. */
++ devMouse = FALSE;
++ }
++ if (MousedRunning(*pdev))
++ continue;
++ /* ums(4) does not support anything but SysMouse protocol. */
++ if (!strncmp(*pdev, DEFAULT_USB_DEV, 8) && protocol &&
++ xf86NameCmp(protocol, "auto") != 0 &&
++ xf86NameCmp(protocol, "sysmouse") != 0)
++ continue;
+ break;
+ }
+ }
+@@ -782,7 +830,9 @@
+ p->CheckProtocol = CheckProtocol;
+ #if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)) && defined(MOUSE_PROTO_SYSMOUSE)
+ p->SetupAuto = SetupAuto;
++#ifndef XPS2_SUPPORT
+ p->SetPS2Res = SetSysMouseRes;
++#endif
+ p->SetBMRes = SetSysMouseRes;
+ p->SetMiscRes = SetSysMouseRes;
+ #endif
diff --git a/x11-drivers/xf86-input-mouse/pkg-descr b/x11-drivers/xf86-input-mouse/pkg-descr
new file mode 100644
index 0000000..c45fe40
--- /dev/null
+++ b/x11-drivers/xf86-input-mouse/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-mouse driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-mouse/pkg-plist b/x11-drivers/xf86-input-mouse/pkg-plist
new file mode 100644
index 0000000..dd465f1
--- /dev/null
+++ b/x11-drivers/xf86-input-mouse/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/mouse_drv.la
+lib/xorg/modules/input/mouse_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-mutouch/Makefile b/x11-drivers/xf86-input-mutouch/Makefile
new file mode 100644
index 0000000..adb94e6
--- /dev/null
+++ b/x11-drivers/xf86-input-mutouch/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xf86-input-mutouch
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-mutouch
+PORTVERSION= 1.3.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org mutouch input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= mutouch.4x
+
+.if !defined(WITH_NEW_XORG)
+IGNORE= does not build with xorg-server 1.7.7
+.else
+
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-mutouch/distinfo b/x11-drivers/xf86-input-mutouch/distinfo
new file mode 100644
index 0000000..1dceb72
--- /dev/null
+++ b/x11-drivers/xf86-input-mutouch/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-mutouch-1.3.0.tar.bz2) = e28907ec71f010353550e897c7a1f161b59969c6ad84379fb5285e032448a43c
+SIZE (xorg/driver/xf86-input-mutouch-1.3.0.tar.bz2) = 268865
diff --git a/x11-drivers/xf86-input-mutouch/pkg-descr b/x11-drivers/xf86-input-mutouch/pkg-descr
new file mode 100644
index 0000000..e3d06cc
--- /dev/null
+++ b/x11-drivers/xf86-input-mutouch/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-mutouch driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-mutouch/pkg-plist b/x11-drivers/xf86-input-mutouch/pkg-plist
new file mode 100644
index 0000000..b3ef9f3
--- /dev/null
+++ b/x11-drivers/xf86-input-mutouch/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/mutouch_drv.la
+lib/xorg/modules/input/mutouch_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-penmount/Makefile b/x11-drivers/xf86-input-penmount/Makefile
new file mode 100644
index 0000000..5fdd360
--- /dev/null
+++ b/x11-drivers/xf86-input-penmount/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xf86-input-penmount
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-penmount
+PORTVERSION= ${PEN_VERSION}
+PORTREVISION= ${PEN_REVISION}
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org penmount input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= penmount.4x
+
+.if defined(WITH_NEW_XORG)
+PEN_VERSION= 1.5.0
+PEN_REVISION= 0
+.else
+PEN_VERSION= 1.4.1
+PEN_REVISION= 1
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-penmount/distinfo b/x11-drivers/xf86-input-penmount/distinfo
new file mode 100644
index 0000000..0b6998d
--- /dev/null
+++ b/x11-drivers/xf86-input-penmount/distinfo
@@ -0,0 +1,4 @@
+SHA256 (xorg/driver/xf86-input-penmount-1.4.1.tar.bz2) = 6f281a7bce9db34772bcf762eb0ed57b8121a204a6f15d5405fe870a0af57182
+SIZE (xorg/driver/xf86-input-penmount-1.4.1.tar.bz2) = 255951
+SHA256 (xorg/driver/xf86-input-penmount-1.5.0.tar.bz2) = f45a85911a59647ba24f84c15f49d31d5f62a9bb86ca56881bf3ecbc21113ce7
+SIZE (xorg/driver/xf86-input-penmount-1.5.0.tar.bz2) = 276864
diff --git a/x11-drivers/xf86-input-penmount/pkg-descr b/x11-drivers/xf86-input-penmount/pkg-descr
new file mode 100644
index 0000000..ea15a1e
--- /dev/null
+++ b/x11-drivers/xf86-input-penmount/pkg-descr
@@ -0,0 +1,4 @@
+This package contains the X.Org xf86-input-penmount driver.
+
+- Florent Thoumie
+flz@FreeBSD.org
diff --git a/x11-drivers/xf86-input-penmount/pkg-plist b/x11-drivers/xf86-input-penmount/pkg-plist
new file mode 100644
index 0000000..a48eb14
--- /dev/null
+++ b/x11-drivers/xf86-input-penmount/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/penmount_drv.la
+lib/xorg/modules/input/penmount_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-synaptics/Makefile b/x11-drivers/xf86-input-synaptics/Makefile
new file mode 100644
index 0000000..170f546
--- /dev/null
+++ b/x11-drivers/xf86-input-synaptics/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: xf86-input-synaptics
+# Date Created: 25 Sep 2008
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-synaptics
+PORTVERSION= 1.5.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org synaptics input driver
+
+CONFLICTS= synaptics-[0-9]*
+
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+
+USE_GNOME= gnomehack
+USE_XORG= x11 xextproto videoproto
+XORG_CAT= driver
+
+MAN1= syndaemon.1 \
+ synclient.1
+MAN4= synaptics.4x
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/hal/fdi/policy/10osvendor
+ ${INSTALL_DATA} ${WRKSRC}/conf/11-x11-synaptics.fdi \
+ ${PREFIX}/share/hal/fdi/policy/10osvendor/
+
+.if defined(WITH_NEW_XORG)
+PLIST_SUB+= NEW="" OLD="@comment "
+.else
+PLIST_SUB+= NEW="@comment " OLD=""
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-synaptics/distinfo b/x11-drivers/xf86-input-synaptics/distinfo
new file mode 100644
index 0000000..21ece95
--- /dev/null
+++ b/x11-drivers/xf86-input-synaptics/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-synaptics-1.5.0.tar.bz2) = 95cc5399fc49c9a35b02c2272cd99b8438f4609b219278c66a79e74c916a1c4e
+SIZE (xorg/driver/xf86-input-synaptics-1.5.0.tar.bz2) = 431123
diff --git a/x11-drivers/xf86-input-synaptics/pkg-descr b/x11-drivers/xf86-input-synaptics/pkg-descr
new file mode 100644
index 0000000..6d29e1b
--- /dev/null
+++ b/x11-drivers/xf86-input-synaptics/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-synaptics driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-synaptics/pkg-plist b/x11-drivers/xf86-input-synaptics/pkg-plist
new file mode 100644
index 0000000..4d1aec8
--- /dev/null
+++ b/x11-drivers/xf86-input-synaptics/pkg-plist
@@ -0,0 +1,18 @@
+bin/synclient
+bin/syndaemon
+include/xorg/synaptics-properties.h
+include/xorg/synaptics.h
+lib/xorg/modules/input/synaptics_drv.la
+lib/xorg/modules/input/synaptics_drv.so
+libdata/pkgconfig/xorg-synaptics.pc
+%%NEW%%share/X11/xorg.conf.d/50-synaptics.conf
+share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
+%%OLD%%share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
+@dirrmtry include/xorg
+@dirrmtry share/hal/fdi/policy/10osvendor
+@dirrmtry share/hal/fdi/policy
+@dirrmtry share/hal/fdi
+@dirrmtry share/hal
diff --git a/x11-drivers/xf86-input-vmmouse/Makefile b/x11-drivers/xf86-input-vmmouse/Makefile
new file mode 100644
index 0000000..ab5fffc
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: xf86-input-vmmouse
+# Date Created: 17 Feb 2006
+# Whom: NIIMI Satoshi <sa2c@sa2c.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-vmmouse
+PORTVERSION= 12.7.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org vmmouse input driver
+
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+CONFIGURE_ARGS= --with-hal-callouts-dir=${PREFIX}/libexec/hal/scripts
+USE_GMAKE= yes
+
+MAN1= vmmouse_detect.1
+MAN4= vmmouse.4x
+
+ONLY_FOR_ARCHS= i386 amd64
+ONLY_FOR_ARCHS_REASON= The vmmouse protocol is only supported on x86-compatible architectures.
+
+.if defined(WITH_NEW_XORG)
+PLIST_SUB+= NEW=""
+.else
+PLIST_SUB+= NEW="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-vmmouse/distinfo b/x11-drivers/xf86-input-vmmouse/distinfo
new file mode 100644
index 0000000..2987fb8
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-input-vmmouse-12.7.0.tar.bz2) = 00e5d527a0d97e6b2a6e8c519e1339427e66fa0a43af026858655c7c62bd9e35
+SIZE (xorg/driver/xf86-input-vmmouse-12.7.0.tar.bz2) = 281998
diff --git a/x11-drivers/xf86-input-vmmouse/pkg-descr b/x11-drivers/xf86-input-vmmouse/pkg-descr
new file mode 100644
index 0000000..266fa13
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-vmmouse driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-vmmouse/pkg-plist b/x11-drivers/xf86-input-vmmouse/pkg-plist
new file mode 100644
index 0000000..0af5d79
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/pkg-plist
@@ -0,0 +1,9 @@
+bin/vmmouse_detect
+libexec/hal/scripts/hal-probe-vmmouse
+lib/xorg/modules/input/vmmouse_drv.la
+lib/xorg/modules/input/vmmouse_drv.so
+%%NEW%%share/X11/xorg.conf.d/50-vmmouse.conf
+share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-input-void/Makefile b/x11-drivers/xf86-input-void/Makefile
new file mode 100644
index 0000000..deea0df
--- /dev/null
+++ b/x11-drivers/xf86-input-void/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xf86-input-void
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-input-void
+PORTVERSION= ${VOID_VERSION}
+PORTREVISION= ${VOID_REVISION}
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org void input driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= void.4x
+
+.if defined(WITH_NEW_XORG)
+VOID_VERSION= 1.4.0
+VOID_REVISION= 0
+.else
+VOID_VERSION= 1.3.1
+VOID_REVISION= 0
+.endif
+
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-input-void/distinfo b/x11-drivers/xf86-input-void/distinfo
new file mode 100644
index 0000000..a8c34de
--- /dev/null
+++ b/x11-drivers/xf86-input-void/distinfo
@@ -0,0 +1,4 @@
+SHA256 (xorg/driver/xf86-input-void-1.3.1.tar.bz2) = aba69784ac83f5951af3e164312adb4b8b1c91a8f79ab35dc5165c534e14c674
+SIZE (xorg/driver/xf86-input-void-1.3.1.tar.bz2) = 242189
+SHA256 (xorg/driver/xf86-input-void-1.4.0.tar.bz2) = 2ab95865252c64cc88050fa0089a74e063c357b71907bf9be7886047c4987505
+SIZE (xorg/driver/xf86-input-void-1.4.0.tar.bz2) = 273454
diff --git a/x11-drivers/xf86-input-void/pkg-descr b/x11-drivers/xf86-input-void/pkg-descr
new file mode 100644
index 0000000..7aa7847
--- /dev/null
+++ b/x11-drivers/xf86-input-void/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-input-void driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-input-void/pkg-plist b/x11-drivers/xf86-input-void/pkg-plist
new file mode 100644
index 0000000..554c368
--- /dev/null
+++ b/x11-drivers/xf86-input-void/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/input/void_drv.la
+lib/xorg/modules/input/void_drv.so
+@dirrmtry lib/xorg/modules/input
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-ark/Makefile b/x11-drivers/xf86-video-ark/Makefile
new file mode 100644
index 0000000..de559d8
--- /dev/null
+++ b/x11-drivers/xf86-video-ark/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xf86-video-ark
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-ark
+PORTVERSION= 0.7.3
+PORTREVISION= 1
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org ark display driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-ark/distinfo b/x11-drivers/xf86-video-ark/distinfo
new file mode 100644
index 0000000..d7e2a50
--- /dev/null
+++ b/x11-drivers/xf86-video-ark/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-ark-0.7.3.tar.bz2) = 39149a565c64ae013962022c45e561a0e92c5ab413688f3b5055cad694f28f98
+SIZE (xorg/driver/xf86-video-ark-0.7.3.tar.bz2) = 238946
diff --git a/x11-drivers/xf86-video-ark/pkg-descr b/x11-drivers/xf86-video-ark/pkg-descr
new file mode 100644
index 0000000..46a0bec
--- /dev/null
+++ b/x11-drivers/xf86-video-ark/pkg-descr
@@ -0,0 +1 @@
+This package contains the X.Org xf86-video-ark driver.
diff --git a/x11-drivers/xf86-video-ark/pkg-plist b/x11-drivers/xf86-video-ark/pkg-plist
new file mode 100644
index 0000000..ce3a4e9
--- /dev/null
+++ b/x11-drivers/xf86-video-ark/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/ark_drv.la
+lib/xorg/modules/drivers/ark_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-ati613/Makefile b/x11-drivers/xf86-video-ati613/Makefile
new file mode 100644
index 0000000..b4d6351
--- /dev/null
+++ b/x11-drivers/xf86-video-ati613/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: xf86-video-ati
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-drivers/xf86-video-ati613/Makefile,v 1.28 2011/11/09 15:25:57 miwi Exp $
+#
+
+PORTNAME= xf86-video-ati613
+PORTVERSION= 6.13.2
+CATEGORIES= x11-drivers
+DISTNAME= xf86-video-ati-${PORTVERSION}
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org ati display driver
+
+USE_GL= gl
+
+XORG_CAT= driver
+USE_XORG= xf86driproto xineramaproto videoproto xf86miscproto xextproto glproto
+MAN4= ati.4x radeon.4x
+
+.if defined(WITH_NEW_XORG)
+IGNORE= Please use x11-drivers/xf86-video-ati
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-ati613/distinfo b/x11-drivers/xf86-video-ati613/distinfo
new file mode 100644
index 0000000..bd223cd
--- /dev/null
+++ b/x11-drivers/xf86-video-ati613/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-ati-6.13.2.tar.bz2) = d85f60081e5b71bf19da4ca48bce95a9e9df3635c8540dd2640785bedfbc36ee
+SIZE (xorg/driver/xf86-video-ati-6.13.2.tar.bz2) = 985673
diff --git a/x11-drivers/xf86-video-ati613/pkg-descr b/x11-drivers/xf86-video-ati613/pkg-descr
new file mode 100644
index 0000000..fe1b01b
--- /dev/null
+++ b/x11-drivers/xf86-video-ati613/pkg-descr
@@ -0,0 +1 @@
+This package contains the X.Org xf86-video-ati driver.
diff --git a/x11-drivers/xf86-video-ati613/pkg-plist b/x11-drivers/xf86-video-ati613/pkg-plist
new file mode 100644
index 0000000..52b1421
--- /dev/null
+++ b/x11-drivers/xf86-video-ati613/pkg-plist
@@ -0,0 +1,14 @@
+lib/xorg/modules/drivers/ati_drv.la
+lib/xorg/modules/drivers/ati_drv.so
+lib/xorg/modules/drivers/radeon_drv.la
+lib/xorg/modules/drivers/radeon_drv.so
+lib/xorg/modules/multimedia/theatre200_drv.la
+lib/xorg/modules/multimedia/theatre200_drv.so
+lib/xorg/modules/multimedia/theatre_detect_drv.la
+lib/xorg/modules/multimedia/theatre_detect_drv.so
+lib/xorg/modules/multimedia/theatre_drv.la
+lib/xorg/modules/multimedia/theatre_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules/multimedia
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-chips/Makefile b/x11-drivers/xf86-video-chips/Makefile
new file mode 100644
index 0000000..15e327e
--- /dev/null
+++ b/x11-drivers/xf86-video-chips/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xf86-video-chips
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-chips
+PORTVERSION= 1.2.4
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org chips display driver
+
+XORG_CAT= driver
+USE_XORG= videoproto xextproto
+MAN4= chips.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-chips/distinfo b/x11-drivers/xf86-video-chips/distinfo
new file mode 100644
index 0000000..f03b719
--- /dev/null
+++ b/x11-drivers/xf86-video-chips/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-chips-1.2.4.tar.bz2) = fb6dc34a8d7db82dc6d555cebe6f95c2269dda4872118978345f6e1215ab4d25
+SIZE (xorg/driver/xf86-video-chips-1.2.4.tar.bz2) = 365618
diff --git a/x11-drivers/xf86-video-chips/pkg-descr b/x11-drivers/xf86-video-chips/pkg-descr
new file mode 100644
index 0000000..2145d88
--- /dev/null
+++ b/x11-drivers/xf86-video-chips/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-chips driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-chips/pkg-plist b/x11-drivers/xf86-video-chips/pkg-plist
new file mode 100644
index 0000000..437be4c
--- /dev/null
+++ b/x11-drivers/xf86-video-chips/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/chips_drv.la
+lib/xorg/modules/drivers/chips_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-dummy/Makefile b/x11-drivers/xf86-video-dummy/Makefile
new file mode 100644
index 0000000..c35b986
--- /dev/null
+++ b/x11-drivers/xf86-video-dummy/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: xf86-video-dummy
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-drivers/xf86-video-dummy/Makefile,v 1.12 2011/11/09 15:25:57 miwi Exp $
+#
+
+PORTNAME= xf86-video-dummy
+PORTVERSION= 0.3.5
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org dummy display driver
+
+XORG_CAT= driver
+USE_XORG= videoproto xf86dgaproto
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-dummy/distinfo b/x11-drivers/xf86-video-dummy/distinfo
new file mode 100644
index 0000000..899bec9
--- /dev/null
+++ b/x11-drivers/xf86-video-dummy/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-dummy-0.3.5.tar.bz2) = d5adc63543bb93b6d88008ea746303a2ab3e8b570974704926e81d882728d95f
+SIZE (xorg/driver/xf86-video-dummy-0.3.5.tar.bz2) = 274761
diff --git a/x11-drivers/xf86-video-dummy/pkg-descr b/x11-drivers/xf86-video-dummy/pkg-descr
new file mode 100644
index 0000000..4aa6c28
--- /dev/null
+++ b/x11-drivers/xf86-video-dummy/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-dummy driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-dummy/pkg-plist b/x11-drivers/xf86-video-dummy/pkg-plist
new file mode 100644
index 0000000..d9b858d
--- /dev/null
+++ b/x11-drivers/xf86-video-dummy/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/dummy_drv.la
+lib/xorg/modules/drivers/dummy_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-glint/Makefile b/x11-drivers/xf86-video-glint/Makefile
new file mode 100644
index 0000000..ab3f5a8
--- /dev/null
+++ b/x11-drivers/xf86-video-glint/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: xf86-video-glint
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-glint
+PORTVERSION= 1.2.6
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org glint display driver
+
+USE_GL= gl
+
+WITH_FBSD10_FIX=yes
+XORG_CAT= driver
+USE_XORG= xf86driproto videoproto xextproto xf86dgaproto glproto
+MAN4= glint.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-glint/distinfo b/x11-drivers/xf86-video-glint/distinfo
new file mode 100644
index 0000000..1e7a988
--- /dev/null
+++ b/x11-drivers/xf86-video-glint/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-glint-1.2.6.tar.bz2) = d43350ed3c149576db1dbcacf5e9a30a3268a3f49742724c9151b6f1e4bd21a7
+SIZE (xorg/driver/xf86-video-glint-1.2.6.tar.bz2) = 393872
diff --git a/x11-drivers/xf86-video-glint/pkg-descr b/x11-drivers/xf86-video-glint/pkg-descr
new file mode 100644
index 0000000..ef6b272
--- /dev/null
+++ b/x11-drivers/xf86-video-glint/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-glint driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-glint/pkg-plist b/x11-drivers/xf86-video-glint/pkg-plist
new file mode 100644
index 0000000..cb5ce1f
--- /dev/null
+++ b/x11-drivers/xf86-video-glint/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/glint_drv.la
+lib/xorg/modules/drivers/glint_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-intel/Makefile b/x11-drivers/xf86-video-intel/Makefile
new file mode 100644
index 0000000..8620b64
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: xf86-video-intel
+# Date Created: 28 May 2007
+# Whom: lesi@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-intel
+PORTVERSION= ${INTEL_VERSION}
+PORTREVISION= ${INTEL_REVISION}
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Driver for Intel integrated graphics chipsets
+
+ONLY_FOR_ARCHS= amd64 i386
+USE_GL= gl
+
+USE_LDCONFIG= yes
+XORG_CAT= driver
+USE_XORG= xvmc xineramaproto xextproto x11 xf86driproto glproto
+MAN4= intel.4x
+
+.if defined(WITH_NEW_XORG)
+INTEL_VERSION= 2.17.0
+INTEL_REVISION= 0
+MAKE_JOBS_UNSAFE=yes
+PLIST_SUB+= OLD="@comment "
+.else
+INTEL_VERSION= 2.7.1
+INTEL_REVISION= 4
+PLIST_SUB+= OLD=""
+
+EXTRA_PATCHES+= ${PATCHDIR}/extra-src_ch7017_ch7017.c \
+ ${PATCHDIR}/extra-src_i830_render.c \
+ ${PATCHDIR}/extra-src_ch7xxx_ch7xxx.c \
+ ${PATCHDIR}/extra-src_i830_video.c \
+ ${PATCHDIR}/extra-src_i810_driver.c \
+ ${PATCHDIR}/extra-src_i915_hwmc.c \
+ ${PATCHDIR}/extra-src_i810_hwmc.c \
+ ${PATCHDIR}/extra-src_i915_render.c \
+ ${PATCHDIR}/extra-src_i810_video.c \
+ ${PATCHDIR}/extra-src_i965_render.c \
+ ${PATCHDIR}/extra-src_i830_dri.c \
+ ${PATCHDIR}/extra-src_ivch_ivch.c \
+ ${PATCHDIR}/extra-src_i830_driver.c \
+ ${PATCHDIR}/extra-src_sil164_sil164.c \
+ ${PATCHDIR}/extra-src_i830_dvo.c \
+ ${PATCHDIR}/extra-src_tfp410_tfp410.c \
+ ${PATCHDIR}/extra-src_i830_i2c.c \
+ ${PATCHDIR}/extra-uxa_uxa-priv.h
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_NEW_XORG)
+pre-configure:
+.if !exists(${LOCALBASE}/lib/libkms.so)
+ @${ECHO} "${PKGNAME}: Rebuild graphics/libdrm with the WITH_KMS option."
+ @${FALSE}
+.endif
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-drivers/xf86-video-intel/distinfo b/x11-drivers/xf86-video-intel/distinfo
new file mode 100644
index 0000000..fa854eb
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/distinfo
@@ -0,0 +1,4 @@
+SHA256 (xorg/driver/xf86-video-intel-2.7.1.tar.bz2) = 255c0d54249cc0132f743254a43c21fac695fab2139c8ed96a07cf3c628e5f42
+SIZE (xorg/driver/xf86-video-intel-2.7.1.tar.bz2) = 780625
+SHA256 (xorg/driver/xf86-video-intel-2.17.0.tar.bz2) = 8b8450f2a2cc52ef31a83414e2f290e748a956690e11b41759d5650aaedc4387
+SIZE (xorg/driver/xf86-video-intel-2.17.0.tar.bz2) = 1339717
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_ch7017_ch7017.c b/x11-drivers/xf86-video-intel/files/extra-src_ch7017_ch7017.c
new file mode 100644
index 0000000..278354a
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_ch7017_ch7017.c
@@ -0,0 +1,17 @@
+--- src/ch7017/ch7017.c.orig 2009-04-08 18:59:47.000000000 -0500
++++ src/ch7017/ch7017.c 2010-02-21 12:40:12.000000000 -0600
+@@ -34,13 +34,11 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "miscstruct.h"
+ #include "xf86i2c.h"
+ #include "xf86Crtc.h"
+-#define DPMS_SERVER
+-#include <X11/extensions/dpms.h>
++#include <X11/extensions/dpmsconst.h>
+
+ #include "../i2c_vid.h"
+ #include "ch7017_reg.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_ch7xxx_ch7xxx.c b/x11-drivers/xf86-video-intel/files/extra-src_ch7xxx_ch7xxx.c
new file mode 100644
index 0000000..6dbc0a7
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_ch7xxx_ch7xxx.c
@@ -0,0 +1,17 @@
+--- src/ch7xxx/ch7xxx.c.orig 2010-02-21 12:42:11.000000000 -0600
++++ src/ch7xxx/ch7xxx.c 2010-02-21 12:44:40.000000000 -0600
+@@ -34,13 +34,11 @@
+ #include <string.h>
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "miscstruct.h"
+ #include "xf86i2c.h"
+ #include "xf86Crtc.h"
+-#define DPMS_SERVER
+-#include <X11/extensions/dpms.h>
++#include <X11/extensions/dpmsconst.h>
+
+ #include "../i2c_vid.h"
+ #include "ch7xxx.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i810_driver.c b/x11-drivers/xf86-video-intel/files/extra-src_i810_driver.c
new file mode 100644
index 0000000..5ccb55a
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i810_driver.c
@@ -0,0 +1,111 @@
+--- src/i810_driver.c.orig 2010-02-21 12:55:16.000000000 -0600
++++ src/i810_driver.c 2010-02-21 13:17:04.000000000 -0600
+@@ -69,8 +69,6 @@
+ */
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+-#include "xf86RAC.h"
+ #include "xf86cmap.h"
+ #include "compiler.h"
+ #include "mibstore.h"
+@@ -490,20 +488,6 @@
+ );
+
+ /*
+- * Tell the loader about symbols from other modules that this module
+- * might refer to.
+- */
+- LoaderRefSymLists(I810vgahwSymbols,
+- I810fbSymbols, I810xaaSymbols, I810ramdacSymbols,
+-#ifdef XF86DRI
+- I810drmSymbols,
+- I810driSymbols,
+-#endif
+- I810shadowFBSymbols,
+- I810vbeSymbols, vbeOptionalSymbols,
+- I810ddcSymbols, NULL);
+-
+- /*
+ * The return value must be non-NULL on success even though there
+ * is no TearDownProc.
+ */
+@@ -809,7 +793,6 @@
+ }
+
+ if (xf86LoadSubModule(pScrn, "vbe") && (pVbe = VBEInit(NULL, index))) {
+- xf86LoaderReqSymLists(I810vbeSymbols, NULL);
+ MonInfo = vbeDoEDID(pVbe, NULL);
+ xf86PrintEDID(MonInfo);
+ xf86SetDDCproperties(pScrn, MonInfo);
+@@ -864,8 +847,6 @@
+ if (!xf86LoadSubModule(pScrn, "vgahw"))
+ return FALSE;
+
+- xf86LoaderReqSymLists(I810vgahwSymbols, NULL);
+-
+ /* Allocate a vgaHWRec */
+ if (!vgaHWGetHWRec(pScrn))
+ return FALSE;
+@@ -878,10 +859,6 @@
+ pI810->PciInfo->func);
+ #endif
+
+- if (xf86RegisterResources(pI810->pEnt->index, NULL, ResNone))
+- return FALSE;
+- pScrn->racMemFlags = RAC_FB | RAC_COLORMAP;
+-
+ /* Set pScrn->monitor */
+ pScrn->monitor = pScrn->confScreen->monitor;
+
+@@ -960,7 +937,6 @@
+ I810FreeRec(pScrn);
+ return FALSE;
+ }
+- xf86LoaderReqSymLists(I810xaaSymbols, NULL);
+ }
+
+ #ifdef XF86DRI
+@@ -1244,14 +1220,12 @@
+ I810FreeRec(pScrn);
+ return FALSE;
+ }
+- xf86LoaderReqSymLists(I810fbSymbols, NULL);
+
+ if (!xf86ReturnOptValBool(pI810->Options, OPTION_SW_CURSOR, FALSE)) {
+ if (!xf86LoadSubModule(pScrn, "ramdac")) {
+ I810FreeRec(pScrn);
+ return FALSE;
+ }
+- xf86LoaderReqSymLists(I810ramdacSymbols, NULL);
+ }
+
+ if (xf86GetOptValInteger
+@@ -1278,9 +1252,6 @@
+ xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+ "Couldn't load shadowfb module:\n");
+ }
+- else {
+- xf86LoaderReqSymLists(I810shadowFBSymbols, NULL);
+- }
+ }
+
+ xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "page flipping %s\n",
+@@ -1312,16 +1283,12 @@
+ #ifdef XF86DRI
+ /* Load the dri module if requested. */
+ if (xf86ReturnOptValBool(pI810->Options, OPTION_DRI, FALSE)) {
+- if (xf86LoadSubModule(pScrn, "dri")) {
+- xf86LoaderReqSymLists(I810driSymbols, I810drmSymbols, NULL);
+- }
++ xf86LoadSubModule(pScrn, "dri");
+ }
+ #endif
+
+ /* We won't be using the VGA access after the probe */
+ I810SetMMIOAccess(pI810);
+- xf86SetOperatingState(resVgaIo, pI810->pEnt->index, ResUnusedOpr);
+- xf86SetOperatingState(resVgaMem, pI810->pEnt->index, ResDisableOpr);
+
+ return TRUE;
+ }
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i810_hwmc.c b/x11-drivers/xf86-video-intel/files/extra-src_i810_hwmc.c
new file mode 100644
index 0000000..ffb2ac3
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i810_hwmc.c
@@ -0,0 +1,10 @@
+--- src/i810_hwmc.c.orig 2010-02-21 13:40:44.000000000 -0600
++++ src/i810_hwmc.c 2010-02-21 13:41:16.000000000 -0600
+@@ -42,7 +42,6 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "xf86PciInfo.h"
+ #include "xf86Pci.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i810_video.c b/x11-drivers/xf86-video-intel/files/extra-src_i810_video.c
new file mode 100644
index 0000000..c10b5e6
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i810_video.c
@@ -0,0 +1,10 @@
+--- src/i810_video.c.orig 2010-02-21 13:17:58.000000000 -0600
++++ src/i810_video.c 2010-02-21 13:18:37.000000000 -0600
+@@ -42,7 +42,6 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "xf86PciInfo.h"
+ #include "xf86Pci.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i830_dri.c b/x11-drivers/xf86-video-intel/files/extra-src_i830_dri.c
new file mode 100644
index 0000000..05bdb93
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i830_dri.c
@@ -0,0 +1,14 @@
+--- src/i830_dri.c.orig 2010-02-21 13:30:37.000000000 -0600
++++ src/i830_dri.c 2010-02-21 13:39:02.000000000 -0600
+@@ -1731,9 +1731,10 @@
+ info.driverName = IS_I965G(pI830) ? "i965" : "i915";
+ info.deviceName = p;
+ info.version = 1;
+-
++#if 0
+ info.CreateBuffers = I830DRI2CreateBuffers;
+ info.DestroyBuffers = I830DRI2DestroyBuffers;
++#endif
+ info.CopyRegion = I830DRI2CopyRegion;
+
+ pI830->drmSubFD = info.fd;
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i830_driver.c b/x11-drivers/xf86-video-intel/files/extra-src_i830_driver.c
new file mode 100644
index 0000000..776b67f
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i830_driver.c
@@ -0,0 +1,97 @@
+--- src/i830_driver.c.orig 2010-02-21 13:20:12.000000000 -0600
++++ src/i830_driver.c 2010-02-21 13:26:14.000000000 -0600
+@@ -175,8 +175,6 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+-#include "xf86RAC.h"
+ #include "xf86Priv.h"
+ #include "xf86cmap.h"
+ #include "compiler.h"
+@@ -1050,7 +1048,6 @@
+ if (!xf86LoadSubModule(pScrn, "ddc")) {
+ pI830->ddc2 = FALSE;
+ } else {
+- xf86LoaderReqSymLists(I810ddcSymbols, NULL);
+ pI830->ddc2 = TRUE;
+ }
+
+@@ -1058,8 +1055,6 @@
+ /* Load I2C if we have the code to use it */
+ if (pI830->ddc2) {
+ if (xf86LoadSubModule(pScrn, "i2c")) {
+- xf86LoaderReqSymLists(I810i2cSymbols, NULL);
+-
+ pI830->ddc2 = TRUE;
+ } else {
+ pI830->ddc2 = FALSE;
+@@ -1511,11 +1506,9 @@
+ /* The vgahw module should be loaded here when needed */
+ if (!xf86LoadSubModule(pScrn, "vgahw"))
+ return FALSE;
+- xf86LoaderReqSymLists(I810vgahwSymbols, NULL);
+
+ if (!xf86LoadSubModule(pScrn, "ramdac"))
+ return FALSE;
+- xf86LoaderReqSymLists(I810ramdacSymbols, NULL);
+
+ return TRUE;
+ }
+@@ -1854,12 +1847,6 @@
+ pI830->PciInfo->func);
+ #endif
+
+- if (xf86RegisterResources(pI830->pEnt->index, NULL, ResNone)) {
+- PreInitCleanup(pScrn);
+- return FALSE;
+- }
+-
+- pScrn->racMemFlags = RAC_FB | RAC_COLORMAP;
+ pScrn->monitor = pScrn->confScreen->monitor;
+ pScrn->progClock = TRUE;
+ pScrn->rgbBits = 8;
+@@ -1942,8 +1929,6 @@
+ return FALSE;
+ }
+
+- xf86LoaderReqSymLists(I810fbSymbols, NULL);
+-
+ switch (pI830->accel) {
+ #ifdef I830_USE_XAA
+ case ACCEL_XAA:
+@@ -1951,7 +1936,6 @@
+ PreInitCleanup(pScrn);
+ return FALSE;
+ }
+- xf86LoaderReqSymLists(I810xaaSymbols, NULL);
+ break;
+ #endif
+
+@@ -1973,7 +1957,6 @@
+ PreInitCleanup(pScrn);
+ return FALSE;
+ }
+- xf86LoaderReqSymLists(I830exaSymbols, NULL);
+ break;
+ }
+ #endif
+@@ -1988,17 +1971,13 @@
+
+ /* We won't be using the VGA access after the probe. */
+ I830SetMMIOAccess(pI830);
+- xf86SetOperatingState(resVgaIo, pI830->pEnt->index, ResUnusedOpr);
+- xf86SetOperatingState(resVgaMem, pI830->pEnt->index, ResDisableOpr);
+ }
+
+ #if defined(XF86DRI)
+ /* Load the dri module if requested. */
+ if (xf86ReturnOptValBool(pI830->Options, OPTION_DRI, FALSE) &&
+ pI830->directRenderingType != DRI_DISABLED) {
+- if (xf86LoadSubModule(pScrn, "dri")) {
+- xf86LoaderReqSymLists(I810driSymbols, I810drmSymbols, NULL);
+- }
++ xf86LoadSubModule(pScrn, "dri");
+ }
+ #endif
+
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i830_dvo.c b/x11-drivers/xf86-video-intel/files/extra-src_i830_dvo.c
new file mode 100644
index 0000000..d392942
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i830_dvo.c
@@ -0,0 +1,80 @@
+--- src/i830_dvo.c.orig 2010-05-03 11:09:54.000000000 -0500
++++ src/i830_dvo.c 2010-05-03 11:13:31.000000000 -0500
+@@ -38,28 +38,6 @@
+ #include "ch7xxx/ch7xxx.h"
+ #include "tfp410/tfp410.h"
+
+-static const char *SIL164Symbols[] = {
+- "Sil164VidOutput",
+- NULL
+-};
+-static const char *TFP410Symbols[] = {
+- "Tfp410VidOutput",
+- NULL
+-};
+-static const char *CH7xxxSymbols[] = {
+- "CH7xxxVidOutput",
+- NULL
+-};
+-static const char *ivch_symbols[] = {
+- "ivch_methods",
+- NULL
+-};
+-
+-static const char *ch7017_symbols[] = {
+- "ch7017_methods",
+- NULL
+-};
+-
+ /* driver list */
+ struct _I830DVODriver i830_dvo_drivers[] =
+ {
+@@ -69,7 +47,6 @@
+ .fntablename = "SIL164VidOutput",
+ .dvo_reg = DVOC,
+ .address = (SIL164_ADDR_1<<1),
+- .symbols = SIL164Symbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_TMDS,
+@@ -77,7 +54,6 @@
+ .fntablename = "CH7xxxVidOutput",
+ .dvo_reg = DVOC,
+ .address = (CH7xxx_ADDR_1<<1),
+- .symbols = CH7xxxSymbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_LVDS,
+@@ -85,7 +61,6 @@
+ .fntablename = "ivch_methods",
+ .dvo_reg = DVOA,
+ .address = 0x04, /* Might also be 0x44, 0x84, 0xc4 */
+- .symbols = ivch_symbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_TMDS,
+@@ -93,7 +68,6 @@
+ .fntablename = "TFP410VidOutput",
+ .dvo_reg = DVOC,
+ .address = (TFP410_ADDR_1<<1),
+- .symbols = TFP410Symbols
+ },
+ {
+ .type = I830_OUTPUT_DVO_LVDS,
+@@ -101,7 +75,6 @@
+ .fntablename = "ch7017_methods",
+ .dvo_reg = DVOC,
+ .address = 0xea,
+- .symbols = ch7017_symbols,
+ .gpio = GPIOE,
+ }
+ };
+@@ -447,8 +420,6 @@
+ if (drv->modhandle == NULL)
+ continue;
+
+- xf86LoaderReqSymLists(drv->symbols, NULL);
+-
+ ret_ptr = NULL;
+ drv->vid_rec = LoaderSymbol(drv->fntablename);
+
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i830_i2c.c b/x11-drivers/xf86-video-intel/files/extra-src_i830_i2c.c
new file mode 100644
index 0000000..1f4461c
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i830_i2c.c
@@ -0,0 +1,11 @@
+--- src/i830_i2c.c.orig 2010-02-21 13:27:07.000000000 -0600
++++ src/i830_i2c.c 2010-02-21 13:27:45.000000000 -0600
+@@ -31,8 +31,6 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+-#include "xf86RAC.h"
+ #include "xf86cmap.h"
+ #include "compiler.h"
+ #include "mibstore.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i830_render.c b/x11-drivers/xf86-video-intel/files/extra-src_i830_render.c
new file mode 100644
index 0000000..e292a7d
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i830_render.c
@@ -0,0 +1,78 @@
+--- src/i830_render.c.orig 2009-05-12 19:12:11.000000000 -0500
++++ src/i830_render.c 2010-03-07 15:30:45.000000000 -0600
+@@ -210,26 +210,8 @@
+ (dblend << S8_DST_BLEND_FACTOR_SHIFT);
+ }
+
+-static Bool i830_check_composite_texture(PicturePtr pPict, int unit)
++static Bool i830_check_composite_texture(ScrnInfoPtr pScrn, PicturePtr pPict, int unit)
+ {
+- ScrnInfoPtr pScrn = xf86Screens[pPict->pDrawable->pScreen->myNum];
+- int w = pPict->pDrawable->width;
+- int h = pPict->pDrawable->height;
+- int i;
+-
+- if ((w > 2048) || (h > 2048))
+- I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
+-
+- for (i = 0; i < sizeof(i830_tex_formats) / sizeof(i830_tex_formats[0]);
+- i++)
+- {
+- if (i830_tex_formats[i].fmt == pPict->format)
+- break;
+- }
+- if (i == sizeof(i830_tex_formats) / sizeof(i830_tex_formats[0]))
+- I830FALLBACK("Unsupported picture format 0x%x\n",
+- (int)pPict->format);
+-
+ if (pPict->repeatType > RepeatReflect)
+ I830FALLBACK("Unsupported picture repeat %d\n", pPict->repeatType);
+
+@@ -239,6 +221,26 @@
+ I830FALLBACK("Unsupported filter 0x%x\n", pPict->filter);
+ }
+
++ if (pPict->pDrawable)
++ {
++ int w, h, i;
++
++ w = pPict->pDrawable->width;
++ h = pPict->pDrawable->height;
++ if ((w > 2048) || (h > 2048))
++ I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
++
++ for (i = 0; i < sizeof(i830_tex_formats) / sizeof(i830_tex_formats[0]);
++ i++)
++ {
++ if (i830_tex_formats[i].fmt == pPict->format)
++ break;
++ }
++ if (i == sizeof(i830_tex_formats) / sizeof(i830_tex_formats[0]))
++ I830FALLBACK("Unsupported picture format 0x%x\n",
++ (int)pPict->format);
++ }
++
+ return TRUE;
+ }
+
+@@ -376,9 +378,9 @@
+ "alpha and source value blending.\n");
+ }
+
+- if (!i830_check_composite_texture(pSrcPicture, 0))
++ if (!i830_check_composite_texture(pScrn, pSrcPicture, 0))
+ I830FALLBACK("Check Src picture texture\n");
+- if (pMaskPicture != NULL && !i830_check_composite_texture(pMaskPicture, 1))
++ if (pMaskPicture != NULL && !i830_check_composite_texture(pScrn, pMaskPicture, 1))
+ I830FALLBACK("Check Mask picture texture\n");
+
+ if (!i830_get_dest_format(pDstPicture, &tmp1))
+@@ -392,7 +394,7 @@
+ PicturePtr pMaskPicture, PicturePtr pDstPicture,
+ PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst)
+ {
+- ScrnInfoPtr pScrn = xf86Screens[pSrcPicture->pDrawable->pScreen->myNum];
++ ScrnInfoPtr pScrn = xf86Screens[pDstPicture->pDrawable->pScreen->myNum];
+ I830Ptr pI830 = I830PTR(pScrn);
+ uint32_t dst_format, dst_pitch;
+ Bool is_affine_src, is_affine_mask;
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i830_video.c b/x11-drivers/xf86-video-intel/files/extra-src_i830_video.c
new file mode 100644
index 0000000..b93a98e
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i830_video.c
@@ -0,0 +1,10 @@
+--- src/i830_video.c.orig 2010-02-21 13:28:37.000000000 -0600
++++ src/i830_video.c 2010-02-21 13:29:05.000000000 -0600
+@@ -57,7 +57,6 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "xf86PciInfo.h"
+ #include "xf86Pci.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i915_hwmc.c b/x11-drivers/xf86-video-intel/files/extra-src_i915_hwmc.c
new file mode 100644
index 0000000..ab7f679
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i915_hwmc.c
@@ -0,0 +1,10 @@
+--- src/i915_hwmc.c.orig 2010-02-21 13:42:21.000000000 -0600
++++ src/i915_hwmc.c 2010-02-21 13:42:38.000000000 -0600
+@@ -32,7 +32,6 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "xf86PciInfo.h"
+ #include "xf86Pci.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i915_render.c b/x11-drivers/xf86-video-intel/files/extra-src_i915_render.c
new file mode 100644
index 0000000..53b1a0e
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i915_render.c
@@ -0,0 +1,69 @@
+--- src/i915_render.c.orig 2009-05-12 19:12:11.000000000 -0500
++++ src/i915_render.c 2010-03-07 15:30:45.000000000 -0600
+@@ -167,26 +167,8 @@
+ return TRUE;
+ }
+
+-static Bool i915_check_composite_texture(PicturePtr pPict, int unit)
++static Bool i915_check_composite_texture(ScrnInfoPtr pScrn, PicturePtr pPict, int unit)
+ {
+- ScrnInfoPtr pScrn = xf86Screens[pPict->pDrawable->pScreen->myNum];
+- int w = pPict->pDrawable->width;
+- int h = pPict->pDrawable->height;
+- int i;
+-
+- if ((w > 2048) || (h > 2048))
+- I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
+-
+- for (i = 0; i < sizeof(i915_tex_formats) / sizeof(i915_tex_formats[0]);
+- i++)
+- {
+- if (i915_tex_formats[i].fmt == pPict->format)
+- break;
+- }
+- if (i == sizeof(i915_tex_formats) / sizeof(i915_tex_formats[0]))
+- I830FALLBACK("Unsupported picture format 0x%x\n",
+- (int)pPict->format);
+-
+ if (pPict->repeatType > RepeatReflect)
+ I830FALLBACK("Unsupported picture repeat %d\n", pPict->repeatType);
+
+@@ -194,6 +176,26 @@
+ pPict->filter != PictFilterBilinear)
+ I830FALLBACK("Unsupported filter 0x%x\n", pPict->filter);
+
++ if (pPict->pDrawable)
++ {
++ int w, h, i;
++
++ w = pPict->pDrawable->width;
++ h = pPict->pDrawable->height;
++ if ((w > 2048) || (h > 2048))
++ I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
++
++ for (i = 0; i < sizeof(i915_tex_formats) / sizeof(i915_tex_formats[0]);
++ i++)
++ {
++ if (i915_tex_formats[i].fmt == pPict->format)
++ break;
++ }
++ if (i == sizeof(i915_tex_formats) / sizeof(i915_tex_formats[0]))
++ I830FALLBACK("Unsupported picture format 0x%x\n",
++ (int)pPict->format);
++ }
++
+ return TRUE;
+ }
+
+@@ -220,9 +222,9 @@
+ "alpha and source value blending.\n");
+ }
+
+- if (!i915_check_composite_texture(pSrcPicture, 0))
++ if (!i915_check_composite_texture(pScrn, pSrcPicture, 0))
+ I830FALLBACK("Check Src picture texture\n");
+- if (pMaskPicture != NULL && !i915_check_composite_texture(pMaskPicture, 1))
++ if (pMaskPicture != NULL && !i915_check_composite_texture(pScrn, pMaskPicture, 1))
+ I830FALLBACK("Check Mask picture texture\n");
+
+ if (!i915_get_dest_format(pDstPicture, &tmp1))
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_i965_render.c b/x11-drivers/xf86-video-intel/files/extra-src_i965_render.c
new file mode 100644
index 0000000..99b7d78
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_i965_render.c
@@ -0,0 +1,78 @@
+--- src/i965_render.c.orig 2009-05-12 19:12:11.000000000 -0500
++++ src/i965_render.c 2010-03-07 15:30:45.000000000 -0600
+@@ -181,26 +181,8 @@
+ return TRUE;
+ }
+
+-static Bool i965_check_composite_texture(PicturePtr pPict, int unit)
++static Bool i965_check_composite_texture(ScrnInfoPtr pScrn, PicturePtr pPict, int unit)
+ {
+- ScrnInfoPtr pScrn = xf86Screens[pPict->pDrawable->pScreen->myNum];
+- int w = pPict->pDrawable->width;
+- int h = pPict->pDrawable->height;
+- int i;
+-
+- if ((w > 8192) || (h > 8192))
+- I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
+-
+- for (i = 0; i < sizeof(i965_tex_formats) / sizeof(i965_tex_formats[0]);
+- i++)
+- {
+- if (i965_tex_formats[i].fmt == pPict->format)
+- break;
+- }
+- if (i == sizeof(i965_tex_formats) / sizeof(i965_tex_formats[0]))
+- I830FALLBACK("Unsupported picture format 0x%x\n",
+- (int)pPict->format);
+-
+ if (pPict->repeatType > RepeatReflect)
+ I830FALLBACK("extended repeat (%d) not supported\n",
+ pPict->repeatType);
+@@ -211,6 +193,26 @@
+ I830FALLBACK("Unsupported filter 0x%x\n", pPict->filter);
+ }
+
++ if (pPict->pDrawable)
++ {
++ int w, h, i;
++
++ w = pPict->pDrawable->width;
++ h = pPict->pDrawable->height;
++ if ((w > 8192) || (h > 8192))
++ I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
++
++ for (i = 0; i < sizeof(i965_tex_formats) / sizeof(i965_tex_formats[0]);
++ i++)
++ {
++ if (i965_tex_formats[i].fmt == pPict->format)
++ break;
++ }
++ if (i == sizeof(i965_tex_formats) / sizeof(i965_tex_formats[0]))
++ I830FALLBACK("Unsupported picture format 0x%x\n",
++ (int)pPict->format);
++ }
++
+ return TRUE;
+ }
+
+@@ -239,9 +241,9 @@
+ }
+ }
+
+- if (!i965_check_composite_texture(pSrcPicture, 0))
++ if (!i965_check_composite_texture(pScrn, pSrcPicture, 0))
+ I830FALLBACK("Check Src picture texture\n");
+- if (pMaskPicture != NULL && !i965_check_composite_texture(pMaskPicture, 1))
++ if (pMaskPicture != NULL && !i965_check_composite_texture(pScrn, pMaskPicture, 1))
+ I830FALLBACK("Check Mask picture texture\n");
+
+ if (!i965_get_dest_format(pDstPicture, &tmp1))
+@@ -1258,7 +1260,7 @@
+ PicturePtr pMaskPicture, PicturePtr pDstPicture,
+ PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst)
+ {
+- ScrnInfoPtr pScrn = xf86Screens[pSrcPicture->pDrawable->pScreen->myNum];
++ ScrnInfoPtr pScrn = xf86Screens[pDstPicture->pDrawable->pScreen->myNum];
+ I830Ptr pI830 = I830PTR(pScrn);
+ struct gen4_render_state *render_state= pI830->gen4_render_state;
+ gen4_composite_op *composite_op = &render_state->composite_op;
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_ivch_ivch.c b/x11-drivers/xf86-video-intel/files/extra-src_ivch_ivch.c
new file mode 100644
index 0000000..b54885d
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_ivch_ivch.c
@@ -0,0 +1,17 @@
+--- src/ivch/ivch.c.orig 2010-02-21 12:47:05.000000000 -0600
++++ src/ivch/ivch.c 2010-02-21 12:48:09.000000000 -0600
+@@ -31,13 +31,11 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "miscstruct.h"
+ #include "xf86i2c.h"
+ #include "xf86Crtc.h"
+-#define DPMS_SERVER
+-#include <X11/extensions/dpms.h>
++#include <X11/extensions/dpmsproto.h>
+ #include <unistd.h>
+
+ #include "../i2c_vid.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_sil164_sil164.c b/x11-drivers/xf86-video-intel/files/extra-src_sil164_sil164.c
new file mode 100644
index 0000000..f9d7177
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_sil164_sil164.c
@@ -0,0 +1,17 @@
+--- src/sil164/sil164.c.orig 2010-02-21 12:49:54.000000000 -0600
++++ src/sil164/sil164.c 2010-02-21 12:50:40.000000000 -0600
+@@ -35,13 +35,11 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "miscstruct.h"
+ #include "xf86i2c.h"
+ #include "xf86Crtc.h"
+-#define DPMS_SERVER
+-#include <X11/extensions/dpms.h>
++#include <X11/extensions/dpmsproto.h>
+
+ #include "../i2c_vid.h"
+ #include "sil164.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-src_tfp410_tfp410.c b/x11-drivers/xf86-video-intel/files/extra-src_tfp410_tfp410.c
new file mode 100644
index 0000000..89927b3
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-src_tfp410_tfp410.c
@@ -0,0 +1,17 @@
+--- src/tfp410/tfp410.c.orig 2010-02-21 12:52:35.000000000 -0600
++++ src/tfp410/tfp410.c 2010-02-21 12:53:19.000000000 -0600
+@@ -34,13 +34,11 @@
+
+ #include "xf86.h"
+ #include "xf86_OSproc.h"
+-#include "xf86Resources.h"
+ #include "compiler.h"
+ #include "miscstruct.h"
+ #include "xf86i2c.h"
+ #include "xf86Crtc.h"
+-#define DPMS_SERVER
+-#include <X11/extensions/dpms.h>
++#include <X11/extensions/dpmsconst.h>
+
+ #include "../i2c_vid.h"
+ #include "tfp410.h"
diff --git a/x11-drivers/xf86-video-intel/files/extra-uxa_uxa-priv.h b/x11-drivers/xf86-video-intel/files/extra-uxa_uxa-priv.h
new file mode 100644
index 0000000..46eb72e
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-uxa_uxa-priv.h
@@ -0,0 +1,32 @@
+--- uxa/uxa-priv.h.orig 2009-05-12 19:12:11.000000000 -0500
++++ uxa/uxa-priv.h 2010-02-21 12:27:32.000000000 -0600
+@@ -42,8 +42,7 @@
+ #define NEED_EVENTS
+ #include <X11/Xproto.h>
+ #ifdef MITSHM
+-#define _XSHM_SERVER_
+-#include <X11/extensions/shmstr.h>
++#include <X11/extensions/shmproto.h>
+ #endif
+ #include "scrnintstr.h"
+ #include "pixmapstr.h"
+@@ -319,17 +318,11 @@
+ extern const GCOps uxa_ops;
+
+ #ifdef MITSHM
+-extern ShmFuncs uxa_shm_funcs;
+-
+ /* XXX these come from shmint.h, which isn't exported by the server */
+-void
+-ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs);
+
+-void
+-ShmSetPixmapFormat(ScreenPtr pScreen, int format);
++#include "shmint.h"
+
+-void
+-fbShmPutImage(XSHM_PUT_IMAGE_ARGS);
++extern ShmFuncs uxa_shm_funcs;
+
+ #endif
+
diff --git a/x11-drivers/xf86-video-intel/pkg-descr b/x11-drivers/xf86-video-intel/pkg-descr
new file mode 100644
index 0000000..6ace253
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/pkg-descr
@@ -0,0 +1,3 @@
+Driver for Intel integrated graphics chipsets. It supports the i810,
+i810-DC100, i810e, i815, i830M, 845G, 852GM, 855GM, 865G, 915G, 915GM,
+945G, 945GM, 965G, 965Q, 946GZ and 965GM chipsets.
diff --git a/x11-drivers/xf86-video-intel/pkg-plist b/x11-drivers/xf86-video-intel/pkg-plist
new file mode 100644
index 0000000..0c16ed3
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/pkg-plist
@@ -0,0 +1,21 @@
+lib/libI810XvMC.la
+lib/libI810XvMC.so
+lib/libI810XvMC.so.1
+lib/libIntelXvMC.la
+lib/libIntelXvMC.so.1
+lib/libIntelXvMC.so
+%%OLD%%lib/xorg/modules/drivers/ch7017.la
+%%OLD%%lib/xorg/modules/drivers/ch7017.so
+%%OLD%%lib/xorg/modules/drivers/ch7xxx.la
+%%OLD%%lib/xorg/modules/drivers/ch7xxx.so
+lib/xorg/modules/drivers/intel_drv.la
+lib/xorg/modules/drivers/intel_drv.so
+%%OLD%%lib/xorg/modules/drivers/ivch.la
+%%OLD%%lib/xorg/modules/drivers/ivch.so
+%%OLD%%lib/xorg/modules/drivers/sil164.la
+%%OLD%%lib/xorg/modules/drivers/sil164.so
+%%OLD%%lib/xorg/modules/drivers/tfp410.la
+%%OLD%%lib/xorg/modules/drivers/tfp410.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-intel29/Makefile b/x11-drivers/xf86-video-intel29/Makefile
new file mode 100644
index 0000000..b2b5bc3
--- /dev/null
+++ b/x11-drivers/xf86-video-intel29/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: xf86-video-intel
+# Date Created: 28 May 2007
+# Whom: lesi@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-intel29
+PORTVERSION= 2.9.1
+CATEGORIES= x11-drivers
+DISTNAME= xf86-video-intel-${PORTVERSION}
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Driver for Intel integrated graphics chipsets
+
+IGNORE= Not supported.
+CONFLICTS= xf86-video-intel-2.7.[0-9]* xf86-video-intel-2.15.[0-9]*
+
+ONLY_FOR_ARCHS= amd64 i386
+USE_GL= gl
+
+XORG_CAT= driver
+USE_XORG= xvmc xineramaproto xextproto x11 xf86driproto glproto
+MAN4= intel.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-intel29/distinfo b/x11-drivers/xf86-video-intel29/distinfo
new file mode 100644
index 0000000..763d1c0
--- /dev/null
+++ b/x11-drivers/xf86-video-intel29/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-intel-2.9.1.tar.bz2) = 95347c88854c2b41c07ab3bcdfadd1b8d27fb181a20520f185892877eb8d9d76
+SIZE (xorg/driver/xf86-video-intel-2.9.1.tar.bz2) = 789001
diff --git a/x11-drivers/xf86-video-intel29/pkg-descr b/x11-drivers/xf86-video-intel29/pkg-descr
new file mode 100644
index 0000000..69bd312
--- /dev/null
+++ b/x11-drivers/xf86-video-intel29/pkg-descr
@@ -0,0 +1,5 @@
+Driver for Intel integrated graphics chipsets. It supports the i810,
+i810-DC100, i810e, i815, i830M, 845G, 852GM, 855GM, 865G, 915G, 915GM,
+945G, 945GM, 965G, 965Q, 946GZ and 965GM chipsets.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-intel29/pkg-plist b/x11-drivers/xf86-video-intel29/pkg-plist
new file mode 100644
index 0000000..900e0a9
--- /dev/null
+++ b/x11-drivers/xf86-video-intel29/pkg-plist
@@ -0,0 +1,21 @@
+lib/libI810XvMC.la
+lib/libI810XvMC.so
+lib/libI810XvMC.so.1
+lib/libIntelXvMC.la
+lib/libIntelXvMC.so.1
+lib/libIntelXvMC.so
+lib/xorg/modules/drivers/ch7017.la
+lib/xorg/modules/drivers/ch7017.so
+lib/xorg/modules/drivers/ch7xxx.la
+lib/xorg/modules/drivers/ch7xxx.so
+lib/xorg/modules/drivers/intel_drv.la
+lib/xorg/modules/drivers/intel_drv.so
+lib/xorg/modules/drivers/ivch.la
+lib/xorg/modules/drivers/ivch.so
+lib/xorg/modules/drivers/sil164.la
+lib/xorg/modules/drivers/sil164.so
+lib/xorg/modules/drivers/tfp410.la
+lib/xorg/modules/drivers/tfp410.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-mach64/Makefile b/x11-drivers/xf86-video-mach64/Makefile
new file mode 100644
index 0000000..fbd0fdd
--- /dev/null
+++ b/x11-drivers/xf86-video-mach64/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: xf86-video-mach64
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-mach64
+PORTVERSION= 6.9.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org mach64 display driver
+
+USE_GL= gl
+
+XORG_CAT= driver
+USE_XORG= glproto videoproto xextproto xf86driproto xf86miscproto
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-mach64/distinfo b/x11-drivers/xf86-video-mach64/distinfo
new file mode 100644
index 0000000..356c869
--- /dev/null
+++ b/x11-drivers/xf86-video-mach64/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-mach64-6.9.0.tar.bz2) = a214f066c1cc997cb2d4db8474b51f731b51f8486c023c62a0e2c69f283bcd1a
+SIZE (xorg/driver/xf86-video-mach64-6.9.0.tar.bz2) = 505200
diff --git a/x11-drivers/xf86-video-mach64/pkg-descr b/x11-drivers/xf86-video-mach64/pkg-descr
new file mode 100644
index 0000000..98066b1
--- /dev/null
+++ b/x11-drivers/xf86-video-mach64/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-mach64 driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-mach64/pkg-plist b/x11-drivers/xf86-video-mach64/pkg-plist
new file mode 100644
index 0000000..32f0985
--- /dev/null
+++ b/x11-drivers/xf86-video-mach64/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/mach64_drv.la
+lib/xorg/modules/drivers/mach64_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-mga/Makefile b/x11-drivers/xf86-video-mga/Makefile
new file mode 100644
index 0000000..b343fb2
--- /dev/null
+++ b/x11-drivers/xf86-video-mga/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xf86-video-mga
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-mga
+PORTVERSION= 1.4.13
+PORTEPOCH= 2
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org mga display driver
+
+USE_GL= gl
+
+XORG_CAT= driver
+USE_XORG= xf86driproto videoproto xextproto glproto
+MAN4= mga.4x
+
+pre-patch:
+# ${REINPLACE_CMD} \
+# -e 's|values.h|sys/limits.h|g' \
+# -e 's|MAXSHORT|SHRT_MAX|g' \
+# ${WRKSRC}/src/mga_arc.c
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-mga/distinfo b/x11-drivers/xf86-video-mga/distinfo
new file mode 100644
index 0000000..7a6ef1a
--- /dev/null
+++ b/x11-drivers/xf86-video-mga/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-mga-1.4.13.tar.bz2) = b657bd5fec4aade6396c683886739b7c8ce57924278bee0e36f13a966eeddff6
+SIZE (xorg/driver/xf86-video-mga-1.4.13.tar.bz2) = 423134
diff --git a/x11-drivers/xf86-video-mga/pkg-descr b/x11-drivers/xf86-video-mga/pkg-descr
new file mode 100644
index 0000000..6dbb594
--- /dev/null
+++ b/x11-drivers/xf86-video-mga/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-mga driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-mga/pkg-plist b/x11-drivers/xf86-video-mga/pkg-plist
new file mode 100644
index 0000000..5653292
--- /dev/null
+++ b/x11-drivers/xf86-video-mga/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/mga_drv.la
+lib/xorg/modules/drivers/mga_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-nouveau/Makefile b/x11-drivers/xf86-video-nouveau/Makefile
new file mode 100644
index 0000000..62ab26e
--- /dev/null
+++ b/x11-drivers/xf86-video-nouveau/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: xf86-video-nouveau
+# Date Created: 29 Jan 2009
+# Whom: Anonymous <swell.k@gmail.com>
+#
+# $FreeBSD: ports/x11-drivers/xf86-video-nouveau/Makefile,v 1.14 2011/11/09 15:25:59 miwi Exp $
+#
+
+PORTNAME= xf86-video-nouveau
+PORTVERSION= 0.0.10.${SNAPDATE}
+DISTVERSIONSUFFIX=.${SNAPREV}
+PORTREVISION= 3
+CATEGORIES= x11-drivers
+MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Free nouveau display driver for nvidia-based cards
+
+XORG_CAT= driver
+USE_XORG= videoproto xextproto xf86driproto glproto
+MAN4= nouveau.4x
+
+MAKE_JOBS_SAFE= yes
+
+# also doesn't work with mesa (libGL) version higher then 7.4.x
+IGNORE= Not supported, missing kernel support. use the nvidia driver.
+
+post-configure:
+ ${REINPLACE_CMD} '/NV_DRIVER_DATE/s/".*"/"${SNAPDATE}.${SNAPREV}"/' ${WRKSRC}/config.h
+
+post-install: .SILENT
+ ${ECHO_MSG}
+ ${CAT} ${PKGMESSAGE}
+ ${ECHO_MSG}
+
+GIT_WORK= ${WRKDIR}/${PORTNAME}.git-clone
+GIT_DATE= $$(date -ur$$(git log --pretty=format:%ct -1 ) +%Y%m%d)
+GIT_REV= $$(git log --pretty=format:%h -1)
+NEWDISTNAME= ${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_DATE}.${GIT_REV}
+
+maint-gen-distfile:
+ git clone git://anongit.freedesktop.org/nouveau/xf86-video-nouveau \
+ ${GIT_WORK}
+
+ ( cd ${GIT_WORK}; \
+ git log --stat >ChangeLog; \
+ autoreconf -if; \
+ ${TAR} cjf ${DISTDIR}/${DIST_SUBDIR}/${NEWDISTNAME}${EXTRACT_SUFX} \
+ --exclude '.git*' --exclude autogen.sh \
+ --exclude autom4te.cache \
+ -s "|${GIT_WORK}|${NEWDISTNAME}|" \
+ ${GIT_WORK}; \
+ ${ECHO_CMD} "SNAPDATE= ${GIT_DATE}" \
+ >${MASTERDIR}/Makefile.rev; \
+ ${ECHO_CMD} "SNAPREV= ${GIT_REV}" \
+ >>${MASTERDIR}/Makefile.rev )
+
+ ${RM} -rf ${GIT_WORK}
+
+.include "Makefile.rev"
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-nouveau/Makefile.rev b/x11-drivers/xf86-video-nouveau/Makefile.rev
new file mode 100644
index 0000000..b8cc5e2
--- /dev/null
+++ b/x11-drivers/xf86-video-nouveau/Makefile.rev
@@ -0,0 +1,2 @@
+SNAPDATE= 20090728
+SNAPREV= e259925
diff --git a/x11-drivers/xf86-video-nouveau/distinfo b/x11-drivers/xf86-video-nouveau/distinfo
new file mode 100644
index 0000000..9b4fe63
--- /dev/null
+++ b/x11-drivers/xf86-video-nouveau/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 48e328a04a2dc9ea5dfebd21eae7c23987dcf53dcd3db7bee477d873cbb31906
+SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 552302
diff --git a/x11-drivers/xf86-video-nouveau/pkg-descr b/x11-drivers/xf86-video-nouveau/pkg-descr
new file mode 100644
index 0000000..9c753dc
--- /dev/null
+++ b/x11-drivers/xf86-video-nouveau/pkg-descr
@@ -0,0 +1,7 @@
+nouveau is an X.Org Foundation and Freedesktop.org project which was
+initially based on the obfuscated 2D-only free and open source "nv"
+driver, aiming to develop free software drivers for NVIDIA graphics
+cards, by reverse engineering NVIDIA's current proprietary drivers for
+Linux.
+
+WWW: http://nouveau.freedesktop.org/
diff --git a/x11-drivers/xf86-video-nouveau/pkg-message b/x11-drivers/xf86-video-nouveau/pkg-message
new file mode 100644
index 0000000..34c29a2
--- /dev/null
+++ b/x11-drivers/xf86-video-nouveau/pkg-message
@@ -0,0 +1,15 @@
+The DRM part is still not in the kernel tree and will not be there
+until it stabilized. It won't happen anytime soon. So, consider using
+the following patch in the meantime unless you don't want any hardware
+accelerated 2D like EXA and Xvideo.
+
+http://people.freebsd.org/~rnoland/drm-nouveau-062309.patch
+
+Installing it should be as simple as below procedure provided you have
+base sources in /usr/src.
+
+ # cd /usr/src/sys
+ # fetch http://people.freebsd.org/~rnoland/drm-nouveau-062309.patch
+ # patch -sp0 -i drm-nouveau-062309.patch
+ # cd modules/drm
+ # make depend all install
diff --git a/x11-drivers/xf86-video-nouveau/pkg-plist b/x11-drivers/xf86-video-nouveau/pkg-plist
new file mode 100644
index 0000000..63ff28c
--- /dev/null
+++ b/x11-drivers/xf86-video-nouveau/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/nouveau_drv.la
+lib/xorg/modules/drivers/nouveau_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-rendition/Makefile b/x11-drivers/xf86-video-rendition/Makefile
new file mode 100644
index 0000000..72fdd37
--- /dev/null
+++ b/x11-drivers/xf86-video-rendition/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: xf86-video-rendition
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-rendition
+PORTVERSION= 4.2.4
+PORTREVISION= 1
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org rendition display driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= rendition.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-rendition/distinfo b/x11-drivers/xf86-video-rendition/distinfo
new file mode 100644
index 0000000..2b683b7
--- /dev/null
+++ b/x11-drivers/xf86-video-rendition/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-rendition-4.2.4.tar.bz2) = 3b9b8e6709c3a7c00904e9a6cb63d7805b5f5f33dc96254f438c1f8d5fb72aa9
+SIZE (xorg/driver/xf86-video-rendition-4.2.4.tar.bz2) = 320573
diff --git a/x11-drivers/xf86-video-rendition/pkg-descr b/x11-drivers/xf86-video-rendition/pkg-descr
new file mode 100644
index 0000000..151ab6c
--- /dev/null
+++ b/x11-drivers/xf86-video-rendition/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-rendition driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-rendition/pkg-plist b/x11-drivers/xf86-video-rendition/pkg-plist
new file mode 100644
index 0000000..e276591
--- /dev/null
+++ b/x11-drivers/xf86-video-rendition/pkg-plist
@@ -0,0 +1,7 @@
+lib/xorg/modules/drivers/rendition_drv.la
+lib/xorg/modules/drivers/rendition_drv.so
+lib/xorg/modules/v10002d.uc
+lib/xorg/modules/v20002d.uc
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-savage/Makefile b/x11-drivers/xf86-video-savage/Makefile
new file mode 100644
index 0000000..7510229
--- /dev/null
+++ b/x11-drivers/xf86-video-savage/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: xf86-video-savage
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-savage
+PORTVERSION= 2.3.3
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org savage display driver
+
+USE_GL= gl
+
+WITH_FBSD10_FIX=yes
+XORG_CAT= driver
+USE_XORG= xf86driproto videoproto xextproto glproto
+MAN4= savage.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-savage/distinfo b/x11-drivers/xf86-video-savage/distinfo
new file mode 100644
index 0000000..6b54372
--- /dev/null
+++ b/x11-drivers/xf86-video-savage/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-savage-2.3.3.tar.bz2) = d3854d375dbf7d83bf90e30d72837ce60d808119c6fa4bb98088e68e7cc7e7b2
+SIZE (xorg/driver/xf86-video-savage-2.3.3.tar.bz2) = 371252
diff --git a/x11-drivers/xf86-video-savage/pkg-descr b/x11-drivers/xf86-video-savage/pkg-descr
new file mode 100644
index 0000000..909ad78
--- /dev/null
+++ b/x11-drivers/xf86-video-savage/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-savage driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-savage/pkg-plist b/x11-drivers/xf86-video-savage/pkg-plist
new file mode 100644
index 0000000..6969a64
--- /dev/null
+++ b/x11-drivers/xf86-video-savage/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/savage_drv.la
+lib/xorg/modules/drivers/savage_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-siliconmotion/Makefile b/x11-drivers/xf86-video-siliconmotion/Makefile
new file mode 100644
index 0000000..681fdd4
--- /dev/null
+++ b/x11-drivers/xf86-video-siliconmotion/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xf86-video-siliconmotion
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-siliconmotion
+PORTVERSION= 1.7.5
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org siliconmotion display driver
+
+XORG_CAT= driver
+USE_XORG= videoproto xextproto
+MAN4= siliconmotion.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-siliconmotion/distinfo b/x11-drivers/xf86-video-siliconmotion/distinfo
new file mode 100644
index 0000000..5707cf9
--- /dev/null
+++ b/x11-drivers/xf86-video-siliconmotion/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-siliconmotion-1.7.5.tar.bz2) = 97dd597186029d5646923dde84f4c7f38080ce24c80fd127dcdb8fb36eec7913
+SIZE (xorg/driver/xf86-video-siliconmotion-1.7.5.tar.bz2) = 351610
diff --git a/x11-drivers/xf86-video-siliconmotion/pkg-descr b/x11-drivers/xf86-video-siliconmotion/pkg-descr
new file mode 100644
index 0000000..6816f93
--- /dev/null
+++ b/x11-drivers/xf86-video-siliconmotion/pkg-descr
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-siliconmotion driver.
+
+WWW: http://www.x.org
diff --git a/x11-drivers/xf86-video-siliconmotion/pkg-plist b/x11-drivers/xf86-video-siliconmotion/pkg-plist
new file mode 100644
index 0000000..199eda7
--- /dev/null
+++ b/x11-drivers/xf86-video-siliconmotion/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/siliconmotion_drv.la
+lib/xorg/modules/drivers/siliconmotion_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-sis/Makefile b/x11-drivers/xf86-video-sis/Makefile
new file mode 100644
index 0000000..2641c7c
--- /dev/null
+++ b/x11-drivers/xf86-video-sis/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: xf86-video-sis
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-sis
+PORTVERSION= 0.10.3
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org sis display driver
+
+CONFLICTS= xf86-video-sis-intel-[0-9]*
+
+USE_GL= gl
+
+XORG_CAT= driver
+USE_XORG= xf86dgaproto xf86driproto xineramaproto videoproto xf86miscproto xextproto glproto
+MAN4= sis.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-sis/distinfo b/x11-drivers/xf86-video-sis/distinfo
new file mode 100644
index 0000000..0b66a0d
--- /dev/null
+++ b/x11-drivers/xf86-video-sis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-sis-0.10.3.tar.bz2) = 9b39b3e22fd2adab812fea06073c37971c7235c02c7f457bf8b60c1ae351c737
+SIZE (xorg/driver/xf86-video-sis-0.10.3.tar.bz2) = 649750
diff --git a/x11-drivers/xf86-video-sis/pkg-descr b/x11-drivers/xf86-video-sis/pkg-descr
new file mode 100644
index 0000000..506af9c
--- /dev/null
+++ b/x11-drivers/xf86-video-sis/pkg-descr
@@ -0,0 +1 @@
+This package contains the X.Org xf86-video-sis driver.
diff --git a/x11-drivers/xf86-video-sis/pkg-plist b/x11-drivers/xf86-video-sis/pkg-plist
new file mode 100644
index 0000000..e1daba8
--- /dev/null
+++ b/x11-drivers/xf86-video-sis/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/sis_drv.la
+lib/xorg/modules/drivers/sis_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-vesa/Makefile b/x11-drivers/xf86-video-vesa/Makefile
new file mode 100644
index 0000000..5fdfb03
--- /dev/null
+++ b/x11-drivers/xf86-video-vesa/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: xf86-video-vesa
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-vesa
+PORTVERSION= 2.3.0
+PORTREVISION= 2
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org vesa display driver
+
+XORG_CAT= driver
+USE_XORG= xextproto videoproto
+MAN4= vesa.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-vesa/distinfo b/x11-drivers/xf86-video-vesa/distinfo
new file mode 100644
index 0000000..59364f5
--- /dev/null
+++ b/x11-drivers/xf86-video-vesa/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-vesa-2.3.0.tar.bz2) = 8ed85a0e94523539d81d5ae6639fa22ceb1c1e3baf89128915db65d4d2900d7a
+SIZE (xorg/driver/xf86-video-vesa-2.3.0.tar.bz2) = 264539
diff --git a/x11-drivers/xf86-video-vesa/pkg-descr b/x11-drivers/xf86-video-vesa/pkg-descr
new file mode 100644
index 0000000..5d851fe
--- /dev/null
+++ b/x11-drivers/xf86-video-vesa/pkg-descr
@@ -0,0 +1 @@
+This package contains the X.Org xf86-video-vesa driver.
diff --git a/x11-drivers/xf86-video-vesa/pkg-plist b/x11-drivers/xf86-video-vesa/pkg-plist
new file mode 100644
index 0000000..5a9cf2e
--- /dev/null
+++ b/x11-drivers/xf86-video-vesa/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/vesa_drv.la
+lib/xorg/modules/drivers/vesa_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
diff --git a/x11-drivers/xf86-video-voodoo/Makefile b/x11-drivers/xf86-video-voodoo/Makefile
new file mode 100644
index 0000000..5cc2a7d
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: xf86-video-voodoo
+# Date Created: 17 Feb 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xf86-video-voodoo
+PORTVERSION= 1.2.4
+PORTREVISION= 1
+CATEGORIES= x11-drivers
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= X.Org voodoo display driver
+
+XORG_CAT= driver
+USE_XORG= xf86dgaproto xextproto videoproto
+MAN4= voodoo.4x
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xf86-video-voodoo/distinfo b/x11-drivers/xf86-video-voodoo/distinfo
new file mode 100644
index 0000000..20eff8e
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-voodoo-1.2.4.tar.bz2) = f00238bbcf61dba726deedcd4d7416923844e3b0116671a1b1df8bf43d224741
+SIZE (xorg/driver/xf86-video-voodoo-1.2.4.tar.bz2) = 274523
diff --git a/x11-drivers/xf86-video-voodoo/pkg-descr b/x11-drivers/xf86-video-voodoo/pkg-descr
new file mode 100644
index 0000000..49fc9d9
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/pkg-descr
@@ -0,0 +1 @@
+This package contains the X.Org xf86-video-voodoo driver.
diff --git a/x11-drivers/xf86-video-voodoo/pkg-plist b/x11-drivers/xf86-video-voodoo/pkg-plist
new file mode 100644
index 0000000..98df906
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/pkg-plist
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/voodoo_drv.la
+lib/xorg/modules/drivers/voodoo_drv.so
+@dirrmtry lib/xorg/modules/drivers
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg