aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-18 09:52:49 +0800
committerjhale <jhale@FreeBSD.org>2012-10-18 09:52:49 +0800
commit0e682b37d5db4df4d02e62e67c6dc9d1dc04a254 (patch)
treed401f1f3cafbb06b8565a5b54368edaf538a1f65 /graphics
parent5d71a463d6f8253a7c0e47bef829ec59bf6c905e (diff)
downloadfreebsd-ports-gnome-0e682b37d5db4df4d02e62e67c6dc9d1dc04a254.tar.gz
freebsd-ports-gnome-0e682b37d5db4df4d02e62e67c6dc9d1dc04a254.tar.zst
freebsd-ports-gnome-0e682b37d5db4df4d02e62e67c6dc9d1dc04a254.zip
- 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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glfw/Makefile16
-rw-r--r--graphics/glfw/distinfo4
2 files changed, 9 insertions, 11 deletions
diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 4a5dd5d5e828..92c8515be613 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -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}
diff --git a/graphics/glfw/distinfo b/graphics/glfw/distinfo
index a4965a7c3cdc..3e14683b8a35 100644
--- a/graphics/glfw/distinfo
+++ b/graphics/glfw/distinfo
@@ -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