Modified: trunk/dports/games/lmarbles/Portfile (38836 => 38837)
--- trunk/dports/games/lmarbles/Portfile 2008-08-01 09:09:55 UTC (rev 38836)
+++ trunk/dports/games/lmarbles/Portfile 2008-08-01 09:18:30 UTC (rev 38837)
@@ -26,15 +26,20 @@
depends_lib port:libsdl \
port:libsdl_mixer
-configure.cflags-append "-I${prefix}/include"
-configure.args --enable-ascii \
+configure.args --mandir=${prefix}/share/man \
+ --enable-ascii \
--with-profile-path=${prefix}/var/lib/games/ \
--disable-sdltest
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+ set applications_dir /Applications/MacPorts
+}
+
platform darwin {
pre-destroot {
- xinstall -d -m 755 ${destroot}/Applications/MacPorts/LMarbles.app/Contents/MacOS
- system "ln -s ${prefix}/bin/lmarbles \
- ${destroot}/Applications/MacPorts/LMarbles.app/Contents/MacOS/LMarbles"
+ xinstall -d ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS
+ ln -s ${prefix}/bin/lmarbles \
+ ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS/LMarbles
}
}