diff options
author | pat <pat@FreeBSD.org> | 2001-12-15 16:16:48 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2001-12-15 16:16:48 +0800 |
commit | 00c4c4875a7bde7b08ef571f4ef58bba96b02ba1 (patch) | |
tree | 139cf108a815d44d06923355bc9f390dd20ab747 /graphics | |
parent | d65839bd1fe765b099d9b900b46bbf3c29b84ffa (diff) | |
download | freebsd-ports-gnome-00c4c4875a7bde7b08ef571f4ef58bba96b02ba1.tar.gz freebsd-ports-gnome-00c4c4875a7bde7b08ef571f4ef58bba96b02ba1.tar.zst freebsd-ports-gnome-00c4c4875a7bde7b08ef571f4ef58bba96b02ba1.zip |
Add port graphics/linux_dri, Binary Linux DRI libraries for 3D hardware
acceleration of linux apps
PR: 31505
Submitted by: Eric Anholt <eanholt@gladstone.uoregon.edu>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/linux_dri/Makefile | 47 | ||||
-rw-r--r-- | graphics/linux_dri/distinfo | 4 | ||||
-rw-r--r-- | graphics/linux_dri/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/linux_dri/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/linux_dri/pkg-message | 11 | ||||
-rw-r--r-- | graphics/linux_dri/pkg-plist | 14 |
7 files changed, 81 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 2556e64b1816..e68dbe70f9a7 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -166,6 +166,7 @@ SUBDIR += linux-jpeg SUBDIR += linux-png SUBDIR += linux-tiff + SUBDIR += linux_dri SUBDIR += linux_glide SUBDIR += linux_glx SUBDIR += linux_mesa diff --git a/graphics/linux_dri/Makefile b/graphics/linux_dri/Makefile new file mode 100644 index 000000000000..648dc9df5f74 --- /dev/null +++ b/graphics/linux_dri/Makefile @@ -0,0 +1,47 @@ +# Ports collection makefile for: linux_dri +# Date created: Thu Oct 25 18:51:06 PDT 2001 +# Whom: Eric Anholt <eanholt@gladstone.uoregon.edu> +# +# $FreeBSD$ +# + +PORTNAME= dri +PORTVERSION= 4.1.0 +CATEGORIES= graphics linux +MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/4.1.0/binaries/Linux-ix86-glibc21/ \ + http://gladstone.uoregon.edu/~eanholt/dri/ +PKGNAMEPREFIX= linux_ +DISTFILES= Xmod.tgz Xbin.tgz linux-libglide.tar.gz \ + linux-dri-tools.tar.gz +DIST_SUBDIR= linux-dri + +MAINTAINER= eanholt@gladstone.uoregon.edu + +WRKSRC= ${WRKDIR}/lib +NO_BUILD= yes +USE_LINUX_PREFIX= yes + +MODULELIST= gamma_dri.so i810_dri.so mga_dri.so r128_dri.so \ + radeon_dri.so sis_dri.so tdfx_dri.so +LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig +STRIP= + +do-install: + @${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri + @${INSTALL_PROGRAM} ${WRKSRC}/libGL.so.1 ${PREFIX}/usr/X11R6/lib + @${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so.1 ${PREFIX}/usr/X11R6/lib +.for i in ${MODULELIST} + @${INSTALL_PROGRAM} ${WRKSRC}/modules/dri/${i} \ + ${PREFIX}/usr/X11R6/lib/modules/dri +.endfor + @${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v3.so.0 ${PREFIX}/usr/X11R6/lib + @${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib + @${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}/usr/X11R6/lib + @${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/bin + @${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin + +post-install: + @${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib + @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/graphics/linux_dri/distinfo b/graphics/linux_dri/distinfo new file mode 100644 index 000000000000..b56c3625f596 --- /dev/null +++ b/graphics/linux_dri/distinfo @@ -0,0 +1,4 @@ +MD5 (linux-dri/Xmod.tgz) = 1601f3337527d3ad06d2b7df4a25477e +MD5 (linux-dri/Xbin.tgz) = c61f48de2f03298aa79a0b5bb44dd90a +MD5 (linux-dri/linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba +MD5 (linux-dri/linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4 diff --git a/graphics/linux_dri/pkg-comment b/graphics/linux_dri/pkg-comment new file mode 100644 index 000000000000..d5e2c751940f --- /dev/null +++ b/graphics/linux_dri/pkg-comment @@ -0,0 +1 @@ +Binary Linux DRI libraries for 3D hardware acceleration of linux apps diff --git a/graphics/linux_dri/pkg-descr b/graphics/linux_dri/pkg-descr new file mode 100644 index 000000000000..9b8a69ccc97a --- /dev/null +++ b/graphics/linux_dri/pkg-descr @@ -0,0 +1,3 @@ +linux-dri installs binary linux DRI modules, libraries and basic +programs for use with drm-kmod to get 3d hardware acceleration of +linux binaries. diff --git a/graphics/linux_dri/pkg-message b/graphics/linux_dri/pkg-message new file mode 100644 index 000000000000..8a497e62c4b8 --- /dev/null +++ b/graphics/linux_dri/pkg-message @@ -0,0 +1,11 @@ + +------------------------------------------------------------------------------- +If you are using a 3dfx Voodoo-based card, you must make a symlink to libglide. + +Voodoo3/Banshee: +ln -sf %%PREFIX%%/usr/X11R6/lib/libglide3-v3.so.0 %%PREFIX%%/usr/X11R6/lib/libglide3.so.3 + +Voodoo4/5: +ln -sf %%PREFIX%%/usr/X11R6/lib/libglide3-v5.so.0 %%PREFIX%%/usr/X11R6/lib/libglide3.so.3 +------------------------------------------------------------------------------- + diff --git a/graphics/linux_dri/pkg-plist b/graphics/linux_dri/pkg-plist new file mode 100644 index 000000000000..e9d129fb0a6e --- /dev/null +++ b/graphics/linux_dri/pkg-plist @@ -0,0 +1,14 @@ +usr/X11R6/bin/gears +usr/X11R6/bin/glxinfo +usr/X11R6/lib/libGL.so.1 +usr/X11R6/lib/libGLU.so.1 +usr/X11R6/lib/libglide3-v3.so.0 +usr/X11R6/lib/libglide3-v5.so.0 +usr/X11R6/lib/libglut.so.3.7.0 +usr/X11R6/lib/modules/dri/gamma_dri.so +usr/X11R6/lib/modules/dri/i810_dri.so +usr/X11R6/lib/modules/dri/mga_dri.so +usr/X11R6/lib/modules/dri/r128_dri.so +usr/X11R6/lib/modules/dri/radeon_dri.so +usr/X11R6/lib/modules/dri/sis_dri.so +usr/X11R6/lib/modules/dri/tdfx_dri.so |