source: trunk/dports/irc/bahamut/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bahamut
7conflicts           expect whois
8version             2.0.7
9revision            1
10maintainers         ryandesign openmaintainer
11categories          irc
12platforms           darwin
13license             GPL
14
15description         Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet.
16
17long_description    ${description}
18
19homepage            http://www.dal.net/?page=Bahamut
20master_sites        http://code.dal.net/release/
21
22checksums           rmd160  4280b8229a99d56e1334e6fc68023661a2a35ad5 \
23                    sha256  4c085425c31c48b241b63a85bc693510732051b79636b341cdc4f1ee534dc4b8
24
25depends_lib         path:lib/libssl.dylib:openssl
26
27patchfiles          patch-CPPFLAGS.diff \
28                    patch-support.c.diff
29
30# Undefined symbols:
31#  "_first_visible_channel", referenced from:
32#      _m_who in m_who.o
33patchfiles-append   patch-src-m_who.c.diff
34
35configure.args      --enable-openssl=${prefix}
36
37configure.universal_args-delete --disable-dependency-tracking
38
39destroot.destdir    INSTALL_DIR=${destroot}${prefix}
40
41post-destroot {
42    foreach f {ircd mkpasswd make-cert.sh} {
43        move ${destroot}${prefix}/${f} ${destroot}${prefix}/bin
44    }
45    foreach f {ircd.motd make-cert.cnf opers.txt reference.conf template.conf} {
46        move ${destroot}${prefix}/${f} ${destroot}${prefix}/etc
47    }
48    reinplace "s|${destroot}${prefix}|${prefix}/etc|g" ${destroot}${prefix}/bin/make-cert.sh
49}
50
51livecheck.type      regex
52livecheck.url       [lindex ${master_sites} 0]
53livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.