# $Id: Portfile 21534 2007-01-27 18:51:17Z pmq@macports.org $ PortSystem 1.0 name eboard categories games version 1.0.3 platforms darwin maintainers pmq@macports.org description eboard is a chess interface just like xboard. long_description \ eboard is a chess interface for Unix-like systems (GNU/Linux, FreeBSD, \ Solaris, etc.) based on the GTK+ GUI toolkit. It provides a chess board \ interface to ICS (Internet Chess Servers) like FICS and to chess \ engines like GNU Chess, Sjeng and Crafty. homepage http://eboard.sourceforge.net master_sites sourceforge use_bzip2 yes checksums md5 833e656549d9fd9191e51b08005633e3 depends_build port:imlib port:gtk2 port:perl5.8 destroot { xinstall -m 755 -W ${worksrcpath} eboard eboard-config \ eboard-addtheme ${destroot}${prefix}/bin/ xinstall -m 644 -W ${worksrcpath} eboard.6 \ ${destroot}/${prefix}/share/man/man6/ xinstall -m 444 -W ${worksrcpath} eboard-addtheme.1 \ eboard-config.1 ${destroot}${prefix}/share/man/man1/ set eboard_datadir ${destroot}${prefix}/share/${name} xinstall -d ${eboard_datadir} xinstall -m 644 -W ${worksrcpath} classic.png ghouls.png \ plastic.png eboard_themes.conf NAG.en.txt \ ${eboard_datadir}/ foreach dict [glob ${worksrcpath}/multilang/eboard.*.dict] { xinstall -m 644 -W ${worksrcpath} ${dict} ${eboard_datadir}/ } }