1995-02-07 16:58:10 -05:00
|
|
|
# New ports collection makefile for: Mesa
|
1998-02-15 12:13:22 -05:00
|
|
|
# Version required: 2.6
|
1997-09-30 15:20:06 -04:00
|
|
|
# Date created: Tue Feb 7 12:02:49 1995
|
|
|
|
# Whom: hsu
|
1995-02-07 16:58:10 -05:00
|
|
|
#
|
1998-07-20 06:14:24 -04:00
|
|
|
# $Id: Makefile,v 1.23 1998/03/10 09:26:05 tg Exp $
|
1995-02-07 16:58:10 -05:00
|
|
|
#
|
1996-12-06 18:28:02 -05:00
|
|
|
|
1998-02-15 12:13:22 -05:00
|
|
|
DISTNAME= MesaLib-2.6
|
|
|
|
PKGNAME= Mesa-2.6
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= graphics
|
1996-12-05 07:21:48 -05:00
|
|
|
MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/
|
1998-03-10 04:26:11 -05:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MesaDemos-2.6.tar.gz
|
1996-12-06 18:28:02 -05:00
|
|
|
|
1997-11-01 08:46:11 -05:00
|
|
|
MAINTAINER= jseger@FreeBSD.ORG
|
1997-11-21 21:06:47 -05:00
|
|
|
|
1998-07-20 06:14:24 -04:00
|
|
|
BROKEN= awaiting upgrade to Mesa3 after repository copy
|
|
|
|
|
1997-11-01 08:46:11 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
1997-02-14 09:18:06 -05:00
|
|
|
|
1998-03-10 04:26:11 -05:00
|
|
|
ALL_TARGET= freebsd-386
|
1995-04-04 02:09:38 -04:00
|
|
|
USE_X11= yes
|
1998-03-10 04:26:11 -05:00
|
|
|
LIBS= libMesaGL libMesaGLU libMesaaux libMesatk
|
1998-02-15 12:13:22 -05:00
|
|
|
SHLIB_VERSION= 13.6
|
1997-09-30 15:20:06 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for file in ${LIBS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${file}.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${file}.so.${SHLIB_VERSION} ${PREFIX}/lib
|
|
|
|
.endfor
|
1997-11-21 21:06:47 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libglut.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libglut.so.3.6 ${PREFIX}/lib
|
1997-09-30 15:20:06 -04:00
|
|
|
.for file in GL GLU
|
|
|
|
@ln -fs ${PREFIX}/lib/libMesa${file}.a ${PREFIX}/lib/lib${file}.a
|
|
|
|
@ln -fs ${PREFIX}/lib/libMesa${file}.so.${SHLIB_VERSION} ${PREFIX}/lib/lib${file}.so.${SHLIB_VERSION}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/include/GL
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/GL/* ${PREFIX}/include/GL
|
1998-03-10 04:26:11 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/glaux.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/gltk.h ${PREFIX}/include
|
1997-09-30 15:20:06 -04:00
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1995-02-07 16:58:10 -05:00
|
|
|
|
1997-02-13 09:57:27 -05:00
|
|
|
.include <bsd.port.mk>
|