1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name eggdrop |
---|
5 | version 1.6.20 |
---|
6 | categories irc |
---|
7 | maintainers dre@mac.com |
---|
8 | description Eggdrop is the world's most popular Internet Relay Chat (IRC) bot. |
---|
9 | long_description ${description} |
---|
10 | homepage http://www.eggheads.org |
---|
11 | platforms darwin |
---|
12 | master_sites ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ |
---|
13 | checksums md5 f6887c045dba11fa2755a6a9e40380a3 \ |
---|
14 | sha1 7ebecd0955af36caa1846d0e7cd1f959f819f6b5 \ |
---|
15 | rmd160 567668974e971a0c8ad6674a0500b32991a95f3d |
---|
16 | distname ${name}${version} |
---|
17 | worksrcdir ${name}${version} |
---|
18 | use_bzip2 yes |
---|
19 | post-configure { system "cd ${worksrcpath} && make config" } |
---|
20 | destroot.destdir DEST=${destroot}${prefix}/share/eggdrop |
---|
21 | 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" |
---|
22 | } |
---|
23 | platform darwin 7 { |
---|
24 | configure.cflags-append "-DBIND_8_COMPAT" |
---|
25 | } |
---|
26 | |
---|
27 | platform darwin 8 { |
---|
28 | configure.cflags-append "-DBIND_8_COMPAT" |
---|
29 | } |
---|
30 | |
---|
31 | platform darwin 10 { |
---|
32 | patchfiles patch-Makefile.in.diff |
---|
33 | } |
---|