diff options
author | will <will@FreeBSD.org> | 2002-03-17 23:03:28 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-03-17 23:03:28 +0000 |
commit | 422dc402f0947b5756058f7065a2d6155c5db581 (patch) | |
tree | 1c39ee5c90d83e9f6993f9cdf77893d128a7d29b /x11-servers | |
parent | 73ae76e6a8d3db5fc0d3fab7d549d57801632e5b (diff) | |
download | FreeBSD-ports-422dc402f0947b5756058f7065a2d6155c5db581.zip FreeBSD-ports-422dc402f0947b5756058f7065a2d6155c5db581.tar.gz |
[1] Update MGA HAL drivers for XFree86 4.2.0.
[2] If WITH_MATROX_GXX_DRIVER defined, bump PORTREVISION to preserve the
upgrade path for users who already have 4.2.0 but not this.
[3] Cosmetic cleanups.
Submitted by: [1] Glenn Johnson <glennpj@charter.net>
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/Makefile | 24 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/distinfo | 1 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/pkg-plist | 1 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 24 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/distinfo | 1 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/pkg-plist | 1 |
6 files changed, 34 insertions, 18 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index aa0abb6..0e449f8 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/Makefile @@ -7,6 +7,9 @@ PORTNAME= Server PORTVERSION= 4.2.0 +.if defined(WITH_MATROX_GXX_DRIVER) +PORTREVISION= 1 +.endif CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -144,27 +147,32 @@ PLIST_SUB+= XIE:="@comment " HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " pre-fetch:: - @${ECHO_MSG} "*** WARNING: UNTESTED WITH XFREE86 4.2.0! ENABLE AT" - @${ECHO_MSG} "YOUR OWN RISK! ***" + @${ECHO_MSG} "********************************************************" + @${ECHO_MSG} "WARNING: NOT FULLY TESTED WITH XFREE86 4.2.0!" + @${ECHO_MSG} "ENABLE AT YOUR OWN RISK!" @${ECHO_MSG} "" @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official" @${ECHO_MSG} "Matrox drivers for the G200, G400, G450, and G550" @${ECHO_MSG} "graphic adapters." + @${ECHO_MSG} "" + @${ECHO_MSG} "This has been tested on a G400 AGP card." + @${ECHO_MSG} "********************************************************" .else NO_PACKAGE= "Matrox drivers may not be distributed." +RESTRICTED= "Matrox drivers may not be distributed." HaveMatroxHal= YES -MGA_DRIVER_VERSION= 133_143 -MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION}/ -DISTFILES+= mga-${MGA_DRIVER_VERSION}-source.tgz -EXTRACT_ONLY+= mga-${MGA_DRIVER_VERSION}-source.tgz +MGA_DRIVER_VERSION= 2.0 +MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2002/ +DISTFILES+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz +EXTRACT_ONLY+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz +RESTRICTED_FILES= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz PLIST_SUB+= MATROX="" post-patch:: @(cd ${WRKSRC}; \ ${MV} programs/Xserver/hw/xfree86/drivers/mga \ programs/Xserver/hw/xfree86/drivers/mga.old; \ - ${MV} ../mgasource/mga-1.4.3/mga programs/Xserver/hw/xfree86/drivers) + ${MV} ../mgadrivers-${MGA_DRIVER_VERSION}-src/${PORTVERSION}/drivers/src programs/Xserver/hw/xfree86/drivers/mga) post-install:: - ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README ${PREFIX}/lib/X11/doc/README.mga ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README_HALLIB ${PREFIX}/lib/X11/doc/README.mga_HALLIB .endif # !WITH_MATROX_GXX_DRIVER .endif diff --git a/x11-servers/XFree86-4-Server-snap/distinfo b/x11-servers/XFree86-4-Server-snap/distinfo index 4766fc3..ab4ff21 100644 --- a/x11-servers/XFree86-4-Server-snap/distinfo +++ b/x11-servers/XFree86-4-Server-snap/distinfo @@ -1,2 +1,3 @@ MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f +MD5 (xc/mgadrivers-2.0-src.tgz) = 877db503967ae837c147953dbcd8ee6d MD5 (xc/Wraphelp.c) = IGNORE diff --git a/x11-servers/XFree86-4-Server-snap/pkg-plist b/x11-servers/XFree86-4-Server-snap/pkg-plist index 5714a75..963613e 100644 --- a/x11-servers/XFree86-4-Server-snap/pkg-plist +++ b/x11-servers/XFree86-4-Server-snap/pkg-plist @@ -31,7 +31,6 @@ lib/X11/doc/README.dps lib/X11/doc/README.fonts %%I386:%%lib/X11/doc/README.i740 %%I386:%%lib/X11/doc/README.i810 -%%MATROX%%lib/X11/doc/README.mga %%MATROX%%lib/X11/doc/README.mga_HALLIB lib/X11/doc/README.mouse %%I386:%%lib/X11/doc/README.newport diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index aa0abb6..0e449f8 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -7,6 +7,9 @@ PORTNAME= Server PORTVERSION= 4.2.0 +.if defined(WITH_MATROX_GXX_DRIVER) +PORTREVISION= 1 +.endif CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -144,27 +147,32 @@ PLIST_SUB+= XIE:="@comment " HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " pre-fetch:: - @${ECHO_MSG} "*** WARNING: UNTESTED WITH XFREE86 4.2.0! ENABLE AT" - @${ECHO_MSG} "YOUR OWN RISK! ***" + @${ECHO_MSG} "********************************************************" + @${ECHO_MSG} "WARNING: NOT FULLY TESTED WITH XFREE86 4.2.0!" + @${ECHO_MSG} "ENABLE AT YOUR OWN RISK!" @${ECHO_MSG} "" @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official" @${ECHO_MSG} "Matrox drivers for the G200, G400, G450, and G550" @${ECHO_MSG} "graphic adapters." + @${ECHO_MSG} "" + @${ECHO_MSG} "This has been tested on a G400 AGP card." + @${ECHO_MSG} "********************************************************" .else NO_PACKAGE= "Matrox drivers may not be distributed." +RESTRICTED= "Matrox drivers may not be distributed." HaveMatroxHal= YES -MGA_DRIVER_VERSION= 133_143 -MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION}/ -DISTFILES+= mga-${MGA_DRIVER_VERSION}-source.tgz -EXTRACT_ONLY+= mga-${MGA_DRIVER_VERSION}-source.tgz +MGA_DRIVER_VERSION= 2.0 +MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2002/ +DISTFILES+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz +EXTRACT_ONLY+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz +RESTRICTED_FILES= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz PLIST_SUB+= MATROX="" post-patch:: @(cd ${WRKSRC}; \ ${MV} programs/Xserver/hw/xfree86/drivers/mga \ programs/Xserver/hw/xfree86/drivers/mga.old; \ - ${MV} ../mgasource/mga-1.4.3/mga programs/Xserver/hw/xfree86/drivers) + ${MV} ../mgadrivers-${MGA_DRIVER_VERSION}-src/${PORTVERSION}/drivers/src programs/Xserver/hw/xfree86/drivers/mga) post-install:: - ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README ${PREFIX}/lib/X11/doc/README.mga ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README_HALLIB ${PREFIX}/lib/X11/doc/README.mga_HALLIB .endif # !WITH_MATROX_GXX_DRIVER .endif diff --git a/x11-servers/XFree86-4-Server/distinfo b/x11-servers/XFree86-4-Server/distinfo index 4766fc3..ab4ff21 100644 --- a/x11-servers/XFree86-4-Server/distinfo +++ b/x11-servers/XFree86-4-Server/distinfo @@ -1,2 +1,3 @@ MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f +MD5 (xc/mgadrivers-2.0-src.tgz) = 877db503967ae837c147953dbcd8ee6d MD5 (xc/Wraphelp.c) = IGNORE diff --git a/x11-servers/XFree86-4-Server/pkg-plist b/x11-servers/XFree86-4-Server/pkg-plist index 5714a75..963613e 100644 --- a/x11-servers/XFree86-4-Server/pkg-plist +++ b/x11-servers/XFree86-4-Server/pkg-plist @@ -31,7 +31,6 @@ lib/X11/doc/README.dps lib/X11/doc/README.fonts %%I386:%%lib/X11/doc/README.i740 %%I386:%%lib/X11/doc/README.i810 -%%MATROX%%lib/X11/doc/README.mga %%MATROX%%lib/X11/doc/README.mga_HALLIB lib/X11/doc/README.mouse %%I386:%%lib/X11/doc/README.newport |