diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-11-03 00:36:12 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-11-03 00:36:12 +0000 |
commit | b7e860ac78808e6bda3c46c6d9d26f9995e5b2d5 (patch) | |
tree | 36c26606ab5ca7a6d1b158a7b8ff8991659574b1 /graphics/Mesa/Makefile | |
parent | c182defc0fa29c710304c5a1a308dc3f98ea5f71 (diff) | |
download | pkgsrc-b7e860ac78808e6bda3c46c6d9d26f9995e5b2d5.tar.gz |
OpenGL-clone
Diffstat (limited to 'graphics/Mesa/Makefile')
-rw-r--r-- | graphics/Mesa/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile new file mode 100644 index 00000000000..b6a74bb22a7 --- /dev/null +++ b/graphics/Mesa/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: Mesa +# Version required: 2.2 +# Date created: Tue Feb 7 12:02:49 1995 +# Whom: hsu +# +# $Id: Makefile,v 1.1.1.1 1997/11/03 00:36:12 hubertf Exp $ +# + +DISTNAME= Mesa-2.2 +CATEGORIES= graphics +MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/Mesa/ + +MAINTAINER= ports@FreeBSD.ORG + +ALL_TARGET= freebsd +USE_X11= yes +LIBS= libMesaGL libMesaGLU libMesaaux libMesatk +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 + +.include <bsd.port.mk> |