Changeset 1886


Ignore:
Timestamp:
Jan 26, 2003, 6:15:29 AM (18 years ago)
Author:
mij
Message:

Rework this port a bit. Changes include:

  • Add maintainer as michaelm@… since there was none and he committed the port. If someone else wants to claim this or someone else submitted it, feel free to change this if michaelm isn't actually supposed to be the maintainer.
  • Add use_bzip2. The distfile is now about 2MB smaller (nice for those of us on dialup).
  • Clean up the depends_lib.
  • Add two variants -- gtk1 and gtk2 so users can choose which interface they want to build with. Set default_variants to gtk1.
File:
1 edited

Legend:

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

    r1857 r1886  
    44version         1.14.0
    55categories      games
     6maintainers     michaelm@opendarwin.org
    67description     A civilisation clone
     8homepage        http://www.freeciv.org/
     9platforms       darwin
     10
    711master_sites    ftp://ftp.freeciv.org/freeciv/stable/
    8 homepage        http://www.freeciv.org/
    9 checksums       md5 f5c965a9ec4b41f00811e88ed8e987c2
     12checksums       md5 c506ec29b94ea516aaa02a107129cf10
    1013
    11 depends_lib     bin:pkgconfig:pkgconfig lib:gettext:gettext lib:glib-2:glib2 lib:pango:pango lib:libungif:libungif lib:tiff:tiff lib:atk:atk lib:gtk2:gtk2 lib:libSDL:libsdl lib:libreadline:readline
     14use_bzip2       yes
    1215
     16depends_lib     lib:libintl.1:gettext lib:libSDL:libsdl lib:libesd.0:esound \
     17                lib:libreadline.4:readline
    1318
    14 configure.env LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include"
     19configure.env   LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include" \
     20                CPPFLAGS="-I${prefix}/include"
    1521
     22default_variants +gtk1
     23
     24variant gtk1    { depends_lib-append lib:libgtk.1:gtk
     25                  configure.args --enable-client=gtk }
     26
     27variant gtk2    { depends_lib-append lib:libgtk.2:gtk
     28                  configure.args --enable-client=gtk2 }
Note: See TracChangeset for help on using the changeset viewer.