mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
cee83caf0e
Submitted by: Will Andrews <andrews@technologist.com> PR: ports/17029
40 lines
966 B
Makefile
40 lines
966 B
Makefile
# New ports collection makefile for: Mesa
|
|
# Version required: 3.1
|
|
# Date created: Tue Feb 7 12:02:49 1995
|
|
# Whom: hsu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= MesaLib-${VERSION}
|
|
PKGNAME= Mesa-${VERSION}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://download.sourceforge.net/mesa3d/ \
|
|
ftp://iris.ssec.wisc.edu/pub/Mesa/ \
|
|
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MesaDemos-${VERSION}.tar.gz
|
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
|
|
|
.if defined(WANT_GGI)
|
|
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
|
|
CONFIGURE_ARGS+=--with-ggi=${LOCALBASE}
|
|
.endif
|
|
|
|
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
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|