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

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                bahamut
7conflicts           expect whois
8version             2.0.7
9maintainers         ryandesign openmaintainer
10categories          irc
11platforms           darwin
12license             GPL
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  4280b8229a99d56e1334e6fc68023661a2a35ad5 \
22                    sha256  4c085425c31c48b241b63a85bc693510732051b79636b341cdc4f1ee534dc4b8
23
24depends_lib         path:lib/libssl.dylib: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.