Index: head/graphics/glfw/Makefile =================================================================== --- head/graphics/glfw/Makefile (revision 408674) +++ head/graphics/glfw/Makefile (revision 408675) @@ -1,68 +1,71 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= glfw -PORTVERSION= 3.0.4 -PORTREVISION= 2 +PORTVERSION= 3.1.2 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= koalative@gmail.com COMMENT= Portable framework for OpenGL development LICENSE= ZLIB -USES= cmake +LIB_DEPENDS= libXinerama.so:${PORTSDIR}/x11/libXinerama \ + libXcursor.so:${PORTSDIR}/x11/libXcursor + +USES= cmake zip USE_XORG= xi xrandr USE_GL= glu USE_GCC= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * 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= * EXAMPLESSRCDIR1= ${WRKSRC}/examples -EXAMPLES_FILES1= boing gears heightmap simple splitview wave +EXAMPLES_FILES1= boing gears heightmap particles 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 +EXAMPLES_FILES2= clipboard cursor empty events gamma glfwinfo iconify \ + joysticks monitors msaa reopen sharing tearing threads \ + title windows OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt -post-install: +do-install-DOCS-on: @${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} +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} \ ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR2} ${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} \ ${STAGEDIR}${EXAMPLESDIR2} .include Index: head/graphics/glfw/distinfo =================================================================== --- head/graphics/glfw/distinfo (revision 408674) +++ head/graphics/glfw/distinfo (revision 408675) @@ -1,2 +1,2 @@ -SHA256 (glfw-3.0.4.tar.gz) = c8bea730b1e3a6ec690370dfa0ec06716e3c4e454736c58bef584dff13cdb784 -SIZE (glfw-3.0.4.tar.gz) = 592216 +SHA256 (glfw-3.1.2.zip) = 2a38f4a32d2e1fcdffbe8c70052cd27020f9fef6e769afc8ccf8c7f9a1df635d +SIZE (glfw-3.1.2.zip) = 1096151 Index: head/graphics/glfw/files/patch-tests_empty.c =================================================================== --- head/graphics/glfw/files/patch-tests_empty.c (nonexistent) +++ head/graphics/glfw/files/patch-tests_empty.c (revision 408675) @@ -0,0 +1,10 @@ +--- tests/empty.c.orig 2015-01-20 03:12:31 UTC ++++ tests/empty.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include /* CLOCK_REALTIME */ + + static volatile GLboolean running = GL_TRUE; + Property changes on: head/graphics/glfw/files/patch-tests_empty.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/glfw/pkg-descr =================================================================== --- head/graphics/glfw/pkg-descr (revision 408674) +++ head/graphics/glfw/pkg-descr (revision 408675) @@ -1,10 +1,6 @@ -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. +GLFW is a free, Open Source, multi-platform 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. WWW: http://www.glfw.org/ Index: head/graphics/glfw/pkg-plist =================================================================== --- head/graphics/glfw/pkg-plist (revision 408674) +++ head/graphics/glfw/pkg-plist (revision 408675) @@ -1,8 +1,8 @@ include/GLFW/glfw3.h include/GLFW/glfw3native.h -lib/cmake/glfw/glfwConfig.cmake -lib/cmake/glfw/glfwConfigVersion.cmake +lib/cmake/glfw/glfw3Config.cmake +lib/cmake/glfw/glfw3ConfigVersion.cmake lib/cmake/glfw/glfwTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/glfw/glfwTargets.cmake lib/libglfw3.a libdata/pkgconfig/glfw3.pc