source: trunk/dports/irc/xchat2/Portfile @ 101236

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

xchat2: Add explicit link against libpng and revbump

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 101236 2013-01-06 22:21:34Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                xchat2
7version             2.8.8
8revision            6
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          irc
11maintainers         nomaintainer
12description         GTK+2 IRC client
13homepage            http://www.xchat.org/
14platforms           darwin
15license             GPL-2+
16
17long_description \
18    XChat2 is a graphical IRC client based on GTK2 that has \
19    many features and can be scripted with Perl and/or Python.
20
21master_sites        http://xchat.org/files/source/${branch}/
22patch_sites         http://xchat.org/files/source/${branch}/patches/
23
24distname            xchat-${version}
25use_bzip2           yes
26
27checksums           md5     6775c44f38e84d06c06c336b32c4a452 \
28                    sha1    a4ac161e4e40f4bbabc492675a1ff4380dba8d68 \
29                    rmd160  1bc3e0ff00e15c83588dd21a3ef3e8e34f953331
30
31depends_build       port:pkgconfig
32depends_lib         port:gtk2 port:libsexy path:bin/perl:perl5 port:libpng
33
34patchfiles          patch-gtk2.19.7.diff patch-glib-2.32.diff
35patch.pre_args      -p1
36
37configure.args      --disable-python --disable-mmx --enable-ipv6 \
38                    --disable-openssl --disable-dependency-tracking
39universal_variant   no
40
41variant xft conflicts quartz description "Enable Xft2 font support" {
42    configure.args-append --enable-xft
43}
44
45variant ssl description "Enable SSL using openssl" {
46    configure.args-delete --disable-openssl
47    configure.args-append --enable-openssl
48    depends_lib-append port:openssl
49}
50
51variant quartz conflicts xft {
52    configure.args-append --disable-xlib
53}
54
55variant python25 description "Enable Python plugin, using python25" conflicts python26 python27 {
56    configure.args-delete --disable-python
57    configure.args-append --enable-python
58    depends_lib-append port:python25
59    configure.env pythonpath="${prefix}/bin/python2.5"
60}
61
62variant python26 description "Enable Python plugin, using python26" conflicts python25 python27 {
63    configure.args-delete --disable-python
64    configure.args-append --enable-python
65    depends_lib-append port:python26
66    configure.env pythonpath="${prefix}/bin/python2.6"
67}
68
69variant python27 description "Enable Python plugin, using python27" conflicts python25 python26 {
70    configure.args-delete --disable-python
71    configure.args-append --enable-python
72    depends_lib-append port:python27
73    configure.env pythonpath="${prefix}/bin/python2.7"
74}
75
76livecheck.url       http://www.xchat.org/files/source/${branch}/?S=D
77livecheck.regex     xchat-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.