2002-06-07 08:12:02 +02:00
|
|
|
# New ports collection makefile for: glide3
|
2001-04-01 05:38:41 +02:00
|
|
|
# Date created: 31 Mar 2001
|
|
|
|
# Whom: Nick Sayer <nsayer@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-06-07 08:12:02 +02:00
|
|
|
PORTNAME= glide3
|
|
|
|
PORTVERSION= 20020113
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 3
|
2001-04-01 05:38:41 +02:00
|
|
|
CATEGORIES= graphics
|
2002-07-30 23:04:00 +02:00
|
|
|
MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/
|
2002-06-07 08:12:02 +02:00
|
|
|
DISTNAME= Glide3-FreeBSD-${PORTVERSION}
|
|
|
|
#The distfile is CVS Glide3-FreeBSD branch with */glide3/tests/* removed
|
|
|
|
|
2004-01-10 22:04:29 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Library to support 3dfx Voodoo3/4/5/Banshee with the DRI
|
2002-06-07 08:12:02 +02:00
|
|
|
|
2006-12-12 02:29:16 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/Glide3
|
|
|
|
USE_X_PREFIX= yes
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= automake:14 autoconf:253 libtool:15
|
2006-12-12 02:29:16 +01:00
|
|
|
AUTOMAKE_ARGS= -a
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
MAKEFILE= makefile.autoconf
|
2002-06-07 08:12:02 +02:00
|
|
|
|
2003-05-12 03:30:29 +02: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 19:26:55 +02:00
|
|
|
CFLAGS+= -O
|
2001-04-01 05:38:41 +02:00
|
|
|
|
2004-08-21 01:08:03 +02:00
|
|
|
OPTIONS= VOODOO3 "Enable this if you have a Voodoo3 or Banshee card" off
|
|
|
|
|
2003-12-12 11:43:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-08-21 01:08:03 +02:00
|
|
|
.if defined(WITH_VOODOO3)
|
|
|
|
PKGNAMESUFFIX= -v3
|
2001-04-01 05:38:41 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-fx-glide-hw=h3
|
2002-06-07 08:12:02 +02:00
|
|
|
.else
|
2004-08-21 01:08:03 +02:00
|
|
|
PKGNAMESUFFIX= -v5
|
2001-04-01 05:38:41 +02:00
|
|
|
.endif
|
|
|
|
|
2004-05-15 17:31:03 +02:00
|
|
|
pre-configure:
|
2006-02-23 11:40:44 +01:00
|
|
|
@cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
|
|
|
|
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
|
2001-04-01 05:38:41 +02:00
|
|
|
|
2003-12-12 11:43:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|