Ticket #22542: rocksndiamonds.diff
File rocksndiamonds.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name rocksndiamonds 6 version 3.2. 46 version 3.2.6.1 7 7 categories games 8 8 platforms darwin 9 9 maintainers phw … … 16 16 17 17 homepage http://www.artsoft.org/rocksndiamonds/ 18 18 master_sites http://www.artsoft.org/RELEASES/unix/${name} 19 checksums md5 561bbebc7f59b3fa61bae9d7340ae49d 19 checksums md5 75a4a7c7f11e89fc4a664da3b016a783 \ 20 sha1 18ddf5ce93a83a3fb89d65b69a80291a978f5b7e \ 21 rmd160 136df20ffbe745b65417d39f406d2bbb4f544f1c 20 22 patchfiles patch-Makefile.diff 21 23 22 24 depends_lib path:lib/pkgconfig/sdl.pc:libsdl \ … … 29 31 } 30 32 31 33 build.target sdl 34 build.args CC=${configure.cc} 32 35 33 36 destroot { 34 37 xinstall -s -m 755 ${worksrcpath}/rocksndiamonds ${destroot}${prefix}/bin … … 38 41 ${destroot}${prefix}/share/games/rocksndiamonds 39 42 } 40 43 41 platform darwin 8 {42 build.args CC=/usr/bin/gcc-4.043 }44 45 44 platform macosx { 46 45 post-destroot { 47 file mkdir ${destroot} /Applications/MacPorts/RocksnDiamonds.app/Contents/MacOS48 system "ln -s ${prefix}/bin/rocksndiamonds \49 ${destroot} /Applications/MacPorts/RocksnDiamonds.app/Contents/MacOS/RocksnDiamonds"46 file mkdir ${destroot}${applications_dir}/RocksnDiamonds.app/Contents/MacOS 47 ln -s ${prefix}/bin/rocksndiamonds \ 48 ${destroot}${applications_dir}/RocksnDiamonds.app/Contents/MacOS/RocksnDiamonds 50 49 } 51 50 } 52 51