From 1cfc33eb0b4da8b00853f3b7942e0aac48603cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20W=2E=20Wei=C3=9Fmann?= Date: Tue, 6 Jan 2004 21:00:12 +0000 Subject: [PATCH] new port games/freedroidclassic git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4491 d073be05-634f-4543-b044-5fe20cf6d1d6 --- games/freedroidclassic/Portfile | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 games/freedroidclassic/Portfile diff --git a/games/freedroidclassic/Portfile b/games/freedroidclassic/Portfile new file mode 100644 index 0000000000000..b67d5d375ca1f --- /dev/null +++ b/games/freedroidclassic/Portfile @@ -0,0 +1,56 @@ +# $Id: Portfile,v 1.1 2004/01/06 21:00:12 mww Exp $ + +PortSystem 1.0 + +name freedroidclassic +version 1.0.2 +categories games +platforms darwin +maintainers mww@opendarwin.org +description Freedoid Classic is a Paradroid clone. +long_description Freedroid is a clone of the classic game Paradroid on \ + Commodore 64 with some improvements and extensions to \ + the classic version. In this game, you control a \ + robot, depicted by a small white ball with a few \ + numbers within an interstellar spaceship consisting of \ + several decks connected by elevators. The aim of the \ + game is to destroy all enemy robots, depicted by small \ + black balls with a few numbers, by either shooting \ + them or seizing control over them by creating \ + connections in a short subgame of electric circuits. + +homepage http://freedroid.sourceforge.net/ +master_sites sourceforge:freedroid +distname freedroid-${version} +checksums md5 585a65f61c2cd308ab45d5c514f695dc + +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_image:libsdl_image \ + lib:libSDL_mixer:libsdl_mixer + +configure.args --mandir=${prefix}/share/man +configure.env CFLAGS=-I${prefix}/include \ + LDFLAGS=-L${prefix}/lib + +post-destroot { + set dir ${destroot}${prefix}/share/freedroid + file delete -force ${dir}/mac-osx \ + ${dir}/graphics/classic_theme/Makefile \ + ${dir}/graphics/classic_theme/Makefile.am \ + ${dir}/graphics/classic_theme/Makefile.in \ + ${dir}/graphics/lanzz_theme/Makefile \ + ${dir}/graphics/lanzz_theme/Makefile.am \ + ${dir}/graphics/lanzz_theme/Makefile.in \ + ${dir}/graphics/Makefile ${dir}/graphics/Makefile.am \ + ${dir}/graphics/Makefile.in ${dir}/map/Makefile \ + ${dir}/map/Makefile.am ${dir}/map/Makefile.in \ + ${dir}/sound/Makefile ${dir}/sound/Makefile.am \ + ${dir}/sound/Makefile.in +} + +variant darwin { + pre-destroot { + file mkdir ${destroot}/Applications/DarwinPorts/Freedroid\ Classic.app/Contents/MacOS + system "ln -s ${prefix}/bin/freedroid ${destroot}/Applications/DarwinPorts/Freedroid\\ Classic.app/Contents/MacOS/Freedroid\\ Classic" + } +}