source: trunk/dports/irc/eggdrop/Portfile @ 84162

Last change on this file since 84162 was 84162, checked in by ryandesign@…, 8 years ago

eggdrop: apply snow leopard patch on lion too; see #31326

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 84162 2011-09-19 20:01:50Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            eggdrop
7version         1.6.20
8set branch      [join [lrange [split ${version} .] 0 1] .]
9categories      irc
10maintainers     mac.com:dre
11description     Eggdrop is the world's most popular Internet Relay Chat (IRC) bot.
12long_description        ${description}
13homepage        http://www.eggheads.org
14platforms       darwin
15master_sites    ftp://ftp.eggheads.org/pub/eggdrop/source/${branch}/ freebsd
16distname        ${name}${version}
17
18checksums       sha1    7ebecd0955af36caa1846d0e7cd1f959f819f6b5 \
19                rmd160  567668974e971a0c8ad6674a0500b32991a95f3d
20
21use_bzip2       yes
22post-configure  { system "cd ${worksrcpath} && make config" }
23destroot.destdir DEST=${destroot}${prefix}/share/eggdrop
24
25post-destroot   {
26    delete ${destroot}${prefix}/share/eggdrop/eggdrop
27    ln -s ../share/eggdrop/eggdrop-${version} ${destroot}${prefix}/bin/eggdrop
28    move ${destroot}${prefix}/share/eggdrop/eggdrop.conf ${destroot}${prefix}/share/eggdrop/eggdrop.conf.sample
29    move ${destroot}${prefix}/share/eggdrop/doc/man1/eggdrop.1 ${destroot}${prefix}/share/man/man1
30}
31
32platform darwin 8 {
33        configure.cflags-append "-DBIND_8_COMPAT"
34}
35
36if {${os.platform} == "darwin" && ${os.major} >= 10} {
37        patchfiles patch-Makefile.in.diff
38}
Note: See TracBrowser for help on using the repository browser.