aboutsummaryrefslogtreecommitdiff
path: root/graphics/glide3/Makefile
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2002-06-07 06:12:02 +0000
committerEric Anholt <anholt@FreeBSD.org>2002-06-07 06:12:02 +0000
commit69705aa89e1409a4a263b0582e56ff6f5c49448a (patch)
treeb38a89d315fd9d0e8c7745a6fac42baf1f677caf /graphics/glide3/Makefile
parent808f5a34a853b5f29e3e9d196072f00ba227e790 (diff)
downloadports-69705aa89e1409a4a263b0582e56ff6f5c49448a.tar.gz
ports-69705aa89e1409a4a263b0582e56ff6f5c49448a.zip
Notes
Diffstat (limited to 'graphics/glide3/Makefile')
-rw-r--r--graphics/glide3/Makefile63
1 files changed, 32 insertions, 31 deletions
diff --git a/graphics/glide3/Makefile b/graphics/glide3/Makefile
index 00d06e749f65..d4123d5210a2 100644
--- a/graphics/glide3/Makefile
+++ b/graphics/glide3/Makefile
@@ -1,46 +1,47 @@
-# New ports collection makefile for: Glide
+# New ports collection makefile for: glide3
# Date created: 31 Mar 2001
# Whom: Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#
-PORTNAME= Glide3-64Bit
-PORTVERSION= 20010331
+PORTNAME= glide3
+PORTVERSION= 20020113
CATEGORIES= graphics
-MASTER_SITES= http://www.teleport.com/~anholt/devel/dri/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nsayer
-DISTFILES= ${PORTNAME}-20010331.tgz \
- ${PORTNAME:S/G/g/}-2001-01-06.tar.gz
-EXTRACT_ONLY= ${PORTNAME}-20010331.tgz
-
-PATCH_SITES= http://www.teleport.com/~anholt/devel/dri/
-PATCHFILES= ${PORTNAME:S/G/g/}-2001-01-06.diff
-
-MAINTAINER= ports@FreeBSD.org
-
-BROKEN= "Does not build"
-
-WRKSRC= ${WRKDIR}/Glide3
-USE_X_PREFIX= yes
-INSTALLS_SHLIB= yes
-USE_LIBTOOL= yes
-USE_AUTOMAKE_VER= 15
-MAKEFILE= makefile.autoconf
-USE_GMAKE= yes
+MASTER_SITES= http://gladstone.uoregon.edu/~eanholt/dri/
+.ifdef WITH_VOODOO3
+PKGNAMESUFFIX= -v3
+.else
+PKGNAMESUFFIX= -v5
+.endif
+DISTNAME= Glide3-FreeBSD-${PORTVERSION}
+EXTRACT_SUFX= .tar.bz2
+#The distfile is CVS Glide3-FreeBSD branch with */glide3/tests/* removed
+
+MAINTAINER= eanholt@gladstone.uoregon.edu
+
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/Glide3
+USE_X_PREFIX= yes
+XFREE86_VERSION= 4
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+USE_AUTOMAKE_VER= 14
+AUTOMAKE_ARGS= -a
+USE_GMAKE= yes
+MAKEFILE= makefile.autoconf
+
+#Glide3 DOES NOT work with CFLAGS greater than -O2
+CFLAGS+= -O
.ifdef WITH_VOODOO3
CONFIGURE_ARGS+= --enable-fx-glide-hw=h3
-.elifdef WITH_VOODOO2
-CONFIGURE_ARGS+= --enable-fx-glide-hw=cvg
+.else
+pre-everything::
+ @${ECHO_MSG} "Use make -DWITH_VOODOO3 if you have a Voodoo3 or Banshee card"
.endif
post-extract:
- ( cd ${WRKSRC}; ${TAR} xfpz \
- ${DISTDIR}/${PORTNAME:S/G/g/}-2001-01-06.tar.gz )
-
-post-patch:
- ( cd ${WRKSRC} ; aclocal )
+ cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
.include <bsd.port.mk>