diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-12-05 11:24:27 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-12-05 11:24:27 +0800 |
commit | 68601b8976921a0aef1d6399163771f74315a5d7 (patch) | |
tree | 01dead41542a91236a09dd6c607ee95df46cdfe6 /graphics/p5-OpenGL | |
parent | 5be24b64546e8b6caa131a68023c98cb755ec82d (diff) | |
download | freebsd-ports-gnome-68601b8976921a0aef1d6399163771f74315a5d7.tar.gz freebsd-ports-gnome-68601b8976921a0aef1d6399163771f74315a5d7.tar.zst freebsd-ports-gnome-68601b8976921a0aef1d6399163771f74315a5d7.zip |
- Update to 0.66
- While I'm here, add missing trailing slash to WWW
Changes: http://search.cpan.org/dist/OpenGL/Release_Notes
PR: ports/161534
Submitted by: Zhihao Yuan <lichray@gmail.com>
Feature safe: yes
Diffstat (limited to 'graphics/p5-OpenGL')
-rw-r--r-- | graphics/p5-OpenGL/Makefile | 15 | ||||
-rw-r--r-- | graphics/p5-OpenGL/distinfo | 4 | ||||
-rw-r--r-- | graphics/p5-OpenGL/files/patch-Makefile.PL | 23 | ||||
-rw-r--r-- | graphics/p5-OpenGL/files/patch-gl_util.c | 15 | ||||
-rw-r--r-- | graphics/p5-OpenGL/pkg-descr | 2 | ||||
-rw-r--r-- | graphics/p5-OpenGL/pkg-plist | 9 |
6 files changed, 23 insertions, 45 deletions
diff --git a/graphics/p5-OpenGL/Makefile b/graphics/p5-OpenGL/Makefile index 6f198a6f2262..474db3d9056b 100644 --- a/graphics/p5-OpenGL/Makefile +++ b/graphics/p5-OpenGL/Makefile @@ -7,20 +7,25 @@ # PORTNAME= OpenGL -PORTVERSION= 0.54 -PORTREVISION= 2 +PORTVERSION= 0.66 CATEGORIES= graphics perl5 MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:ILYAZ/modules +MASTER_SITE_SUBDIR= CPAN:CHM PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module to display 3D data using OpenGL, GLU, GLUT, and GLX -USE_GL= glut +CONFIGURE_ARGS= interface=GLUT PERL_CONFIGURE= yes +USE_DISPLAY= yes +USE_GL= glut + +MAN3= Array.3 \ + OpenGL.3 \ + Tessellation.3 post-patch: - @${PERL} -pi -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g; s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL .include <bsd.port.mk> diff --git a/graphics/p5-OpenGL/distinfo b/graphics/p5-OpenGL/distinfo index f68c6f21afd9..3c0769d53981 100644 --- a/graphics/p5-OpenGL/distinfo +++ b/graphics/p5-OpenGL/distinfo @@ -1,2 +1,2 @@ -SHA256 (OpenGL-0.54.tar.gz) = 7a7969c77518b95f8c58c8f1dfe91dc550306a8beeb21586c3beffb23a850758 -SIZE (OpenGL-0.54.tar.gz) = 158462 +SHA256 (OpenGL-0.66.tar.gz) = 8837bf244d41e415e9ef05bece8fb60861293389d96a4115f0a64929650627df +SIZE (OpenGL-0.66.tar.gz) = 611606 diff --git a/graphics/p5-OpenGL/files/patch-Makefile.PL b/graphics/p5-OpenGL/files/patch-Makefile.PL deleted file mode 100644 index aed25dcb208a..000000000000 --- a/graphics/p5-OpenGL/files/patch-Makefile.PL +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.PL.orig Wed Jun 20 08:39:13 2001 -+++ Makefile.PL Tue Dec 14 18:36:26 2004 -@@ -17,7 +17,7 @@ - - $pm_lib = (grep /^X11$/, @ARGV) ? '' : '-lopengl'; - --$libs = "-lGLU -lGLUT -lGLX $pm_lib -lMesaGLU -lMesaGLUT -lMesaGLX -lglut"; -+$libs = "-lglut %%PTHREAD_LIBS%%"; - - @libs = findlib->ext("$libdirs $libs"); - -@@ -75,6 +75,11 @@ - - $DEFS .= ' -DOS2_GL_DISABLE_MISSING_EXT -DAPIENTRY= -D__PM__' - if $^O eq 'os2' and not $x; -+ -+# Check for GL extensions header (glext.h) -+$glextout = `echo '\#include <GL/glext.h>' | $Config{cpprun} $includes $Config{cppflags} $Config{cppminus} >/dev/null 2>&1`; -+$no_glext = $?; -+$DEFS .= " -DHAVE_GLEXT_H" unless $no_glext; - - # Should be deduced automatically, but how?! - $no_lgcc = (grep /^NO_LGCC$/, @ARGV); diff --git a/graphics/p5-OpenGL/files/patch-gl_util.c b/graphics/p5-OpenGL/files/patch-gl_util.c index fc3002d1f98d..e7224d17dbd3 100644 --- a/graphics/p5-OpenGL/files/patch-gl_util.c +++ b/graphics/p5-OpenGL/files/patch-gl_util.c @@ -1,15 +1,6 @@ ---- gl_util.c.orig Wed Jun 20 09:03:02 2001 -+++ gl_util.c Tue Dec 14 18:41:08 2004 -@@ -1,5 +1,8 @@ - - #include "gl_util.h" -+#if defined(HAVE_GLEXT_H) && !defined(GL_BLEND_EQUATION_EXT) -+#include <GL/glext.h> -+#endif - - int gl_texparameter_count(GLenum pname) - { -@@ -708,6 +711,12 @@ +--- gl_util.c.orig 2011-07-07 08:39:22.000000000 -0500 ++++ gl_util.c 2011-10-12 22:09:31.520959086 -0500 +@@ -756,6 +756,12 @@ int gl_component_count(GLenum format, GL /* 18 */ #ifdef GL_EXT_cmyka diff --git a/graphics/p5-OpenGL/pkg-descr b/graphics/p5-OpenGL/pkg-descr index 2202ca599121..93b3fa835089 100644 --- a/graphics/p5-OpenGL/pkg-descr +++ b/graphics/p5-OpenGL/pkg-descr @@ -3,4 +3,4 @@ Some amount of GLU is supported (I'm not quite sure what version it works out to), and GLUT should be completely supported up to API version 3. A small portion of GLX and X11 is supported, as an alternative to GLUT. -WWW: http://search.cpan.org/dist/OpenGL +WWW: http://search.cpan.org/dist/OpenGL/ diff --git a/graphics/p5-OpenGL/pkg-plist b/graphics/p5-OpenGL/pkg-plist index 330b9eaac86a..0c0396f5dcc6 100644 --- a/graphics/p5-OpenGL/pkg-plist +++ b/graphics/p5-OpenGL/pkg-plist @@ -1,6 +1,11 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL.pm +%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL.pod +%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL/Array.pod +%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL/Config.pm +%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL/Tessellation.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/OpenGL.bs %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/OpenGL.so %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/autosplit.ix -%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL.pm @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/OpenGL |