Ticket #10799: glob2.patch
File glob2.patch, 1.7 KB (added by ehainry@…, 18 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile,v 1.2 2006/01/09 00:17:50 mww Exp $2 3 1 PortSystem 1.0 4 2 5 3 name glob2 6 version 0.8. 174 version 0.8.21 7 5 categories games 8 6 platforms darwin 9 7 maintainers mww@opendarwin.org … … 19 17 features a scripting language for versatile gameplay or \ 20 18 tutorials and an integrated map editor. 21 19 22 homepage http://www.ysagoon.com/glob2/ 23 master_sites http://epfl.ysagoon.com/~glob2/data/ freebsd 24 checksums md5 a02ccdfdee0e4a550487fc4cf22a9480 25 26 depends_lib port:freetype port:libsdl port:libsdl_image port:libsdl_net \ 27 port:libvorbis port:speex port:zlib 20 homepage http://globulation2.org/ 21 master_sites ${homepage}/releases/${version}/ 22 checksums md5 3173f82572f1dd5fba79019ebc43d427 \ 23 sha1 c9829ea4e78e7c7e901126bf77d2fbb36272bfc0 \ 24 25 depends_lib port:speex port:libogg port:libvorbis\ 26 port:libsdl port:libsdl_image port:libsdl_net port:libsdl_ttf \ 27 port:boost port:zlib port:freetype port:libiconv \ 28 port:libpng port:jpeg port:tiff 28 29 29 configure.env C FLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include \30 configure.env CPPFLAGS=-I${prefix}/include \ 30 31 LDFLAGS=-L${prefix}/lib 31 32 32 platform darwin 8 { 33 configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 34 } 35 36 platform macosx { 37 pre-destroot { 38 set dest /Applications/DarwinPorts/Globulation2.app/Contents/MacOS 39 xinstall -m 755 -d ${destroot}${dest} 40 system "ln -sf ${prefix}/bin/glob2 ${destroot}${dest}/Globulation2" 41 } 42 } 33 post-configure { reinplace "s|\${datarootdir}|${prefix}/share|" ${worksrcpath}/config.h } 34 43 35