source: trunk/dports/irc/bahamut/Portfile @ 104573

Last change on this file since 104573 was 102788, checked in by ryandesign@…, 7 years ago

bahamut: update to 2.0.5; conflicts with expect

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 102788 2013-02-08 06:55:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bahamut
7conflicts           expect whois
8version             2.0.5
9maintainers         ryandesign openmaintainer
10categories          irc
11platforms           darwin
12license             GPL-1+
13
14description         Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet.
15
16long_description    ${description}
17
18homepage            http://www.dal.net/?page=Bahamut
19master_sites        http://code.dal.net/release/
20
21checksums           rmd160  0955bd05c209f47853e0676fc261dda6b4d6b56f \
22                    sha256  cd08765f651dd388ee0303eb355256631e48a9dc7d3aa765c33ab3c5c4814e98
23
24depends_lib         port:openssl
25
26patchfiles          patch-CPPFLAGS.diff \
27                    patch-support.c.diff
28
29# Undefined symbols:
30#  "_first_visible_channel", referenced from:
31#      _m_who in m_who.o
32patchfiles-append   patch-src-m_who.c.diff
33
34configure.args      --enable-openssl=${prefix}
35
36configure.universal_args-delete --disable-dependency-tracking
37
38destroot.destdir    INSTALL_DIR=${destroot}${prefix}
39
40post-destroot {
41    foreach f {ircd mkpasswd make-cert.sh} {
42        move ${destroot}${prefix}/${f} ${destroot}${prefix}/bin
43    }
44    foreach f {ircd.motd make-cert.cnf opers.txt reference.conf template.conf} {
45        move ${destroot}${prefix}/${f} ${destroot}${prefix}/etc
46    }
47    reinplace "s|${destroot}${prefix}|${prefix}/etc|g" ${destroot}${prefix}/bin/make-cert.sh
48}
49
50livecheck.type      regex
51livecheck.url       [lindex ${master_sites} 0]
52livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.