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

Last change on this file since 81897 was 81897, checked in by jmr@…, 9 years ago

eggdrop: add freebsd mirrors so there are http sources

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 81897 2011-08-06 12:55:54Z jmr@macports.org $
3
4PortSystem 1.0
5
6name            eggdrop
7version         1.6.20
8categories      irc
9maintainers     mac.com:dre
10description     Eggdrop is the world's most popular Internet Relay Chat (IRC) bot.
11long_description        ${description}
12homepage        http://www.eggheads.org
13platforms       darwin
14master_sites    ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ freebsd
15distname        ${name}${version}
16
17checksums       sha1    7ebecd0955af36caa1846d0e7cd1f959f819f6b5 \
18                rmd160  567668974e971a0c8ad6674a0500b32991a95f3d
19
20use_bzip2       yes
21post-configure  { system "cd ${worksrcpath} && make config" }
22destroot.destdir DEST=${destroot}${prefix}/share/eggdrop
23
24post-destroot   {
25    delete ${destroot}${prefix}/share/eggdrop/eggdrop
26    ln -s ../share/eggdrop/eggdrop-${version} ${destroot}${prefix}/bin/eggdrop
27    move ${destroot}${prefix}/share/eggdrop/eggdrop.conf ${destroot}${prefix}/share/eggdrop/eggdrop.conf.sample
28    move ${destroot}${prefix}/share/eggdrop/doc/man1/eggdrop.1 ${destroot}${prefix}/share/man/man1
29}
30
31platform darwin 8 {
32        configure.cflags-append "-DBIND_8_COMPAT"
33}
34
35platform darwin 10 {
36        patchfiles patch-Makefile.in.diff
37}
Note: See TracBrowser for help on using the repository browser.