source: trunk/dports/games/2Pong/Portfile @ 12065

Last change on this file since 12065 was 8000, checked in by jkh, 15 years ago

This port also depends on libSDL_image.

  • Property svn:eol-style set to native
File size: 820 bytes
Line 
1# $Id: Portfile,v 1.2 2004/08/18 04:02:11 jkh Exp $
2
3PortSystem 1.0
4
5name            2Pong
6version         0.6
7categories      games
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     Pong game with 2 balls, 2 and 4 player support
11long_description        ${description}
12
13homepage        http://twopong.sourceforge.net/
14master_sites    sourceforge:twopong
15checksums       md5 55d54deb30f079d4b2684b7f7c8ab57f
16use_bzip2       yes
17
18depends_lib     bin:sdl-config:libsdl \
19                lib:libSDL_image:libsdl_image \
20                lib:libSDL_mixer:libsdl_mixer
21
22use_configure   no
23
24build.args      CFLAGS="-I${prefix}/include -I${prefix}/include/SDL"
25
26destroot.destdir        PRE=${destroot}${prefix}
27
28post-destroot   {
29        xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/2Pong.app/Contents/MacOS
30        system "ln -s ${prefix}/bin/2Pong ${destroot}/Applications/DarwinPorts/2Pong.app/Contents/MacOS/2Pong"
31}
Note: See TracBrowser for help on using the repository browser.