Changeset 29599 for trunk/dports/games


Ignore:
Timestamp:
Oct 2, 2007, 8:57:48 AM (12 years ago)
Author:
rhwood@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/freeciv/Portfile

    r27030 r29599  
    55name            freeciv
    66version         2.0.8
     7revision        1
    78categories      games
    89maintainers     rhwood
    910description     A civilisation clone
     11long_description        \
     12        This is a placeholder port that installs the port freeciv-x11. A OS X \
     13        native version is in its sixth beta release, and once that version is \
     14        released, this port will install that version. Until that happens, \
     15        this port will, when upgraded, move the X11 version of freeciv into \
     16        freeciv-x11, freeing this port for the Aqua version, and allow users \
     17        who prefer to the X11 version to transparently keep that version.\
    1018homepage        http://www.freeciv.org/
    11 platforms           darwin
     19platforms           macosx
    1220
    1321master_sites    sourceforge:freeciv ftp://ftp.freeciv.org/freeciv/stable/
     
    1624use_bzip2           yes
    1725
    18 depends_lib     \
    19         port:gettext \
    20         port:libsdl \
    21         port:libsdl_mixer \
    22         port:esound \
    23         port:readline \
    24         port:gtk2
     26#EVERYTHING PAST THIS POINT IS ABOUT MIGRATING FREECIV USERS FROM PORT FREECIV
     27#TO PORT FREECIV-X11 IN PREPERATION FOR AN AQUA NATIVE FREECIV PORT
    2528
    26 configure.args  \
    27         --enable-client=gtk2 \
    28         --with-readline \
    29         --with-zlib \
    30         --enable-nls \
    31         --with-sdl-prefix=${prefix} \
    32         --with-libiconv-prefix=${prefix}
     29depends_build   port:freeciv-x11
    3330
    34 platform puredarwin {
    35         depends_lib-delete port:libsdl
    36         configure.args-append --disable-sdl-mixer
     31#depends_lib    \
     32#       port:gettext \
     33#       port:libsdl \
     34#       port:libsdl_mixer \
     35#       port:esound \
     36#       port:readline \
     37#       port:gtk2
     38
     39#configure.args \
     40#       --enable-client=gtk2 \
     41#       --with-readline \
     42#       --with-zlib \
     43#       --enable-nls \
     44#       --with-sdl-prefix=${prefix} \
     45#       --with-libiconv-prefix=${prefix}
     46
     47fetch   {}
     48checksum        {}
     49configure       {}
     50build   {}
     51destroot        {
     52        file mkdir ${destroot}${prefix}/share/freeciv
     53        touch ${destroot}${prefix}/share/freeciv/marker
    3754}
Note: See TracChangeset for help on using the changeset viewer.