Ravenports generated: 14 Jun 2017 23:25
[ravenports.git] / bucket_A9 / perl-OpenGL
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               perl-OpenGL
4 VERSION=                0.70
5 KEYWORDS=               perl
6 VARIANTS=               524 522
7 SDESC[522]=             Perl bindings to the OpenGL API, GLU, and G (v522)
8 SDESC[524]=             Perl bindings to the OpenGL API, GLU, and G (v524)
9 HOMEPAGE=               none
10 CONTACT=                Perl_Automaton[perl@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            CPAN/ID:C/CH/CHM
14 DISTFILE[1]=            OpenGL-0.70.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[522]=             single
17 SPKGS[524]=             single
18
19 OPTIONS_AVAILABLE=      PERL_524 PERL_522
20 OPTIONS_STANDARD=       none
21 VOPTS[522]=             PERL_524=OFF PERL_522=ON
22 VOPTS[524]=             PERL_524=ON PERL_522=OFF
23
24 BUILDRUN_DEPENDS=       freeglut:primary:standard
25
26 XORG_COMPONENTS=        x11 xext xmu xi ice
27
28 DISTNAME=               OpenGL-0.70
29
30 GENERATED=              yes
31
32 CONFIGURE_ARGS=         interface=FREEGLUT
33                         verbose
34
35 SINGLE_JOB=             yes
36
37 [PERL_522].USES_ON=                     perl:522,configure
38
39 [PERL_524].USES_ON=                     perl:524,configure
40
41 post-patch:
42         @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
43         @${REINPLACE_CMD} -e 's|LDFLAGS=|LDFLAGS=-L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib |' \
44                 ${WRKSRC}/utils/Makefile
45
46 [FILE:56:descriptions/desc.single]
47 Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT
48
49
50 [FILE:97:distinfo]
51 b20e2af4404b4901ab35bba6ad5e3a8aa60bff72413c99288f01018c4cf874e0       783810 OpenGL-0.70.tar.gz
52
53
54 [FILE:372:patches/patch-gl_util.c]
55 --- gl_util.c.orig      2011-07-07 08:39:22.000000000 -0500
56 +++ gl_util.c   2011-10-12 22:09:31.520959086 -0500
57 @@ -756,6 +756,12 @@ int gl_component_count(GLenum format, GL
58  
59  /* 18 */
60  #ifdef GL_EXT_cmyka
61 +# ifndef GL_CMYK
62 +#  define GL_CMYK GL_CMYK_EXT
63 +# endif
64 +# ifndef GL_CMYKA
65 +#  define GL_CMYKA GL_CMYKA_EXT
66 +# endif
67                 case GL_CMYK:
68                         n = 4; break;
69                 case GL_CMYKA:
70