# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name eggdrop version 1.6.18 categories irc maintainers mac.com:dre description Eggdrop is the World's most popular Internet Relay Chat (IRC) bot. long_description ${description} homepage http://www.eggheads.org platforms darwin master_sites ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ checksums md5 0cfc13dcc84cd4e9d4a23d23d9429ee7 distname ${name}${version} use_bzip2 yes post-configure { system "cd ${worksrcpath} && make config" } destroot.destdir DEST=${destroot}${prefix}/share/eggdrop post-destroot { system "cd ${destroot}${prefix}/bin/ && rm ../share/eggdrop/eggdrop && ln -s ../share/eggdrop/eggdrop-${version} eggdrop && mv ../share/eggdrop/eggdrop.conf ../share/eggdrop/eggdrop.conf.sample && mv ../share/eggdrop/doc/man1/eggdrop.1 ../share/man/man1" } platform darwin 7 { configure.cflags-append "-DBIND_8_COMPAT" } platform darwin 8 { configure.cflags-append "-DBIND_8_COMPAT" }