From owner-svn-ports-all@FreeBSD.ORG Mon Dec 17 17:35:35 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68F2AD34; Mon, 17 Dec 2012 17:35:35 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 42FD78FC0A; Mon, 17 Dec 2012 17:35:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBHHZZgt033126; Mon, 17 Dec 2012 17:35:35 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBHHZYZD033123; Mon, 17 Dec 2012 17:35:34 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201212171735.qBHHZYZD033123@svn.freebsd.org> From: Pawel Pekala Date: Mon, 17 Dec 2012 17:35:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309114 - head/graphics/glfw X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 17:35:35 -0000 Author: pawel Date: Mon Dec 17 17:35:34 2012 New Revision: 309114 URL: http://svnweb.freebsd.org/changeset/ports/309114 Log: - Update to 2.7.7, add LICENSE - Remove pkg-plist, switch to PLIST_FILES, PORTDOCS, PORTEXAMPLES - Give maintainership to submitter While I'm here: - Add missing deps - Sort USE_ flags PR: ports/173571 Submitted by: nemysis Deleted: head/graphics/glfw/pkg-plist Modified: head/graphics/glfw/Makefile head/graphics/glfw/distinfo head/graphics/glfw/pkg-descr Modified: head/graphics/glfw/Makefile ============================================================================== --- head/graphics/glfw/Makefile Mon Dec 17 17:10:40 2012 (r309113) +++ head/graphics/glfw/Makefile Mon Dec 17 17:35:34 2012 (r309114) @@ -2,23 +2,38 @@ # $FreeBSD$ PORTNAME= glfw -PORTVERSION= 2.7.6 +PORTVERSION= 2.7.7 CATEGORIES= graphics MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= Portable framework for OpenGL development +LICENSE= ZLIB + +LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ + drm:${PORTSDIR}/graphics/libdrm \ + xcb:${PORTSDIR}/x11/libxcb + USE_BZIP2= yes -USE_XORG= x11 xext xrandr -USE_GL= glu HAS_CONFIGURE= yes CONFIGURE_SCRIPT= compile.sh ALL_TARGET= x11 INSTALL_TARGET= x11-install +USE_XORG= x11 xau xdamage xdmcp xext xfixes xrandr xrender xxf86vm +USE_GL= glu 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 + +PORTDOCS= *.pdf +PORTEXAMPLES= Makefile.x11.in *.c *.tga + .include post-extract: @@ -29,22 +44,24 @@ post-patch: 's|/usr/X11R6|${LOCALBASE}| ; \ /SOFLAGS/s|-soname |-Wl,-soname,| ; \ /CFLAGS_THREAD/s|"-pthread"|"${PTHREAD_CFLAGS}"| ; \ - /LFLAGS_THREAD/s|"-pthread"|"${PTHREAD_LIBS}"|' ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + /LFLAGS_THREAD/s|"-pthread"|"${PTHREAD_LIBS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e \ 's|lib/pkgconfig|libdata/pkgconfig|g' ${WRKSRC}/lib/x11/Makefile.x11.in post-install: ${INSTALL_DATA} ${WRKSRC}/lib/x11/libglfw.so ${PREFIX}/lib/libglfw.so.0 ${LN} -sf ${PREFIX}/lib/libglfw.so.0 ${PREFIX}/lib/libglfw.so + .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${DOCSDIR} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} .endif + .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/Makefile.x11 ${EXAMPLESDIR}/makefile - ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.tga ${EXAMPLESDIR} + ${MKDIR} ${EXAMPLESDIR} +.for e in ${PORTEXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/${e} ${EXAMPLESDIR} +.endfor .endif .include Modified: head/graphics/glfw/distinfo ============================================================================== --- head/graphics/glfw/distinfo Mon Dec 17 17:10:40 2012 (r309113) +++ head/graphics/glfw/distinfo Mon Dec 17 17:35:34 2012 (r309114) @@ -1,2 +1,2 @@ -SHA256 (glfw-2.7.6.tar.bz2) = d4e9a74be4c20ff03470c6aa5dad6877e65e4e1aa6b31039a4579b281e89a333 -SIZE (glfw-2.7.6.tar.bz2) = 907927 +SHA256 (glfw-2.7.7.tar.bz2) = 422e755979524a1da28e4addcae723b7132998ca15e89be41bf34964d9360aa2 +SIZE (glfw-2.7.7.tar.bz2) = 927805 Modified: head/graphics/glfw/pkg-descr ============================================================================== --- head/graphics/glfw/pkg-descr Mon Dec 17 17:10:40 2012 (r309113) +++ head/graphics/glfw/pkg-descr Mon Dec 17 17:35:34 2012 (r309114) @@ -1,6 +1,6 @@ -GLFW is a free, open source, portable framework for OpenGL application -development. In short, it is a library that constitutes a powerful API -for handling operating system specific tasks, such as opening an OpenGL -window, reading keyboard and mouse input, creating threads, and much more. +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. WWW: http://www.glfw.org/