Changeset 28218 for trunk/dports
- Timestamp:
- Aug 24, 2007, 10:41:59 PM (17 years ago)
- Location:
- trunk/dports/games/54321
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/54321/Portfile
r28215 r28218 6 6 version 1.0.2001.11.16 7 7 categories games 8 platforms darwin8 platforms macosx 9 9 maintainers nomaintainer 10 10 description 5 games in 4, 3, or 2 dimensions for 1 player … … 19 19 master_sites ${homepage}${version}/ 20 20 distname ${name} 21 extract.suffix .tgz 21 22 22 depends_ lib lib:libSDL-1:libsdl lib:libSDL_image-1:libsdl_image\23 lib:libpng.3:libpng lib:libz.1:zlib23 depends_build port:libiconv \ 24 port:zlib 24 25 25 checksums md5 20b2ad52ef45742c1a65911b225b6ddc 26 depends_lib port:libsdl \ 27 port:libsdl_image \ 28 port:libpng 26 29 27 extract.suffix .tgz 30 checksums md5 20b2ad52ef45742c1a65911b225b6ddc \ 31 sha1 9841276d6e1f00de4de22cc11d19e1f08a9a01cb \ 32 rmd160 63381c6f9cbc2d785ebf76dddc54b178cd704078 33 28 34 worksrcdir ${name} 29 patchfiles patch-variables.GNU30 35 31 use_configure no 36 post-patch { 37 cd ${worksrcpath}/archs/Darwin 32 38 33 build.type gnu 34 build.target all size 35 build.env CXX=g++ 39 reinplace -E "/CXX/s/CC/g++/" variables.GNU 40 reinplace -E "s@/(usr/local|sw)@${prefix}@" variables.GNU 41 } 42 43 use_configure no 44 45 build.type gnu 46 build.env CC=g++ 36 47 37 48 destroot { 38 system "ditto -v -rsrcFork Release\39 ${destroot}/Applications/MacPorts/ 54321"49 copy ${worksrcpath}/Release/bin/Darwin/${name}.app \ 50 ${destroot}/Applications/MacPorts/ 40 51 } 41 52 53 variant universal { 54 post-patch { 55 cd ${worksrcpath}/archs/Darwin 56 57 reinplace -E "/^CPPFLAGS/s|\\+=|+= ${configure.universal_cflags}|" variables.GNU 58 reinplace -E "/^LDFLAGS/s|\\+=|+= ${configure.universal_ldflags}|" variables.GNU 59 } 60 } 61
Note: See TracChangeset
for help on using the changeset viewer.