# $Id$ PortSystem 1.0 name eggdrop version 1.6.20 categories irc maintainers dre@mac.com 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 f6887c045dba11fa2755a6a9e40380a3 \ sha1 7ebecd0955af36caa1846d0e7cd1f959f819f6b5 \ rmd160 567668974e971a0c8ad6674a0500b32991a95f3d distname ${name}${version} worksrcdir ${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" } platform darwin 10 { patchfiles patch-Makefile.in.diff }