From owner-svn-ports-head@FreeBSD.ORG Tue Jan 28 20:31:50 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 973A9A16; Tue, 28 Jan 2014 20:31:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8216816D0; Tue, 28 Jan 2014 20:31:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SKVonH061090; Tue, 28 Jan 2014 20:31:50 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0SKVnU3061086; Tue, 28 Jan 2014 20:31:49 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401282031.s0SKVnU3061086@svn.freebsd.org> From: Rusmir Dusko Date: Tue, 28 Jan 2014 20:31:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341653 - in head/graphics/glfw: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 20:31:50 -0000 Author: nemysis Date: Tue Jan 28 20:31:49 2014 New Revision: 341653 URL: http://svnweb.freebsd.org/changeset/ports/341653 QAT: https://qat.redports.org/buildarchive/r341653/ Log: - Update to 3.0.4, stable version - Import from graphics/glfw-devel - Add USES=cmake - Add USE_GCC=yes - Remove MAKE_JOBS_UNSAFE=yes - Remove PLIST_FILES, add pkg-plist - Add CPPFLAGS and LDFLAGS - Change DOCS and EXAMPLES - Remove PORTSCOUT - Add DOCS and EXAMPLES Options - Remove post-extract - Change REINPLACE - Remove obsolete patches - Change pkg-descr Added: head/graphics/glfw/pkg-plist (contents, props changed) Deleted: head/graphics/glfw/files/ Modified: head/graphics/glfw/Makefile head/graphics/glfw/distinfo head/graphics/glfw/pkg-descr Modified: head/graphics/glfw/Makefile ============================================================================== --- head/graphics/glfw/Makefile Tue Jan 28 20:16:01 2014 (r341652) +++ head/graphics/glfw/Makefile Tue Jan 28 20:31:49 2014 (r341653) @@ -1,8 +1,8 @@ -# Created by: Igor Pokrovsky +# Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= glfw -PORTVERSION= 2.7.9 +PORTVERSION= 3.0.4 CATEGORIES= graphics MASTER_SITES= SF @@ -11,72 +11,57 @@ COMMENT= Portable framework for OpenGL d LICENSE= ZLIB -USE_BZIP2= yes -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= compile.sh -ALL_TARGET= x11 -INSTALL_TARGET= x11-install +USES= cmake USE_XORG= xi xrandr USE_GL= glu +USE_GCC= yes USE_LDCONFIG= yes -MAKE_JOBS_UNSAFE= yes -PLIST_FILES= include/GL/glfw.h \ - lib/libglfw.a \ - lib/libglfw.so \ - lib/libglfw.so.0 \ - libdata/pkgconfig/libglfw.pc +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * DOCSRCDIR1= ${WRKSRC} -DOC_FILES1= *.html +DOC_FILES1= README.md -DOCSRCDIR2= ${WRKSRC}/docs -DOCSDIR2= ${DOCSDIR}/docs -DOC_FILES2= *.pdf *.sty *.tex *.txt +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 listmodes mipmaps mtbench mthello \ - pong3d splitview triangle wave +EXAMPLES_FILES1= boing gears heightmap simple splitview wave EXAMPLESSRCDIR2= ${WRKSRC}/tests EXAMPLESDIR2= ${EXAMPLESDIR}/tests -EXAMPLES_FILES2= accuracy defaults dynamic events fsaa fsinput iconify \ - joysticks peter reopen tearing version +EXAMPLES_FILES2= accuracy clipboard defaults events fsaa gamma glfwinfo \ + iconify joysticks modes peter reopen sharing tearing \ + threads title windows -# Restrict to stable (even) versions, indicated by the second component. -PORTSCOUT= limit:^2\..* - -post-extract: - @${CHMOD} ${BINMODE} ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: - @${REINPLACE_CMD} -e \ - 's|/usr/X11R6|${LOCALBASE}| ; \ - /SOFLAGS/s|-soname |-Wl,-soname,| ; \ - /CFLAGS_THREAD/s|"-pthread"|"${PTHREAD_CFLAGS}"| ; \ - /LFLAGS_THREAD/s|"-pthread"|"${PTHREAD_LIBS}"|' \ - ${WRKSRC}/${CONFIGURE_SCRIPT} - @${REINPLACE_CMD} \ - -e 's|lib/pkgconfig|libdata/pkgconfig|g' \ - ${WRKSRC}/lib/x11/Makefile.x11.in + @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ + ${WRKSRC}/CMakeLists.txt post-install: - ${INSTALL_DATA} ${WRKSRC}/lib/x11/libglfw.so ${STAGEDIR}${PREFIX}/lib/libglfw.so.0 - ${LN} -sf ${PREFIX}/lib/libglfw.so.0 ${STAGEDIR}${PREFIX}/lib/libglfw.so - @${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} - ${INSTALL_DATA} ${EXAMPLESSRCDIR1}/*.tga ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} \ + ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR2} - ${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} ${STAGEDIR}${EXAMPLESDIR2} + ${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} \ + ${STAGEDIR}${EXAMPLESDIR2} .include Modified: head/graphics/glfw/distinfo ============================================================================== --- head/graphics/glfw/distinfo Tue Jan 28 20:16:01 2014 (r341652) +++ head/graphics/glfw/distinfo Tue Jan 28 20:31:49 2014 (r341653) @@ -1,2 +1,2 @@ -SHA256 (glfw-2.7.9.tar.bz2) = d1f47e99e4962319f27f30d96571abcb04c1022c000de4d01df69ec59aae829d -SIZE (glfw-2.7.9.tar.bz2) = 946924 +SHA256 (glfw-3.0.4.tar.gz) = c8bea730b1e3a6ec690370dfa0ec06716e3c4e454736c58bef584dff13cdb784 +SIZE (glfw-3.0.4.tar.gz) = 592216 Modified: head/graphics/glfw/pkg-descr ============================================================================== --- head/graphics/glfw/pkg-descr Tue Jan 28 20:16:01 2014 (r341652) +++ head/graphics/glfw/pkg-descr Tue Jan 28 20:31:49 2014 (r341653) @@ -1,6 +1,10 @@ -GLFW is a free, Open Source, multi-platform library for OpenGL application -development that provides a powerful API for handling operating system specific -tasks such as opening an OpenGL window, reading keyboard, mouse, joystick and -time input, creating threads, and more. +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/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glfw/pkg-plist Tue Jan 28 20:31:49 2014 (r341653) @@ -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-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/glfw/glfwTargets.cmake +lib/libglfw3.a +libdata/pkgconfig/glfw3.pc +@dirrm lib/cmake/glfw +@dirrmtry lib/cmake +@dirrm include/GLFW