ports/170151: graphics/glfw: Update to version 2.7.6
KATO Tsuguru
tkato432 at yahoo.com
Wed Jul 25 18:10:14 UTC 2012
>Number: 170151
>Category: ports
>Synopsis: graphics/glfw: Update to version 2.7.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 25 18:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p9 i386
>Organization:
>Environment:
>Description:
- Update to version 2.7.6
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/glfw/Makefile graphics/glfw/Makefile
--- /usr/ports/graphics/glfw/Makefile 2012-05-23 11:01:18.000000000 +0900
+++ graphics/glfw/Makefile 2012-07-04 13:45:43.000000000 +0900
@@ -6,13 +6,15 @@
#
PORTNAME= glfw
-PORTVERSION= 2.7.5
+PORTVERSION= 2.7.6
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports at FreeBSD.org
COMMENT= A portable framework for OpenGL development
+OPTIONS_DEFINE= DOCS EXAMPLES
+
USE_BZIP2= yes
USE_XORG= x11 xext xrandr
USE_GL= glu
@@ -23,6 +25,8 @@
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
+.include <bsd.port.options.mk>
+
post-extract:
@${CHMOD} ${BINMODE} ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@@ -38,11 +42,11 @@
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}
diff -urN /usr/ports/graphics/glfw/distinfo graphics/glfw/distinfo
--- /usr/ports/graphics/glfw/distinfo 2012-05-23 11:01:18.000000000 +0900
+++ graphics/glfw/distinfo 2012-07-04 13:43:51.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list