1998-10-08 16:29:25 +00:00
|
|
|
# New ports collection makefile for: Mesa for Linux compat
|
|
|
|
# Version required: 2.6
|
|
|
|
# Date created: Oct, 8 1998
|
|
|
|
# Whom: cracauer
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-10-08 16:29:25 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= MesaLib-2.6
|
|
|
|
PKGNAME= linux_mesa-2.6
|
|
|
|
CATEGORIES= emulators
|
1998-11-05 11:39:51 +00:00
|
|
|
MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/old-versions/
|
1998-10-08 16:29:25 +00:00
|
|
|
|
|
|
|
MAINTAINER= cracauer@cons.org
|
|
|
|
|
1998-10-08 18:43:30 +00:00
|
|
|
BUILD_DEPENDS= /compat/linux/usr/lib/libglide2x.so:${PORTSDIR}/emulators/linux_glide \
|
1999-07-21 15:08:08 +00:00
|
|
|
/compat/linux/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools
|
1998-10-08 18:43:30 +00:00
|
|
|
|
1999-01-06 04:27:56 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1998-10-08 16:29:25 +00:00
|
|
|
ALL_TARGET= linux-glide
|
|
|
|
MAKE_ENV= PATH=${PREFIX}/usr/bin:$$PATH
|
|
|
|
NO_FILTER_SHLIBS=yes
|
|
|
|
|
|
|
|
PREFIX= /compat/linux
|
|
|
|
WRKSRC= ${WRKDIR}/Mesa-2.6/src
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
-${MKDIR} ${WRKSRC}/../lib/
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../lib/libMesaGL.so.2.6 ${PREFIX}/usr/lib/.
|
|
|
|
${LN} -fs libMesaGL.so.2.6 ${PREFIX}/usr/lib/libMesaGL.so.2
|
|
|
|
${LN} -fs libMesaGL.so.2.6 ${PREFIX}/usr/lib/libMesaGL.so
|
|
|
|
${LN} -fs libMesaGL.so.2.6 ${PREFIX}/usr/lib/libGL.so
|
|
|
|
@${MKDIR} ${PREFIX}/usr/include/GL
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../include/GL/* ${PREFIX}/usr/include/GL/.
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../include/glaux.h ${PREFIX}/usr/include/.
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../include/gltk.h ${PREFIX}/usr/include/.
|
|
|
|
-/compat/linux/sbin/ldconfig
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|