aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2011-05-10 03:32:30 +0800
committermva <mva@FreeBSD.org>2011-05-10 03:32:30 +0800
commitdfa617c055f2d3d9ca4f9230cdbc29c93333f87e (patch)
tree6568115026b36ac67cd07f2157d5a151ea352518 /graphics
parent2149827dfc9a856137227b3f49a48348d788a833 (diff)
downloadfreebsd-ports-gnome-dfa617c055f2d3d9ca4f9230cdbc29c93333f87e.tar.gz
freebsd-ports-gnome-dfa617c055f2d3d9ca4f9230cdbc29c93333f87e.tar.zst
freebsd-ports-gnome-dfa617c055f2d3d9ca4f9230cdbc29c93333f87e.zip
- Update to 1.6.0
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glew/Makefile6
-rw-r--r--graphics/glew/distinfo4
-rw-r--r--graphics/glew/files/patch-config_Makefile.freebsd32
-rw-r--r--graphics/glew/pkg-plist3
4 files changed, 28 insertions, 17 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile
index f1a562e3eeea..be587025aba7 100644
--- a/graphics/glew/Makefile
+++ b/graphics/glew/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= glew
-PORTVERSION= 1.5.8
+PORTVERSION= 1.6.0
CATEGORIES= graphics
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@@ -25,8 +25,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEW.so.${PORTVERSION} \
${PREFIX}/lib/libGLEW.so.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEWmx.so.${PORTVERSION} \
+ ${PREFIX}/lib/libGLEWmx.so.1
${LN} -sf ${PREFIX}/lib/libGLEW.so.1 ${PREFIX}/lib/libGLEW.so
+ ${LN} -sf ${PREFIX}/lib/libGLEWmx.so.1 ${PREFIX}/lib/libGLEWmx.so
${INSTALL_DATA} ${WRKSRC}/lib/libGLEW.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/libGLEWmx.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${PREFIX}/include/GL
${INSTALL_DATA} ${WRKSRC}/glew.pc ${PREFIX}/libdata/pkgconfig
diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo
index 1c254a9ecbdd..35c0c7320e86 100644
--- a/graphics/glew/distinfo
+++ b/graphics/glew/distinfo
@@ -1,2 +1,2 @@
-SHA256 (glew-1.5.8.tgz) = 33fdccbbd16fff6f9672e813d020e731b3afaa4e864f68dd2c8c08f236ef4584
-SIZE (glew-1.5.8.tgz) = 487073
+SHA256 (glew-1.6.0.tgz) = bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa
+SIZE (glew-1.6.0.tgz) = 494713
diff --git a/graphics/glew/files/patch-config_Makefile.freebsd b/graphics/glew/files/patch-config_Makefile.freebsd
index 263f718789c1..8258f2300278 100644
--- a/graphics/glew/files/patch-config_Makefile.freebsd
+++ b/graphics/glew/files/patch-config_Makefile.freebsd
@@ -1,16 +1,12 @@
---- config/Makefile.freebsd.orig 2008-11-03 07:25:19.000000000 +0100
-+++ config/Makefile.freebsd 2009-05-04 22:03:30.000000000 +0200
-@@ -1,20 +1,20 @@
+--- config/Makefile.freebsd.orig 2011-04-27 18:16:34.000000000 +0200
++++ config/Makefile.freebsd 2011-05-09 19:43:51.000000000 +0200
+@@ -1,22 +1,22 @@
NAME = $(GLEW_NAME)
-CC = cc
-LD = ld
+-LDFLAGS.EXTRA = -L/usr/X11R6/lib
+CC ?= cc
+LD ?= ld
- ifneq (undefined, $(origin GLEW_MX))
- CFLAGS.EXTRA = -DGLEW_MX
- endif
- LDFLAGS.SO = -shared -soname $(LIB.SONAME)
--LDFLAGS.EXTRA = -L/usr/X11R6/lib
+LDFLAGS.EXTRA = -L${LOCALBASE}/lib
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
@@ -21,9 +17,17 @@
WARN = -Wall -W
POPT = -O2
BIN.SUFFIX =
--LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
-+LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR)
- LIB.DEVLNK = lib$(NAME).so
--LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
-+LIB.SHARED = lib$(NAME).so.$(GLEW_VERSION)
- LIB.STATIC = lib$(NAME).a
+-LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
++LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR)
+ LIB.DEVLNK = lib$(NAME).so
+-LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
++LIB.SHARED = lib$(NAME).so.$(GLEW_VERSION)
+ LIB.STATIC = lib$(NAME).a
+ LDFLAGS.SO = -shared -soname $(LIB.SONAME)
+-LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
++LIB.SONAME.MX = lib$(NAME)mx.so.$(GLEW_MAJOR)
+ LIB.DEVLNK.MX = lib$(NAME)mx.so
+-LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
++LIB.SHARED.MX = lib$(NAME)mx.so.$(GLEW_VERSION)
+ LIB.STATIC.MX = lib$(NAME)mx.a
+ LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX)
diff --git a/graphics/glew/pkg-plist b/graphics/glew/pkg-plist
index ea6b375fa8f2..322fe7bc5a23 100644
--- a/graphics/glew/pkg-plist
+++ b/graphics/glew/pkg-plist
@@ -4,7 +4,10 @@ include/GL/glew.h
include/GL/glxew.h
include/GL/wglew.h
lib/libGLEW.a
+lib/libGLEWmx.a
+lib/libGLEWmx.so
lib/libGLEW.so
+lib/libGLEWmx.so.1
lib/libGLEW.so.1
libdata/pkgconfig/glew.pc
%%PORTDOCS%%%%DOCSDIR%%/advanced.html