1995-02-07 21:58:10 +00:00
|
|
|
# New ports collection makefile for: Mesa
|
2000-03-20 23:23:33 +00:00
|
|
|
# Version required: 3.1
|
1997-09-30 19:20:06 +00:00
|
|
|
# Date created: Tue Feb 7 12:02:49 1995
|
|
|
|
# Whom: hsu
|
1995-02-07 21:58:10 +00:00
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1995-02-07 21:58:10 +00:00
|
|
|
#
|
1996-12-06 23:28:02 +00:00
|
|
|
|
2000-03-20 23:23:33 +00:00
|
|
|
DISTNAME= MesaLib-${VERSION}
|
|
|
|
PKGNAME= Mesa-${VERSION}
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= graphics
|
2000-03-20 23:23:33 +00:00
|
|
|
MASTER_SITES= http://download.sourceforge.net/mesa3d/ \
|
|
|
|
ftp://iris.ssec.wisc.edu/pub/Mesa/ \
|
1998-10-01 02:17:49 +00:00
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/
|
2000-03-20 23:23:33 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MesaDemos-${VERSION}.tar.gz
|
1996-12-06 23:28:02 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
1997-11-22 02:06:47 +00:00
|
|
|
|
2000-03-20 23:23:33 +00:00
|
|
|
.if defined(WANT_GGI)
|
|
|
|
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
|
|
|
|
CONFIGURE_ARGS+=--with-ggi=${LOCALBASE}
|
1998-11-11 05:37:39 +00:00
|
|
|
.endif
|
|
|
|
|
2000-03-20 23:23:33 +00:00
|
|
|
VERSION= 3.1
|
|
|
|
GLVER= 14
|
|
|
|
GLUTVER= 3
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV+= GLVER="${GLVER}" GLUTVER="${GLUTVER}"
|
|
|
|
PLIST_SUB= GLVER="${GLVER}" GLUTVER="${GLUTVER}"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for lib in GL GLU
|
|
|
|
@${LN} -sf ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/libMesa${lib}.so
|
1997-09-30 19:20:06 +00:00
|
|
|
.endfor
|
1995-02-07 21:58:10 +00:00
|
|
|
|
2000-03-20 23:23:33 +00:00
|
|
|
.include <bsd.port.mk>
|