1995-02-07 21:58:10 +00:00
|
|
|
# New ports collection makefile for: Mesa
|
1998-07-25 13:08:38 +00:00
|
|
|
# Version required: 3.0 beta 6
|
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
|
|
|
#
|
1998-08-12 22:52:25 +00:00
|
|
|
# $Id: Makefile,v 1.26 1998/08/05 09:31:07 asami Exp $
|
1995-02-07 21:58:10 +00:00
|
|
|
#
|
1996-12-06 23:28:02 +00:00
|
|
|
|
1998-07-25 13:08:38 +00:00
|
|
|
DISTNAME= MesaLib-3.0beta6
|
|
|
|
PKGNAME= Mesa-3.0b6
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= graphics
|
1998-07-25 13:08:38 +00:00
|
|
|
MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/beta/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MesaDemos-3.0beta6.tar.gz
|
1996-12-06 23:28:02 +00:00
|
|
|
|
1997-11-01 13:46:11 +00:00
|
|
|
MAINTAINER= jseger@FreeBSD.ORG
|
1997-11-22 02:06:47 +00:00
|
|
|
|
1998-08-12 22:52:25 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= shlib version conflict
|
|
|
|
|
1998-07-25 13:08:38 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Mesa-3.0
|
1998-07-20 10:14:24 +00:00
|
|
|
|
1998-07-25 13:08:38 +00:00
|
|
|
ALL_TARGET= freebsd
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-07-25 13:08:38 +00:00
|
|
|
LIBS= libMesaGL libMesaGLU
|
|
|
|
SHLIB_VERSION= 14.0
|
|
|
|
NO_LATEST_LINK= yes
|
1997-09-30 19:20:06 +00: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-22 02:06:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libglut.a ${PREFIX}/lib
|
1998-07-25 13:08:38 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libglut.so.3.7 ${PREFIX}/lib
|
1997-09-30 19:20:06 +00: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
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1995-02-07 21:58:10 +00:00
|
|
|
|
1997-02-13 14:57:27 +00:00
|
|
|
.include <bsd.port.mk>
|