aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2005-01-13 09:11:54 +0800
committeranholt <anholt@FreeBSD.org>2005-01-13 09:11:54 +0800
commita12890dda13dd843933fd2c72fc5608204a60470 (patch)
tree7b84319cfa8ce44b716fb81cef41c366e8d24722
parent4b28cf6a51fa2b014d70ef2ccaf3fd642405a3ce (diff)
downloadfreebsd-ports-gnome-a12890dda13dd843933fd2c72fc5608204a60470.tar.gz
freebsd-ports-gnome-a12890dda13dd843933fd2c72fc5608204a60470.tar.zst
freebsd-ports-gnome-a12890dda13dd843933fd2c72fc5608204a60470.zip
New port: mga_hal, a packaging of the Matrox HAL binary, which extends the set
of features supported by the open-source Matrox driver for X.Org and XFree86. This is a newer version than that discussed in the original PR, and has only been tested briefly by myself on a G400 with X.Org 6.8.1. Note that though the readme.txt says the file is redistributable, the only licensing information to be found is the click-through on the website which says redistribution is not allowed. PR: ports/55699 Submitted by: Jens Rehsack, rehsack at liwing dot de
-rw-r--r--x11-servers/Makefile1
-rw-r--r--x11-servers/mga_hal/Makefile34
-rw-r--r--x11-servers/mga_hal/distinfo2
-rw-r--r--x11-servers/mga_hal/pkg-descr9
-rw-r--r--x11-servers/mga_hal/pkg-plist3
-rw-r--r--x11-servers/mga_hal/plist0
6 files changed, 49 insertions, 0 deletions
diff --git a/x11-servers/Makefile b/x11-servers/Makefile
index 91f802f6788f..00ae2ce61ee0 100644
--- a/x11-servers/Makefile
+++ b/x11-servers/Makefile
@@ -10,6 +10,7 @@
SUBDIR += XFree86-4-VirtualFramebufferServer
SUBDIR += Xfstt
SUBDIR += driglide
+ SUBDIR += mga_hal
SUBDIR += x2vnc
SUBDIR += x2x
SUBDIR += xorg-fontserver
diff --git a/x11-servers/mga_hal/Makefile b/x11-servers/mga_hal/Makefile
new file mode 100644
index 000000000000..f09401a974b2
--- /dev/null
+++ b/x11-servers/mga_hal/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: mga_hal
+# Date created: 12 Jan 2005
+# Whom: anholt@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= mga_hal
+PORTVERSION= 4.1
+CATEGORIES= x11-servers
+MASTER_SITES= ftp://ftp.matrox.com/pub/mga/archive/linux/2004/
+DISTNAME= mgadriver-${PORTVERSION}
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Module for additional features with X.Org/XFree86 Matrox driver
+
+NO_PACKAGE= "Matrox drivers may not be distributed"
+RESTRICTED= "Matrox drivers may not be distributed."
+
+ONLY_FOR_ARCHS= i386
+
+PREFIX?= ${X11BASE}
+WRKSRC= ${WRKDIR}/mgadriver-${PORTVERSION}
+NO_BUILD= YES
+
+do-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/readme.txt ${DOCSDIR}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/xfree86/6.8.1/mga_hal_drv.o \
+ ${PREFIX}/lib/modules/drivers/
+
+.include <bsd.port.mk>
diff --git a/x11-servers/mga_hal/distinfo b/x11-servers/mga_hal/distinfo
new file mode 100644
index 000000000000..90ba8185d181
--- /dev/null
+++ b/x11-servers/mga_hal/distinfo
@@ -0,0 +1,2 @@
+MD5 (mgadriver-4.1.tar.gz) = f1075e3e2c8053aef73c0522f4a4ee90
+SIZE (mgadriver-4.1.tar.gz) = 740410
diff --git a/x11-servers/mga_hal/pkg-descr b/x11-servers/mga_hal/pkg-descr
new file mode 100644
index 000000000000..5e35e7f08caa
--- /dev/null
+++ b/x11-servers/mga_hal/pkg-descr
@@ -0,0 +1,9 @@
+mga_hal packages the Matrox binary HAL for X.Org/XFree86. It provides dualhead
+support for G400 cards (G450 and G550 card do not need this) and TV-out. It
+also provides a "Merged Framebuffer" mode that is supposed to allow 3d
+acceleration on both heads.
+
+WWW: http://www.matrox.com/mga/support/drivers/previous/home.cfm
+
+Eric Anholt
+anholt@FreeBSD.org
diff --git a/x11-servers/mga_hal/pkg-plist b/x11-servers/mga_hal/pkg-plist
new file mode 100644
index 000000000000..5ec56f3764d7
--- /dev/null
+++ b/x11-servers/mga_hal/pkg-plist
@@ -0,0 +1,3 @@
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+lib/modules/drivers/mga_hal_drv.o
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/x11-servers/mga_hal/plist b/x11-servers/mga_hal/plist
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/x11-servers/mga_hal/plist