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

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

irc/hexchat:
New port, successor to xchat2, closes #40256

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 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 110850 2013-09-08 12:00:31Z raimue@macports.org $
3
4PortSystem          1.0
5
6name                hexchat
7version             2.9.5
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  c3c3c0b777853e6f3984dae99c60e149a5ffef9b \
27                    sha256  11dfd0fbfb88d8dbb38f631fab8a7dffbb179f7f7dafe316953ed6f513ac623d
28
29depends_build       port:pkgconfig
30depends_lib         port:gtk2 \
31                    port:libsexy \
32                    path:bin/perl:perl5 \
33                    port:libpng \
34                    port:libnotify
35
36#patchfiles          patch-gtk2.19.7.diff patch-glib-2.32.diff patch-gmodule.diff
37
38patchfiles          patch-cflags.diff \
39                    patch-gobject.diff \
40                    patch-nls.diff \
41                    patch-strptime.diff
42patch.pre_args      -p1
43
44#post-extract {
45#    system "touch ${worksrcpath}/NEWS"
46#    system "touch ${worksrcpath}/ABOUT-NLS"
47#}
48
49use_autoreconf        yes
50
51configure.args      --disable-dependency-tracking \
52                    --disable-python \
53                    --disable-mmx \
54                    --enable-ipv6 \
55                    --disable-openssl \
56                    --enable-libnotify \
57                    --enable-spell=libsexy \
58                    --enable-socks
59
60# gettextize has not been run on the distributed tarball and cannot be run non-interactively
61configure.args-append --disable-nls
62universal_variant   no
63
64default_variants    +ssl
65
66variant xft conflicts quartz description "Enable Xft2 font support" {
67    configure.args-append --enable-xft
68}
69
70variant ssl description "Enable SSL using openssl" {
71    configure.args-delete --disable-openssl
72    configure.args-append --enable-openssl
73    depends_lib-append port:openssl
74}
75
76variant quartz conflicts xft {
77    configure.args-append --disable-xlib
78}
79
80variant python25 description "Enable Python plugin, using python25" conflicts python26 python27 {
81    configure.args-delete --disable-python
82    configure.args-append --enable-python
83    depends_lib-append port:python25
84    configure.env pythonpath="${prefix}/bin/python2.5"
85}
86
87variant python26 description "Enable Python plugin, using python26" conflicts python25 python27 {
88    configure.args-delete --disable-python
89    configure.args-append --enable-python
90    depends_lib-append port:python26
91    configure.env pythonpath="${prefix}/bin/python2.6"
92}
93
94variant python27 description "Enable Python plugin, using python27" conflicts python25 python26 {
95    configure.args-delete --disable-python
96    configure.args-append --enable-python
97    depends_lib-append port:python27
98    configure.env pythonpath="${prefix}/bin/python2.7"
99}
100
101livecheck.type  regex
102livecheck.url   http://hexchat.github.io/downloads.html
103livecheck.regex ${name}-(\\d+(\\.\\d+)+)\\.tar
Note: See TracBrowser for help on using the repository browser.