source: trunk/dports/irc/hexchat/Portfile

Last change on this file was 154180, checked in by raimue@…, 13 months ago

hexchat: update to version 2.12.3

Remove patches applied upstream.

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