Ticket #28353: Portfile

File Portfile, 1.1 KB (added by dreness (Andre LaBranche), 14 years ago)

Portfile

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