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$
|
|
|
|
#
|
|
|
|
|
2003-03-06 02:23:18 +01:00
|
|
|
PORTNAME= driglide
|
|
|
|
PORTVERSION= 0.9.1
|
2007-09-30 06:47:36 +02:00
|
|
|
PORTREVISION= 6
|
2003-03-06 02:23:18 +01:00
|
|
|
CATEGORIES= x11-servers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2004-04-10 19:26:55 +02:00
|
|
|
MASTER_SITE_SUBDIR= anholt/driglide/
|
2002-06-07 08:12:02 +02:00
|
|
|
|
2004-01-10 22:05:34 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-06 02:23:18 +01:00
|
|
|
COMMENT= Libraries to support 3dfx Voodoo3/4/5/Banshee with the DRI
|
2002-06-07 08:12:02 +02:00
|
|
|
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= xxf86vm xxf86dga
|
2007-06-30 22:38:21 +02:00
|
|
|
USE_BZIP2= yes
|
2006-08-15 03:11:33 +02:00
|
|
|
USE_LDCONFIG= yes
|
2007-09-30 06:47:36 +02:00
|
|
|
USE_AUTOTOOLS= automake:14 autoconf:261 libtool:15
|
2007-06-30 22:38:21 +02:00
|
|
|
AUTOMAKE_ARGS= -a
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= PREPROCESSOR=/usr/bin/cpp
|
2003-03-13 01:57:44 +01:00
|
|
|
# Not yet ported to Alpha.
|
2007-06-30 22:38:21 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2002-06-07 08:12:02 +02:00
|
|
|
|
2003-03-06 02:23:18 +01:00
|
|
|
# Glide 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
|
|
|
|
2006-12-01 00:27:04 +01:00
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
|
2007-06-30 22:38:21 +02:00
|
|
|
${WRKSRC}/configure.in \
|
|
|
|
${WRKSRC}/h3/glide3/src/Makefile.am \
|
|
|
|
${WRKSRC}/h5/glide3/src/Makefile.am
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|(float \*)pointers +=|pointers += sizeof(float *) *|' \
|
|
|
|
${WRKSRC}/h3/glide3/src/gaa.c \
|
|
|
|
${WRKSRC}/h3/glide3/src/gdraw.c \
|
|
|
|
${WRKSRC}/h3/glide3/src/distrip.c \
|
|
|
|
${WRKSRC}/h5/glide3/src/gaa.c \
|
|
|
|
${WRKSRC}/h5/glide3/src/gdraw.c \
|
|
|
|
${WRKSRC}/h5/glide3/src/distrip.c
|
2006-12-01 00:27:04 +01:00
|
|
|
|
2004-05-15 17:31:03 +02:00
|
|
|
pre-configure:
|
2007-06-30 22:38:21 +02:00
|
|
|
@cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
|
2006-02-23 11:40:44 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
|
2001-04-01 05:38:41 +02:00
|
|
|
|
2004-12-24 16:41:40 +01:00
|
|
|
.include <bsd.port.mk>
|