source: trunk/dports/irc/hexchat/Portfile @ 112558

Last change on this file since 112558 was 112558, checked in by raimue@…, 6 years ago

irc/hexchat:
Update to version 2.9.6.1.
Remove no longer necessary patches, add +nls variant, remove unsupported
+python2x variants and add +python3x variants.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 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 112558 2013-10-26 03:21:18Z raimue@macports.org $
3
4PortSystem          1.0
5
6name                hexchat
7version             2.9.6.1
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        http://dl.hexchat.net/hexchat/
24use_xz yes
25
26checksums           rmd160  256c23e638743486d9c64968d32b6bc18dc10301 \
27                    sha256  6267ff3c4d0aec8a808365b384115a769d5001d99dbb10403634667c43966470
28
29depends_build       port:pkgconfig
30depends_lib         port:gtk2 \
31                    port:libsexy \
32                    path:bin/perl:perl5 \
33                    port:libpng \
34                    port:libnotify
35
36configure.args      --disable-dependency-tracking \
37                    --enable-minimal-flags \
38                    --disable-nls \
39                    --disable-python \
40                    --disable-mmx \
41                    --enable-ipv6 \
42                    --disable-openssl \
43                    --enable-libnotify \
44                    --enable-spell=libsexy \
45                    --enable-socks
46
47universal_variant   no
48
49default_variants    +ssl +nls
50
51variant xft conflicts quartz description "Enable Xft2 font support" {
52    configure.args-append --enable-xft
53}
54
55variant ssl description "Enable SSL using openssl" {
56    configure.args-replace --disable-openssl --enable-openssl
57    depends_lib-append port:openssl
58}
59
60variant nls description "Enable localization support" {
61    configure.args-replace --disable-nls --enable-nls
62    depends_lib-append port:gettext
63}
64
65variant quartz conflicts xft {
66    configure.args-append --disable-xlib
67}
68
69variant python27 description "Enable Python plugin, using python27" conflicts python33 python34 {
70    configure.args-replace --disable-python --enable-python=python2.7
71    depends_lib-append port:python27
72    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig/
73}
74
75variant python33 description "Enable Python plugin, using python33" conflicts python27 python34 {
76    configure.args-replace --disable-python --enable-python=python3.3
77    depends_lib-append port:python33
78    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
79}
80
81variant python34 description "Enable Python plugin, using python34" conflicts python27 python33 {
82    configure.args-replace --disable-python --enable-python=python3.4
83    depends_lib-append port:python34
84    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
85}
86
87livecheck.type  regex
88livecheck.url   http://hexchat.github.io/downloads.html
89livecheck.regex ${name}-(\\d+(\\.\\d+)+)\\.tar
Note: See TracBrowser for help on using the repository browser.