Changeset 38833
- Timestamp:
- 08/01/2008 01:43:24 (4 years ago)
- Location:
- trunk/dports/games/ltris
- Files:
-
- 4 added
- 1 modified
-
Portfile (modified) (2 diffs)
-
files (added)
-
files/patch-install-mode.diff (added)
-
files/patch-libintl.diff (added)
-
files/patch-sdl_.h.diff (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/ltris/Portfile
r30227 r38833 4 4 5 5 name ltris 6 version 1.0. 96 version 1.0.12 7 7 categories games 8 8 platforms darwin 9 9 maintainers nomaintainer 10 use_parallel_build yes 10 11 description Tetris clone with multiplayer and AI support. 11 12 long_description LTris as a tetris clone which means you have a bowl \ … … 22 23 homepage http://lgames.sourceforge.net/index.php?project=LTris 23 24 master_sites sourceforge:lgames 24 checksums md5 51f719df95636f42e00fe5a777610dd3 25 checksums md5 53b00c17a05c438602a52009e65ebde2 \ 26 sha1 bc0b389b520053f97c6415b4d430f55784073c1b \ 27 rmd160 017791be9d4e2dfc5a6b497e816b3482d22141c3 25 28 26 depends_lib port:libsdl port:libsdl_mixer 29 depends_lib port:libsdl port:libsdl_mixer \ 30 port:gettext \ 31 port:libiconv 27 32 28 configure.cflags-append "-I${prefix}/include" 33 post-extract { 34 move ${worksrcpath}/src/sdl.h ${worksrcpath}/src/sdl_.h 35 } 36 37 patchfiles patch-sdl_.h.diff \ 38 patch-libintl.diff \ 39 patch-install-mode.diff 40 29 41 configure.args --with-highscore-path=${prefix}/var/lib/games/ \ 30 42 --disable-sdltest 31 43 44 # Can be removed once MacPorts 1.7.0 is released 45 if {![info exists applications_dir]} { 46 set applications_dir /Applications/MacPorts 47 } 48 32 49 platform darwin { 33 50 post-destroot { 34 xinstall - m 755 -d ${destroot}/Applications/MacPorts/LTris.app/Contents/MacOS35 system "ln -sf${prefix}/bin/ltris \36 ${destroot} /Applications/MacPorts/LTris.app/Contents/MacOS/LTris"51 xinstall -d ${destroot}${applications_dir}/LTris.app/Contents/MacOS 52 ln -s ${prefix}/bin/ltris \ 53 ${destroot}${applications_dir}/LTris.app/Contents/MacOS/LTris 37 54 } 38 55 }

