ports/104532: [PATCH] x11-servers/mga_hal: update to 4.4.0
Anish Mistry
amistry at am-productions.biz
Fri Nov 10 11:40:26 PST 2006
The following reply was made to PR ports/104532; it has been noted by GNATS.
From: Anish Mistry <amistry at am-productions.biz>
To: bug-followup at freebsd.org, kiwi at oav.net
Cc:
Subject: Re: ports/104532: [PATCH] x11-servers/mga_hal: update to 4.4.0
Date: Fri, 10 Nov 2006 14:37:23 -0500
--nextPart2222156.igqifqUKVb
Content-Type: multipart/mixed;
boundary="Boundary-01=_zTNVFvnKNnE4Jgy"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--Boundary-01=_zTNVFvnKNnE4Jgy
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Add amd64 support.
=2D-=20
Anish Mistry
amistry at am-productions.biz
AM Productions http://am-productions.biz/
--Boundary-01=_zTNVFvnKNnE4Jgy
Content-Type: text/x-diff;
charset="us-ascii";
name="mga_hal.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="mga_hal.patch"
diff -ruN mga_hal.orig/Makefile mga_hal/Makefile
=2D-- mga_hal.orig/Makefile Fri Nov 10 12:10:27 2006
+++ mga_hal/Makefile Fri Nov 10 14:23:14 2006
@@ -6,30 +6,41 @@
#
=20
PORTNAME=3D mga_hal
=2DPORTVERSION=3D 4.1
+PORTVERSION=3D 4.4.0
CATEGORIES=3D x11-servers
=2DMASTER_SITES=3D ftp://ftp.matrox.com/pub/mga/archive/linux/2004/
=2DDISTNAME=3D mgadriver-${PORTVERSION}
+MASTER_SITES=3D ftp://ftp.matrox.com/pub/mga/archive/linux/%SUBDIR%/:i386,=
amd64
+MASTER_SITE_SUBDIR=3D 2006/:i386 2006/64bit/:amd64
+DISTFILES=3D matrox_driver-x86_32-${PORTVERSION}${EXTRACT_SUFX}:i386 \
+ matrox_driver-x86_64-${PORTVERSION}${EXTRACT_SUFX}:amd64
=20
MAINTAINER=3D x11 at FreeBSD.org
COMMENT=3D Module for additional features with X.Org/XFree86 Matrox driver
=20
=2DRESTRICTED=3D "Matrox drivers may not be distributed."
+RESTRICTED=3D Matrox drivers may not be distributed.
=20
=2DBROKEN=3D Does not install
+ONLY_FOR_ARCHS=3D i386 amd64
+USE_X_PREFIX=3D yes
=20
=2DONLY_FOR_ARCHS=3D i386
+.include <bsd.port.pre.mk>
=20
=2DPREFIX?=3D ${X11BASE}
=2DWRKSRC=3D ${WRKDIR}/mgadriver-${PORTVERSION}
+.if ${ARCH} =3D=3D "i386"
+DISTNAME=3D matrox_driver-x86_32-${PORTVERSION}
+.elif ${ARCH} =3D=3D "amd64"
+DISTNAME=3D matrox_driver-x86_64-${PORTVERSION}
+.endif
+
+WRKSRC=3D ${WRKDIR}/${DISTNAME}
NO_BUILD=3D YES
+XORG_VERSION=3D 6.9.0
=20
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/readme.txt ${DOCSDIR}
.endif
=2D ${INSTALL_DATA} ${WRKSRC}/xfree86/6.8.1/mga_hal_drv.o \
+ ${INSTALL_DATA} ${WRKSRC}/xserver/${XORG_VERSION}/mga_hal_drv.so \
+ ${PREFIX}/lib/modules/drivers/
+ ${INSTALL_DATA} ${WRKSRC}/xserver/${XORG_VERSION}/mga_drv.so \
${PREFIX}/lib/modules/drivers/
=20
=2D.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN mga_hal.orig/distinfo mga_hal/distinfo
=2D-- mga_hal.orig/distinfo Fri Nov 10 12:10:27 2006
+++ mga_hal/distinfo Fri Nov 10 12:10:45 2006
@@ -1,3 +1,6 @@
=2DMD5 (mgadriver-4.1.tar.gz) =3D f1075e3e2c8053aef73c0522f4a4ee90
=2DSHA256 (mgadriver-4.1.tar.gz) =3D 9e6d6439c56403c2efa65dc01a6146139fe234=
a76fcd805fee20fbf40e06ed1f
=2DSIZE (mgadriver-4.1.tar.gz) =3D 740410
+MD5 (matrox_driver-x86_32-4.4.0.tar.gz) =3D 5ec049328eb0fa370851312872d9cf=
c5
+SHA256 (matrox_driver-x86_32-4.4.0.tar.gz) =3D 2b82dc4d227950afb118f5957fb=
61fa55d4e6c87342e436e016f682f9145b727
+SIZE (matrox_driver-x86_32-4.4.0.tar.gz) =3D 3172195
+MD5 (matrox_driver-x86_64-4.4.0.tar.gz) =3D ebef76c86b0a4b628f8feae5b797a0=
a7
+SHA256 (matrox_driver-x86_64-4.4.0.tar.gz) =3D 2ad5849c2c2744bd52374a8ed99=
d49a4f07cbb794657dd90688dcf170fbb9cf3
+SIZE (matrox_driver-x86_64-4.4.0.tar.gz) =3D 3272079
diff -ruN mga_hal.orig/pkg-plist mga_hal/pkg-plist
=2D-- mga_hal.orig/pkg-plist Fri Nov 10 12:10:27 2006
+++ mga_hal/pkg-plist Fri Nov 10 12:10:45 2006
@@ -1,3 +1,4 @@
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
=2Dlib/modules/drivers/mga_hal_drv.o
+lib/modules/drivers/mga_hal_drv.so
+lib/modules/drivers/mga_drv.so
%%PORTDOCS%%@dirrm %%DOCSDIR%%
--Boundary-01=_zTNVFvnKNnE4Jgy--
--nextPart2222156.igqifqUKVb
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQBFVNT/xqA5ziudZT0RApWoAKC8uDuZRRLrgeZYRgm54DYcyh72VACfeuXG
cL20TasdINHwNTe1MagQxxY=
=42UR
-----END PGP SIGNATURE-----
--nextPart2222156.igqifqUKVb--
More information about the freebsd-x11
mailing list