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

Last change on this file since 75245 was 75245, checked in by blair@…, 9 years ago

If the libsexy port is installed, then xchat2 will pick it up as a
dependency, so add it as an explicit dependency.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 75245 2011-01-18 20:29:35Z blair@macports.org $
3
4PortSystem          1.0
5
6name                xchat2
7version             2.8.8
8revision            4
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          irc
11maintainers         afb openmaintainer
12description         GTK+2 IRC client
13homepage            http://www.xchat.org/
14platforms           darwin
15
16long_description \
17    XChat2 is a graphical IRC client based on GTK2 that has \
18    many features and can be scripted with Perl and/or Python.
19
20master_sites        http://xchat.org/files/source/${branch}/
21patch_sites         http://xchat.org/files/source/${branch}/patches/
22
23distname            xchat-${version}
24use_bzip2           yes
25
26checksums           md5     6775c44f38e84d06c06c336b32c4a452 \
27                    sha1    a4ac161e4e40f4bbabc492675a1ff4380dba8d68 \
28                    rmd160  1bc3e0ff00e15c83588dd21a3ef3e8e34f953331
29
30depends_build       port:pkgconfig
31depends_lib         port:gtk2 port:libsexy path:bin/perl:perl5
32
33patchfiles          patch-gtk2.19.7.diff
34patch.pre_args      -p1
35
36configure.args      --disable-python --disable-mmx --enable-ipv6 \
37                    --disable-openssl --disable-dependency-tracking
38universal_variant   no
39
40variant xft conflicts quartz description "Enable Xft2 font support" {
41    configure.args-append --enable-xft
42}
43
44variant ssl description "Enable SSL using openssl" {
45    configure.args-delete --disable-openssl
46    configure.args-append --enable-openssl
47    depends_lib-append port:openssl
48}
49
50variant quartz conflicts xft {
51    configure.args-append --disable-xlib
52}
53
54livecheck.url       http://www.xchat.org/files/source/${branch}/?S=D
55livecheck.regex     xchat-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.