diff options
author | pav <pav@FreeBSD.org> | 2006-11-19 20:58:04 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-11-19 20:58:04 +0800 |
commit | 5bc0681e898d3aaa97ee4b78b623d1b59cc3a4ca (patch) | |
tree | edb6ad7cf99c67f382f1d53503954f8026526fbb | |
parent | 3148c40d4879c3a748de1d1a9d463cc7d084ff92 (diff) | |
download | freebsd-ports-gnome-5bc0681e898d3aaa97ee4b78b623d1b59cc3a4ca.tar.gz freebsd-ports-gnome-5bc0681e898d3aaa97ee4b78b623d1b59cc3a4ca.tar.zst freebsd-ports-gnome-5bc0681e898d3aaa97ee4b78b623d1b59cc3a4ca.zip |
- Fix install with Xorg 6.9.0, unbreak
- Support amd64
PR: ports/104532
Submitted by: Xavier Beaudouin <kiwi@oav.net>,
Anish Mistry <amistry@am-productions.biz>
Approved by: maintainer timeout (x11, 1 month)
-rw-r--r-- | x11-servers/mga_hal/Makefile | 31 | ||||
-rw-r--r-- | x11-servers/mga_hal/distinfo | 9 | ||||
-rw-r--r-- | x11-servers/mga_hal/pkg-plist | 5 |
3 files changed, 31 insertions, 14 deletions
diff --git a/x11-servers/mga_hal/Makefile b/x11-servers/mga_hal/Makefile index ed67aba25c3f..87fda45aee9f 100644 --- a/x11-servers/mga_hal/Makefile +++ b/x11-servers/mga_hal/Makefile @@ -6,30 +6,41 @@ # PORTNAME= mga_hal -PORTVERSION= 4.1 +PORTVERSION= 4.4.0 CATEGORIES= x11-servers -MASTER_SITES= ftp://ftp.matrox.com/pub/mga/archive/linux/2004/ -DISTNAME= mgadriver-${PORTVERSION} +MASTER_SITES= ftp://ftp.matrox.com/pub/mga/archive/linux/%SUBDIR%/:i386,amd64 +MASTER_SITE_SUBDIR= 2006/:i386 2006/64bit/:amd64 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:${ARCH} MAINTAINER= x11@FreeBSD.org COMMENT= Module for additional features with X.Org/XFree86 Matrox driver -RESTRICTED= "Matrox drivers may not be distributed." +RESTRICTED= Matrox drivers may not be distributed. -BROKEN= Does not install +ONLY_FOR_ARCHS= i386 amd64 +USE_X_PREFIX= yes -ONLY_FOR_ARCHS= i386 +.include <bsd.port.pre.mk> -PREFIX?= ${X11BASE} -WRKSRC= ${WRKDIR}/mgadriver-${PORTVERSION} +.if ${ARCH} == "i386" +DISTNAME= matrox_driver-x86_32-${PORTVERSION} +.elif ${ARCH} == "amd64" +DISTNAME= matrox_driver-x86_64-${PORTVERSION} +.endif + +WRKSRC= ${WRKDIR}/${DISTNAME} NO_BUILD= YES +XORG_VERSION= 6.9.0 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 \ + ${MKDIR} ${PREFIX}/lib/modules/drivers + ${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/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-servers/mga_hal/distinfo b/x11-servers/mga_hal/distinfo index 13afcaa6c33a..c908c2e90dc2 100644 --- a/x11-servers/mga_hal/distinfo +++ b/x11-servers/mga_hal/distinfo @@ -1,3 +1,6 @@ -MD5 (mgadriver-4.1.tar.gz) = f1075e3e2c8053aef73c0522f4a4ee90 -SHA256 (mgadriver-4.1.tar.gz) = 9e6d6439c56403c2efa65dc01a6146139fe234a76fcd805fee20fbf40e06ed1f -SIZE (mgadriver-4.1.tar.gz) = 740410 +MD5 (matrox_driver-x86_32-4.4.0.tar.gz) = 5ec049328eb0fa370851312872d9cfc5 +SHA256 (matrox_driver-x86_32-4.4.0.tar.gz) = 2b82dc4d227950afb118f5957fb61fa55d4e6c87342e436e016f682f9145b727 +SIZE (matrox_driver-x86_32-4.4.0.tar.gz) = 3172195 +MD5 (matrox_driver-x86_64-4.4.0.tar.gz) = ebef76c86b0a4b628f8feae5b797a0a7 +SHA256 (matrox_driver-x86_64-4.4.0.tar.gz) = 2ad5849c2c2744bd52374a8ed99d49a4f07cbb794657dd90688dcf170fbb9cf3 +SIZE (matrox_driver-x86_64-4.4.0.tar.gz) = 3272079 diff --git a/x11-servers/mga_hal/pkg-plist b/x11-servers/mga_hal/pkg-plist index 5ec56f3764d7..e33773c29846 100644 --- a/x11-servers/mga_hal/pkg-plist +++ b/x11-servers/mga_hal/pkg-plist @@ -1,3 +1,6 @@ %%PORTDOCS%%%%DOCSDIR%%/readme.txt -lib/modules/drivers/mga_hal_drv.o +lib/modules/drivers/mga_hal_drv.so +lib/modules/drivers/mga_drv.so +@dirrmtry lib/modules/drivers +@dirrmtry lib/modules %%PORTDOCS%%@dirrm %%DOCSDIR%% |