Ticket #4020: Portfile.patch
File Portfile.patch, 1.9 KB (added by rhwood@…, 19 years ago) |
---|
-
games/freeciv/Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name freeciv 6 version 1.14.26 version 2.0.3 7 7 categories games 8 maintainers 8 maintainers michaelm@opendarwin.org 9 9 description A civilisation clone 10 10 homepage http://www.freeciv.org/ 11 platforms 11 platforms darwin 12 12 13 master_sites ftp://ftp.freeciv.org/freeciv/stable/14 checksums md5 280770591c8f87ac542dcd50702da20513 master_sites sourceforge:freeciv ftp://ftp.freeciv.org/freeciv/stable/ 14 checksums md5 3a8fbcedc15ded1c1c48c78161cac0c9 15 15 16 use_bzip2 16 use_bzip2 yes 17 17 18 depends_lib 19 20 21 22 23 18 depends_lib lib:libintl.3:gettext \ 19 lib:libSDL:libsdl \ 20 lib:libesd.0:esound \ 21 lib:libreadline.4:readline \ 22 lib:libImlib:imlib \ 23 lib:libgtk.2:gtk2 24 24 25 25 configure.env LDFLAGS="-L${prefix}/lib" \ 26 27 26 CFLAGS="-I${prefix}/include" \ 27 CPPFLAGS="-I${prefix}/include" 28 28 29 29 configure.args --enable-client=gtk2 --with-readline --with-zlib 30 30 31 31 variant gtk1 { depends_lib-append lib:libgtk.1:gtk1 32 32 depends_lib-delete lib:libgtk.2:gtk2 33 34 33 configure.args-delete --enable-client=gtk2 34 configure.args --enable-client=gtk } 35 35 36 36 variant puredarwin { 37 37 depends_lib-delete lib:libSDL:libsdl 38 38 configure.args-append --disable-sdl-mixer 39 }39 }