# $Id: Portfile,v 1.1 2004/02/11 01:23:08 toby Exp $

PortSystem 1.0
name             54321
version          1.0.2001.11.16
categories       games
maintainers      toby@opendarwin.org
description      5 games in 4, 3, or 2 dimensions for 1 player
long_description \
    54321 is five games in four-, three-, or two-dimensions for \
    one player. 54321 takes five classic two-dimensional puzzle \
    games and extends them into three and four dimensions. \
    For more information, see the help within the game.
homepage         http://www.nklein.com/products/54321/
platforms        darwin
depends_lib      lib:libSDL-1:libsdl lib:libSDL_image-1:libsdl_image \
                 lib:libpng.3:libpng lib:libz.1:zlib
master_sites     ${homepage}${version}/
distname         ${name}
extract.suffix   .tgz
checksums        md5 20b2ad52ef45742c1a65911b225b6ddc
worksrcdir       ${name}
patchfiles       patch-variables.GNU

configure        {}

build.type       gnu
build.target     all size
build.env        CXX=g++

destroot {
    system "ditto -v -rsrcFork Release \
        ${destroot}/Applications/DarwinPorts/54321"
}
