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
|
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
|
|
|
|
|
2002-07-30 21:04:00 +00:00
|
|
|
MAINTAINER= anholt@freebsd.org
|
2002-06-07 06:12:02 +00:00
|
|
|
|
|
|
|
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
|
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
|
|
|
|
|
|
|
|
post-extract:
|
2002-06-07 06:12:02 +00:00
|
|
|
cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
|
2001-04-01 03:38:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|