diff options
author | krion <krion@FreeBSD.org> | 2004-01-02 02:26:52 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-02 02:26:52 +0800 |
commit | 91c36bd1748b2058eebe23a10e7e1f49edb4e7e7 (patch) | |
tree | 39b3e2daff16c0b69f646aa9faa647fe3f433e78 /graphics/glew/Makefile | |
parent | d4f7b21afe330267cafb6f5a6d5a8648172d8c27 (diff) | |
download | freebsd-ports-gnome-91c36bd1748b2058eebe23a10e7e1f49edb4e7e7.tar.gz freebsd-ports-gnome-91c36bd1748b2058eebe23a10e7e1f49edb4e7e7.tar.zst freebsd-ports-gnome-91c36bd1748b2058eebe23a10e7e1f49edb4e7e7.zip |
Add glew 1.1.4,
The goal of the OpenGL Extension Wrangler Library (GLEW) is to
assist C/C++ OpenGL developers with two tedious tasks:
initializing and using extensions and writing portable
applications. GLEW provides an efficient run-time mechanism to
determine whether a certain extension is supported by the
driver or not. OpenGL core and extension functionality is
exposed via a single header file.
PR: 60717
Submitted by: Igor Pokrovsky <tiamat@comset.net>
Diffstat (limited to 'graphics/glew/Makefile')
-rw-r--r-- | graphics/glew/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile new file mode 100644 index 000000000000..b08c2c51875e --- /dev/null +++ b/graphics/glew/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: glew +# Date created: 29 Dec 2003 +# Whom: Igor Pokrovsky <tiamat@comset.net> +# +# $FreeBSD$ +# + +PORTNAME= glew +PORTVERSION= 1.1.4 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= -src.tgz + +MAINTAINER= tiamat@comset.net +COMMENT= The OpenGL Extension Wrangler Library + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_GL= yes +INSTALLS_SHLIB= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${PREFIX}/bin + + ${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEW.so.${PORTVERSION} \ + ${PREFIX}/lib/libGLEW.so.1 + @${LN} -sf ${PREFIX}/lib/libGLEW.so.1 ${PREFIX}/lib/libGLEW.so + ${INSTALL_DATA} ${WRKSRC}/lib/libGLEW.a ${PREFIX}/lib + + ${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${PREFIX}/include/GL + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/glew.css ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/glew.png ${DOCSDIR} +.endif + +.include <bsd.port.mk> |