source: trunk/dports/games/glpong/Portfile

Last change on this file was 114119, checked in by jmr@…, 4 years ago

libsdl dependents: use port: depspec - there's now only one port that provides sdl.pc, and most of these never worked with libsdl-devel in the first place

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 114119 2013-11-29 22:31:11Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            glpong
6version         1.3
7categories      games
8license         GPL-2+
9platforms       darwin
10maintainers     nomaintainer
11description     Implementation of pong using OpenGL, playable vs. AI.
12long_description        Implementation of pong using OpenGL, SDL, SDL_image, \
13                        and SDL_mixer. Only mode of play is you against an AI.
14
15homepage        http://math.missouristate.edu/~erik/software.php?id=72
16master_sites    http://math.missouristate.edu/~erik/files/
17checksums       md5 7e6f5a0e048623f3425d2e309ba86453 \
18                sha1 e391d12a50f2d82e581b9f85de33b308a3a3152d \
19                rmd160 a0077de5855b8a66f90fbf10c10275546b922772
20
21depends_lib     port:libsdl \
22                port:libsdl_image \
23                port:libsdl_mixer
24
25patchfiles      src_image.c.patch
26
27configure.args  --disable-sdltest
28
29post-configure  {
30        reinplace "s|-lGLU||g" ${worksrcpath}/src/Makefile
31        reinplace "s|-lGL||g" ${worksrcpath}/src/Makefile
32}
33
34platform darwin 9 {
35        # http://developer.apple.com/qa/qa2007/qa1567.html
36        configure.ldflags-append -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
37}
Note: See TracBrowser for help on using the repository browser.