[29599] trunk/dports/games/freeciv/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 2 01:57:48 PDT 2007


Revision: 29599
          http://trac.macosforge.org/projects/macports/changeset/29599
Author:   rhwood at macports.org
Date:     2007-10-02 01:57:48 -0700 (Tue, 02 Oct 2007)

Log Message:
-----------
Make this port install port freeciv-x11 on upgrade. Soon this port will be repurposed to provide an aqua-native freeciv client, but for now, existing users of this port get switched to the X11 version.

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

Modified: trunk/dports/games/freeciv/Portfile
===================================================================
--- trunk/dports/games/freeciv/Portfile	2007-10-02 07:33:19 UTC (rev 29598)
+++ trunk/dports/games/freeciv/Portfile	2007-10-02 08:57:48 UTC (rev 29599)
@@ -4,34 +4,51 @@
 
 name            freeciv
 version         2.0.8
+revision	1
 categories      games
 maintainers     rhwood
 description     A civilisation clone
+long_description	\
+	This is a placeholder port that installs the port freeciv-x11. A OS X \
+	native version is in its sixth beta release, and once that version is \
+	released, this port will install that version. Until that happens, \
+	this port will, when upgraded, move the X11 version of freeciv into \
+	freeciv-x11, freeing this port for the Aqua version, and allow users \
+	who prefer to the X11 version to transparently keep that version.\
 homepage        http://www.freeciv.org/
-platforms	    darwin
+platforms	    macosx
 
 master_sites    sourceforge:freeciv ftp://ftp.freeciv.org/freeciv/stable/
 checksums	sha1 b9098dc46ed169e053f9c7405cc3abf9cebe9792
 
 use_bzip2	    yes
 
-depends_lib	\
-	port:gettext \
-	port:libsdl \
-	port:libsdl_mixer \
-	port:esound \
-	port:readline \
-	port:gtk2
+#EVERYTHING PAST THIS POINT IS ABOUT MIGRATING FREECIV USERS FROM PORT FREECIV
+#TO PORT FREECIV-X11 IN PREPERATION FOR AN AQUA NATIVE FREECIV PORT
 
-configure.args	\
-	--enable-client=gtk2 \
-	--with-readline \
-	--with-zlib \
-	--enable-nls \
-	--with-sdl-prefix=${prefix} \
-	--with-libiconv-prefix=${prefix}
+depends_build	port:freeciv-x11
 
-platform puredarwin {
-	depends_lib-delete port:libsdl
-	configure.args-append --disable-sdl-mixer 
+#depends_lib	\
+#	port:gettext \
+#	port:libsdl \
+#	port:libsdl_mixer \
+#	port:esound \
+#	port:readline \
+#	port:gtk2
+
+#configure.args	\
+#	--enable-client=gtk2 \
+#	--with-readline \
+#	--with-zlib \
+#	--enable-nls \
+#	--with-sdl-prefix=${prefix} \
+#	--with-libiconv-prefix=${prefix}
+
+fetch	{}
+checksum	{}
+configure	{}
+build	{}
+destroot	{
+	file mkdir ${destroot}${prefix}/share/freeciv
+	touch ${destroot}${prefix}/share/freeciv/marker
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071002/3fe47d31/attachment.html


More information about the macports-changes mailing list