Ticket #16267: Portfile

File Portfile, 1.6 KB (added by emertens@…, 16 years ago)

Updated xchat2 Portfile

Line 
1# $Id: Portfile 30582 2007-10-31 20:26:00Z afb@macports.org $
2
3PortSystem 1.0
4
5name            xchat2
6version         2.8.6
7categories      irc
8maintainers     afb@macports.org openmaintainer
9description     GTK+2 IRC client
10homepage        http://www.xchat.org/
11platforms       darwin
12
13long_description \
14                XChat2 is a graphical IRC client based on GTK2 that has \
15                many features and can be scripted with Perl and/or Python.
16
17master_sites    http://xchat.org/files/source/2.8/
18patch_sites     http://xchat.org/files/source/2.8/patches/
19
20distname        xchat-${version}
21
22patchfiles      xc286-smallfixes.diff
23
24checksums       xchat-${version}.tar.bz2 md5 1f2670865d43a23a9abc596dde999aca \
25                xchat-${version}.tar.bz2 sha1 7a7463e65cb26c680ed70dd96cec98bcc05435a4 \
26                xchat-${version}.tar.bz2 rmd160 bc199e3b58a9db3dfd9f2af6bac7fb6162c53d6e \
27                xc286-smallfixes.diff md5 eb68b6261bf6740cb5f223627eb8f384 \
28                xc286-smallfixes.diff sha1 b13eb421f6d72fca195b398c606d9413aec57fc4 \
29                xc286-smallfixes.diff rmd160 91c654320b7b1f9d6b13f7b226fb4cec26054319
30               
31use_bzip2       yes
32
33depends_lib     port:gtk2 port:perl5.8
34
35patch.args      -p1
36
37configure.ldflags-append        "-L${x11prefix}/lib"
38configure.cflags-append "-I${prefix}/include"
39configure.cppflags-append "-I${x11prefix}/include -no-cpp-precomp"
40
41configure.args  --disable-python --disable-mmx
42
43platform darwin 6       { configure.args-append --enable-tcl=/System/Library/Tcl/8.3 }
44platform darwin 7       { configure.args-append --enable-tcl=/usr/lib }
45
46variant xft     { configure.args-append --enable-xft }
47variant ssl     { configure.args-append --enable-openssl }
48variant ipv6    { configure.args-append --enable-ipv6 }
49
50livecheck.url   http://www.xchat.org/files/source/2.8/?S=D
51livecheck.regex xchat-(\[0-9.\]+)${extract.suffix}