[39484] trunk/dports/games/wesnoth/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 21 14:57:44 PDT 2008


Revision: 39484
          http://trac.macosforge.org/projects/macports/changeset/39484
Author:   ryandesign at macports.org
Date:     2008-08-21 14:57:43 -0700 (Thu, 21 Aug 2008)
Log Message:
-----------
wesnoth:

 * update to 1.4.4
 * support ${applications_dir}
 * enable parallel build

Modified Paths:
--------------
    trunk/dports/games/wesnoth/Portfile

Modified: trunk/dports/games/wesnoth/Portfile
===================================================================
--- trunk/dports/games/wesnoth/Portfile	2008-08-21 21:56:24 UTC (rev 39483)
+++ trunk/dports/games/wesnoth/Portfile	2008-08-21 21:57:43 UTC (rev 39484)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name		wesnoth
-version		1.0.2
+version		1.4.4
 categories	games
 platforms	darwin
 maintainers	nomaintainer
@@ -15,31 +15,48 @@
 			types of attacks. Units gain experience and advance \
 			levels, and are carried over from one scenario to the \
 			next campaign.
-checksums	md5 1d2a26062ce1c90cbf10845023f9435c
+checksums	md5     b2260808e94eba12aa7ceaa40fa0ee4d \
+		sha1    c903160cdf1ecbfef6e668772ad5fe15f599ac7d \
+		rmd160  d32161d67002dc12197a6a8667dfb734bb208157
 homepage	http://www.wesnoth.org/
 master_sites	sourceforge
-depends_lib	port:libsdl \
+use_bzip2	yes
+use_parallel_build	yes
+depends_lib	lib:libX11.6:XFree86 \
+		port:boost \
+		port:libsdl \
 		port:libsdl_image \
 		port:libsdl_mixer \
 		port:libsdl_ttf \
 		port:libsdl_net \
 		port:libiconv \
 		port:freetype \
-		port:gettext
+		port:fribidi \
+		port:gettext \
+		port:zlib
 
-configure.args	--mandir=${prefix}/share/man \
-				--with-freetype-prefix=${prefix} \
+configure.args	--with-freetype-prefix=${prefix} \
 				--with-libiconv-prefix=${prefix} \
+				--disable-desktop-entry \
 				--disable-sdltest \
-				--disable-server \
-				--disable-gnome1 \
-				--disable-gnome2
+				--disable-python \
+				--disable-server
 
+pre-configure {
+	configure.args-append \
+				--with-boost=${prefix}/include/[strsed [file readlink ${prefix}/include/boost] {g|/boost||}]
+}
+
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+    set applications_dir /Applications/MacPorts
+}
+
 platform macosx {
 	pre-destroot	{
-		xinstall -m 755 -d ${destroot}/Applications/MacPorts/Wesnoth.app/Contents/MacOS
-		system "ln -sf ${prefix}/bin/wesnoth \
-			${destroot}/Applications/MacPorts/Wesnoth.app/Contents/MacOS/Wesnoth"
+		xinstall -d ${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS
+		ln -sf ${prefix}/bin/wesnoth \
+			${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS/Wesnoth
 	}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080821/a94c14e4/attachment.html 


More information about the macports-changes mailing list