source: trunk/dports/games/54321/Portfile @ 84132

Last change on this file since 84132 was 84132, checked in by ryandesign@…, 6 years ago

54321: update homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 84132 2011-09-19 10:48:36Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    54321
6version                 1.0.2001.11.16
7revision                1
8categories              games
9platforms               macosx
10maintainers             nomaintainer
11
12description             5 games in 4, 3, or 2 dimensions for 1 player
13long_description        54321 is five games in four, three, or two \
14                        dimensions for one player. 54321 takes five classic \
15                        two-dimensional puzzle games and extends them into \
16                        three and four dimensions. For more information, \
17                        see the help within the game.
18
19homepage                http://old.nklein.com/products/54321/
20master_sites            ${homepage}${version}/
21dist_subdir             ${name}/${version}
22distname                ${name}
23extract.suffix          .tgz
24
25depends_build           port:libiconv \
26                        port:zlib
27
28depends_lib             path:lib/pkgconfig/sdl.pc:libsdl \
29                        port:libsdl_image \
30                        port:libpng
31
32checksums               md5     20b2ad52ef45742c1a65911b225b6ddc \
33                        sha1    9841276d6e1f00de4de22cc11d19e1f08a9a01cb \
34                        rmd160  63381c6f9cbc2d785ebf76dddc54b178cd704078
35
36post-patch {
37    reinplace -E "/CXX/s/CC/g++/" ${worksrcpath}/archs/Darwin/variables.GNU
38    reinplace -E "s@/(usr/local|sw)@${prefix}@" ${worksrcpath}/archs/Darwin/variables.GNU
39}
40
41use_configure           no
42
43build.type              gnu
44build.env               CC=g++
45
46destroot {
47    xinstall -d ${destroot}${applications_dir}
48    copy ${worksrcpath}/Release/bin/Darwin/${name}.app ${destroot}${applications_dir}
49}
50
51variant universal {
52    post-patch {
53        reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
54        reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" ${worksrcpath}/archs/Darwin/variables.GNU
55    }
56}
Note: See TracBrowser for help on using the repository browser.