source: trunk/dports/irc/hexchat/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: 3.4 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                hexchat
7version             2.10.2
8revision            1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          irc
11maintainers         raimue \
12                    openmaintainer
13description         IRC client based on XChat
14homepage            http://hexchat.github.io/
15platforms           darwin
16license             GPL-2+
17
18long_description \
19    HexChat is a graphical IRC client using GTK2 that has \
20    many features and can be scripted with Perl and/or Python. \
21    It is based on XChat, but unlike its predecessor completely \
22    free software.
23
24master_sites        http://dl.hexchat.net/hexchat/
25use_xz yes
26
27checksums           rmd160  a37ae7451afa0d93446dba22c38d00d02bc49a6b \
28                    sha256  87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c
29
30depends_build       port:pkgconfig \
31                    port:intltool \
32                    port:gnome-common \
33                    port:autoconf \
34                    port:automake \
35                    port:libtool
36depends_lib         port:gtk2 \
37                    port:libsexy \
38                    path:bin/perl:perl5 \
39                    port:libpng \
40                    port:libnotify \
41                    port:gettext
42
43# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
44
45configure.cmd       ./autogen.sh && ./configure
46
47configure.args      --disable-dependency-tracking \
48                    --enable-minimal-flags \
49                    --disable-python \
50                    --disable-mmx \
51                    --enable-ipv6 \
52                    --disable-openssl \
53                    --enable-libnotify \
54                    --enable-spell=libsexy \
55                    --enable-socks
56
57universal_variant   no
58
59default_variants    +ssl
60
61variant xft conflicts quartz description "Enable Xft2 font support" {
62    configure.args-append --enable-xft
63}
64
65variant ssl description "Enable SSL using openssl" {
66    configure.args-replace --disable-openssl --enable-openssl
67    depends_lib-append path:lib/libssl.dylib:openssl
68}
69
70variant quartz conflicts xft {
71    configure.args-append --disable-xlib
72    depends_lib-append port:gtk-osx-application-gtk2
73    patchfiles-append patch-gtk-mac-integration-gtk2.diff
74    use_autoreconf yes
75}
76
77variant python27 description "Enable Python plugin, using python27" conflicts python33 python34 {
78    configure.args-replace --disable-python --enable-python=python2.7
79    depends_lib-append port:python27
80    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig/
81}
82
83variant python33 description "Enable Python plugin, using python33" conflicts python27 python34 {
84    configure.args-replace --disable-python --enable-python=python3.3
85    depends_lib-append port:python33
86    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
87}
88
89variant python34 description "Enable Python plugin, using python34" conflicts python27 python33 {
90    configure.args-replace --disable-python --enable-python=python3.4
91    depends_lib-append port:python34
92    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
93}
94
95livecheck.type  regex
96livecheck.url   http://hexchat.github.io/downloads.html
97livecheck.regex ${name}-(\\d+(\\.\\d+)+)\\.tar
Note: See TracBrowser for help on using the repository browser.