Skip to content
Permalink
Browse files

Rework this port a bit. Changes include:

* Add maintainer as michaelm@opendarwin.org 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.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1886 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jim Mock
Jim Mock committed Jan 26, 2003
1 parent 47a4e68 commit 7906c767f1543b03e6ff0d42557586a237799e83
Showing with 17 additions and 4 deletions.
  1. +17 −4 games/freeciv/Portfile
@@ -3,13 +3,26 @@ PortSystem 1.0
name freeciv
version 1.14.0
categories games
maintainers michaelm@opendarwin.org
description A civilisation clone
master_sites ftp://ftp.freeciv.org/freeciv/stable/
homepage http://www.freeciv.org/
checksums md5 f5c965a9ec4b41f00811e88ed8e987c2
platforms darwin

master_sites ftp://ftp.freeciv.org/freeciv/stable/
checksums md5 c506ec29b94ea516aaa02a107129cf10

use_bzip2 yes

depends_lib lib:libintl.1:gettext lib:libSDL:libsdl lib:libesd.0:esound \
lib:libreadline.4:readline

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
configure.env LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include" \
CPPFLAGS="-I${prefix}/include"

default_variants +gtk1

configure.env LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include"
variant gtk1 { depends_lib-append lib:libgtk.1:gtk
configure.args --enable-client=gtk }

variant gtk2 { depends_lib-append lib:libgtk.2:gtk
configure.args --enable-client=gtk2 }

0 comments on commit 7906c76

Please sign in to comment.
You can’t perform that action at this time.