# $Id$ PortSystem 1.0 name 54321 version 1.0.2001.11.16 categories games platforms macosx maintainers nomaintainer 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/ master_sites ${homepage}${version}/ dist_subdir ${name}/${version} distname ${name} extract.suffix .tgz depends_build port:libiconv \ port:zlib depends_lib port:libsdl \ port:libsdl_image \ port:libpng checksums md5 20b2ad52ef45742c1a65911b225b6ddc \ sha1 9841276d6e1f00de4de22cc11d19e1f08a9a01cb \ rmd160 63381c6f9cbc2d785ebf76dddc54b178cd704078 post-patch { reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU } use_configure no build.type gnu build.env CC=g++ destroot { xinstall -d ${destroot}${applications_dir} copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${destroot}${applications_dir} } variant universal { post-patch { reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU } }