Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6609/unstable/main/finkinfo/games
Added Files: hedgewars-mac.info hedgewars-mac.patch Log Message: new package, from mischi --- NEW FILE: hedgewars-mac.patch --- *** hedgewars-src-0.9.9/hedgewars/SDLh.pas 2009-01-19 22:16:09.000000000 +0100 --- hedgewars-src-0.9.9/hedgewars/SDLh.pas 2009-03-15 19:42:59.000000000 +0100 *************** *** 27,38 **** {$ENDIF} {$IFDEF UNIX} ! {$IFDEF DARWIN} ! {$linklib gcc} ! {$ELSE} {$linklib c} {$ENDIF} - {$linklib pthread} {$ENDIF} {$PACKRECORDS C} --- 27,36 ---- {$ENDIF} {$IFDEF UNIX} ! {$linklib pthread} ! {$IFNDEF DARWIN} {$linklib c} {$ENDIF} {$ENDIF} {$PACKRECORDS C} *************** *** 48,53 **** --- 46,52 ---- {$linklib SDLmain} {$linkframework Cocoa} {$PASCALMAINNAME SDL_main} + {$linklib gcc} {$ELSE} SDLLibName = 'libSDL.so'; {$ENDIF} --- hedgewars-src-0.9.9 1970-01-01 01:00:00.000000000 +0100 +++ hedgewars-src-0.9.9/Info.plist 2009-03-15 02:16:50.000000000 +0100 @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleDisplayName</key> + <string>HedgeWars</string> + <key>CFBundleExecutable</key> + <string>hedgewars</string> + <key>CFBundleGetInfoString</key> + <string>HedgeWars, a Worms clone</string> + <key>CFBundleIconFile</key> + <string>Icon.icns</string> + <key>CFBundleIdentifier</key> + <string>org.hedgewars.hedgewars</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>hedgewars</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>0.9.9</string> + <key>CFBundleSignature</key> + <string>HEDG</string> + <key>CFBundleVersion</key> + <string>0.9.9</string> + <key>LSExecutableArchitectures</key> + <string>i386</string> + <key>NSAppleScriptEnabled</key> + <false/> + <key>NSHumanReadableCopyright</key> + <string>GPL</string> + <key>NSMainNibFile</key> + <string>SDLMain</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> +</dict> +</plist> --- NEW FILE: hedgewars-mac.info --- Package: hedgewars-mac Version: 0.9.9 Revision: 2 BuildDepends: << fink (>= 0.24.12-1), cmake (>= 2.4.4-1), fpc (>= 2.2.2-1), fpc-config, libpng3, qt4-mac (>=4.4-1), sdl (>= 1.2.5-1), sdl-net (>= 1.2.5-1), sdl-mixer (>= 1.2-1), sdl-image (>= 1.2-1), sdl-ttf (>= 2.0-1) << Depends: << libpng3-shlibs, qt4-mac-core-shlibs (>=4.4-1), qt4-mac-gui-shlibs (>=4.4-1), sdl-shlibs (>= 1.2.5-1), sdl-net-shlibs (>= 1.2.5-1), sdl-mixer-shlibs (>= 1.2-1), sdl-image-shlibs (>= 1.2-1), sdl-ttf-shlibs (>= 2.0-1) << Source: http://download.gna.org/hedgewars/hedgewars-src-%v.tar.bz2 Source-MD5: 5f76525345ead28ee1d04c1ae258395e PatchFile: %n.patch PatchFile-MD5: 6a160588842afaf409d6ada9e6b5c56c CompileScript: << # using %p instead of %i lets the application find the engine binary and the DATA folder. # However, it screws up installing with "make install" # So, the InstallScript further down had to install everything "manually". cmake -DQT_QMAKE_EXECUTABLE="%p/lib/qt4-mac/bin/qmake" -DCMAKE_INSTALL_PREFIX="%p" -DDATA_INSTALL_DIR="%p/share/" make # Build the applications bundle mkdir -p Hedgewars.app/Contents/MacOS ln -sf %p/bin/hedgewars Hedgewars.app/Contents/MacOS/hedgewars mv Info.plist Hedgewars.app/Contents/ /usr/bin/printf 'APPLHEDG' > Hedgewars.app/Contents/PkgInfo # The icon is not in the sources, yet, but should be in the next version. # mkdir -p Hedgewars.app/Contents/Resources/ # cp misc/Icon.icns Hedgewars.app/Contents/Resources/Icon.icns << InstallScript: << install -d %i/bin/ install -c bin/hedgewars %i/bin/ install -c bin/hwengine %i/bin/ install -d %i/share/man/man6 install -c man/hedgewars.6 %i/share/man/man6/ install -d %i/share/hedgewars/ # this is not nice in so far as all stuff like Makefiles is moved, too mv share/hedgewars/Data %i/share/hedgewars/ << AppBundles: HedgeWars.app DocFiles: COPYING INSTALL README Description: Worms type game DescDetail: << Hedgewars is a worms like round based strategy game. The game can be played locally or on the net. Please, see the web site http://www.hedgewars.org/ for further FAQ and wiki pages. << DescPort: Nothing special. DescPackaging: Versions of the dependencies have been taken over from the INSTALL file. License: GPL Homepage: http://www.hedgewars.org Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de> ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs