Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2012 01:52:49 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306049 - head/graphics/glfw
Message-ID:  <201210180152.q9I1qnBC014398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Thu Oct 18 01:52:49 2012
New Revision: 306049
URL: http://svn.freebsd.org/changeset/ports/306049

Log:
  - Update to 2.7.6
  - Convert to new options framework
  
  While here:
  - Remove indefinite article from COMMENT
  - Trim Makefile header
  
  PR:		ports/170151
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Approved by:	makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/graphics/glfw/Makefile   (contents, props changed)
  head/graphics/glfw/distinfo   (contents, props changed)

Modified: head/graphics/glfw/Makefile
==============================================================================
--- head/graphics/glfw/Makefile	Thu Oct 18 01:48:48 2012	(r306048)
+++ head/graphics/glfw/Makefile	Thu Oct 18 01:52:49 2012	(r306049)
@@ -1,17 +1,13 @@
-# New ports collection makefile for: glfw
-# Date created:		24 Jan 2004
-# Whom:			Igor Pokrovsky <tiamat@comset.net>
-#
+# Created by: Igor Pokrovsky <tiamat@comset.net>
 # $FreeBSD$
-#
 
 PORTNAME=	glfw
-PORTVERSION=	2.7.5
+PORTVERSION=	2.7.6
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A portable framework for OpenGL development
+COMMENT=	Portable framework for OpenGL development
 
 USE_BZIP2=	yes
 USE_XORG=	x11 xext xrandr
@@ -23,6 +19,8 @@ INSTALL_TARGET=	x11-install
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=yes
 
+.include <bsd.port.options.mk>
+
 post-extract:
 	@${CHMOD} ${BINMODE} ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
 
@@ -38,11 +36,11 @@ post-patch:
 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 !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${DOCSDIR}
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/Makefile.x11 ${EXAMPLESDIR}/makefile
 	${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR}

Modified: head/graphics/glfw/distinfo
==============================================================================
--- head/graphics/glfw/distinfo	Thu Oct 18 01:48:48 2012	(r306048)
+++ head/graphics/glfw/distinfo	Thu Oct 18 01:52:49 2012	(r306049)
@@ -1,2 +1,2 @@
-SHA256 (glfw-2.7.5.tar.bz2) = 095bca7d0305309d7de09549cf264e7335a154e99f2994d4f4177231afdad702
-SIZE (glfw-2.7.5.tar.bz2) = 923801
+SHA256 (glfw-2.7.6.tar.bz2) = d4e9a74be4c20ff03470c6aa5dad6877e65e4e1aa6b31039a4579b281e89a333
+SIZE (glfw-2.7.6.tar.bz2) = 907927



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