1995-02-07 21:58:10 +00:00
|
|
|
# New ports collection makefile for: Mesa
|
1997-09-30 19:20:06 +00:00
|
|
|
# Version required: 2.2
|
|
|
|
# Date created: Tue Feb 7 12:02:49 1995
|
|
|
|
# Whom: hsu
|
1995-02-07 21:58:10 +00:00
|
|
|
#
|
1997-09-30 19:21:40 +00:00
|
|
|
# $Id: Makefile,v 1.18 1997/09/30 19:20:00 max Exp $
|
1995-02-07 21:58:10 +00:00
|
|
|
#
|
1996-12-06 23:28:02 +00:00
|
|
|
|
1997-09-30 19:20:06 +00:00
|
|
|
DISTNAME= Mesa-2.2
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= graphics
|
1996-12-05 12:21:48 +00:00
|
|
|
MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/
|
1996-12-06 23:28:02 +00:00
|
|
|
|
1997-09-30 19:20:06 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
1997-02-14 14:18:06 +00:00
|
|
|
|
1996-12-05 12:21:48 +00:00
|
|
|
ALL_TARGET= freebsd
|
1995-04-04 06:09:38 +00:00
|
|
|
USE_X11= yes
|
1997-09-30 19:21:40 +00:00
|
|
|
LIBS= libMesaGL libMesaGLU libMesaaux libMesatk
|
1997-09-30 19:20:06 +00:00
|
|
|
SHLIB_VERSION= 13.2
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for file in ${LIBS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${file}.a ${PREFIX}/lib
|
|
|
|
ranlib ${PREFIX}/lib/${file}.a
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/${file}.so.${SHLIB_VERSION} ${PREFIX}/lib
|
|
|
|
.endfor
|
|
|
|
.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
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/Mesa
|
|
|
|
${CP} -Rp ${WRKSRC}/samples ${PREFIX}/share/examples/Mesa
|
|
|
|
${CP} -Rp ${WRKSRC}/demos ${PREFIX}/share/examples/Mesa
|
|
|
|
${CP} -Rp ${WRKSRC}/book ${PREFIX}/share/examples/Mesa
|
|
|
|
${CP} -Rp ${WRKSRC}/widgets-sgi ${PREFIX}/share/examples/Mesa
|
|
|
|
@${RM} -f ${PREFIX}/share/examples/Mesa/widgets-sgi/Makefile~
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1995-02-07 21:58:10 +00:00
|
|
|
|
1997-02-13 14:57:27 +00:00
|
|
|
.include <bsd.port.mk>
|