Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2013 09:47:12 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329545 - in head/graphics: . glfw-devel
Message-ID:  <201310060947.r969lCLk042827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sun Oct  6 09:47:11 2013
New Revision: 329545
URL: http://svnweb.freebsd.org/changeset/ports/329545

Log:
  GLFW is a free, Open Source, portable library for OpenGL and OpenGL ES
  application development.  It provides a simple, platform-independent API for
  creating windows and contexts, reading input, handling events, etc.
  
  Version 3.0 brings a new API with many new features such as multiple windows
  and contexts, multi-monitor support, EGL and OpenGL ES support, clipboard text
  support, an error description callback, gamma ramp control, layout-independent
  keyboard input and UTF-8 for all strings.
  
  WWW: http://www.glfw.org/
  
  PR:		ports/179605
  Submitted by:	nemysis (self)
  Approved by:	wg/pawel (mentors)

Added:
  head/graphics/glfw-devel/
  head/graphics/glfw-devel/Makefile   (contents, props changed)
  head/graphics/glfw-devel/distinfo   (contents, props changed)
  head/graphics/glfw-devel/pkg-descr   (contents, props changed)
  head/graphics/glfw-devel/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Oct  6 09:30:36 2013	(r329544)
+++ head/graphics/Makefile	Sun Oct  6 09:47:11 2013	(r329545)
@@ -280,6 +280,7 @@
     SUBDIR += glew
     SUBDIR += glexcess
     SUBDIR += glfw
+    SUBDIR += glfw-devel
     SUBDIR += glide3
     SUBDIR += glitz
     SUBDIR += gliv

Added: head/graphics/glfw-devel/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/glfw-devel/Makefile	Sun Oct  6 09:47:11 2013	(r329545)
@@ -0,0 +1,67 @@
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	glfw
+PORTVERSION=	3.0.3
+CATEGORIES=	graphics
+MASTER_SITES=	SF
+PKGNAMESUFFIX=	-devel
+
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	Portable framework for OpenGL development
+
+LICENSE=	ZLIB
+
+USES=		cmake
+USE_XORG=	xi xrandr
+USE_GL=		glu
+USE_LDCONFIG=	yes
+USE_GCC=	4.6+
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PORTDOCS=	*
+
+DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	README.md
+
+DOCSRCDIR2=	${WRKSRC}/docs/html/search
+DOCSDIR2=	${DOCSDIR}/docs/html/search
+DOC_FILES2=	*
+
+DOCSRCDIR3=	${WRKSRC}/docs/html
+DOCSDIR3=	${DOCSDIR}/docs/html
+DOC_FILES3=	*.html *.png *.css *.js
+
+PORTEXAMPLES=	*
+
+EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX}
+
+EXAMPLESSRCDIR1=	${WRKSRC}/examples
+EXAMPLES_FILES1=	boing gears heightmap simple splitview wave
+
+EXAMPLESSRCDIR2=	${WRKSRC}/tests
+EXAMPLESDIR2=		${EXAMPLESDIR}/tests
+EXAMPLES_FILES2=	accuracy clipboard defaults events fsaa  gamma glfwinfo iconify \
+			joysticks modes peter reopen sharing tearing threads title windows
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \
+		${WRKSRC}/CMakeLists.txt
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
+
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR2}
+	${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} ${STAGEDIR}${EXAMPLESDIR2}
+
+.include <bsd.port.mk>

Added: head/graphics/glfw-devel/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/glfw-devel/distinfo	Sun Oct  6 09:47:11 2013	(r329545)
@@ -0,0 +1,2 @@
+SHA256 (glfw-3.0.3.tar.gz) = 51751b7a0df6e848fe941383ba9df10619be4534cb05d1bd9de03b75ac1c513d
+SIZE (glfw-3.0.3.tar.gz) = 577736

Added: head/graphics/glfw-devel/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/glfw-devel/pkg-descr	Sun Oct  6 09:47:11 2013	(r329545)
@@ -0,0 +1,10 @@
+GLFW is a free, Open Source, portable library for OpenGL and OpenGL ES
+application development.  It provides a simple, platform-independent API for
+creating windows and contexts, reading input, handling events, etc.
+
+Version 3.0 brings a new API with many new features such as multiple windows
+and contexts, multi-monitor support, EGL and OpenGL ES support, clipboard text
+support, an error description callback, gamma ramp control, layout-independent
+keyboard input and UTF-8 for all strings.
+
+WWW: http://www.glfw.org/

Added: head/graphics/glfw-devel/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/glfw-devel/pkg-plist	Sun Oct  6 09:47:11 2013	(r329545)
@@ -0,0 +1,11 @@
+include/GLFW/glfw3.h
+include/GLFW/glfw3native.h
+lib/cmake/glfw/glfwConfig.cmake
+lib/cmake/glfw/glfwConfigVersion.cmake
+lib/cmake/glfw/glfwTargets-release.cmake
+lib/cmake/glfw/glfwTargets.cmake
+lib/libglfw3.a
+libdata/pkgconfig/glfw3.pc
+@dirrm lib/cmake/glfw
+@dirrmtry lib/cmake
+@dirrm include/GLFW



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310060947.r969lCLk042827>