2002-06-07 06:12:02 +00:00
|
|
|
# New ports collection makefile for: glide3
|
2001-04-01 03:38:41 +00:00
|
|
|
# Date created: 31 Mar 2001
|
|
|
|
# Whom: Nick Sayer <nsayer@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-06-07 06:12:02 +00:00
|
|
|
PORTNAME= glide3
|
|
|
|
PORTVERSION= 20020113
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2001-04-01 03:38:41 +00:00
|
|
|
CATEGORIES= graphics
|
2002-07-30 21:04:00 +00:00
|
|
|
MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/
|
2002-06-07 06:12:02 +00:00
|
|
|
.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
|
|
|
|
|
2004-01-10 21:04:29 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Library to support 3dfx Voodoo3/4/5/Banshee with the DRI
|
2002-06-07 06:12:02 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/Glide3
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
XFREE86_VERSION= 4
|
|
|
|
INSTALLS_SHLIB= yes
|
2004-03-14 06:17:56 +00:00
|
|
|
USE_LIBTOOL_VER= 13
|
2002-06-07 06:12:02 +00:00
|
|
|
USE_AUTOMAKE_VER= 14
|
|
|
|
AUTOMAKE_ARGS= -a
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= makefile.autoconf
|
|
|
|
|
2003-05-12 01:30:29 +00:00
|
|
|
# This Glide3 does not work on alpha, and I don't expect it to work right
|
|
|
|
# on other non-i386 without patches. Further development is going on in
|
|
|
|
# x11-servers/driglide.
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
# Glide3 DOES NOT work with CFLAGS greater than -O2
|
2004-04-10 17:26:55 +00:00
|
|
|
CFLAGS+= -O
|
2001-04-01 03:38:41 +00:00
|
|
|
|
2003-12-12 10:43:49 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500113
|
|
|
|
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
|
|
|
|
.endif
|
|
|
|
|
2001-04-01 03:38:41 +00:00
|
|
|
.ifdef WITH_VOODOO3
|
|
|
|
CONFIGURE_ARGS+= --enable-fx-glide-hw=h3
|
2002-06-07 06:12:02 +00:00
|
|
|
.else
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} "Use make -DWITH_VOODOO3 if you have a Voodoo3 or Banshee card"
|
2001-04-01 03:38:41 +00:00
|
|
|
.endif
|
|
|
|
|
2004-05-15 15:31:03 +00:00
|
|
|
pre-configure:
|
2002-06-07 06:12:02 +00:00
|
|
|
cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
|
2001-04-01 03:38:41 +00:00
|
|
|
|
2003-12-12 10:43:49 +00:00
|
|
|
.include <bsd.port.post.mk>
|