| 1 | # $Id: Portfile 30582 2007-10-31 20:26:00Z afb@macports.org $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name xchat2 |
|---|
| 6 | version 2.8.6 |
|---|
| 7 | categories irc |
|---|
| 8 | maintainers afb@macports.org openmaintainer |
|---|
| 9 | description GTK+2 IRC client |
|---|
| 10 | homepage http://www.xchat.org/ |
|---|
| 11 | platforms darwin |
|---|
| 12 | |
|---|
| 13 | long_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 | |
|---|
| 17 | master_sites http://xchat.org/files/source/2.8/ |
|---|
| 18 | patch_sites http://xchat.org/files/source/2.8/patches/ |
|---|
| 19 | |
|---|
| 20 | distname xchat-${version} |
|---|
| 21 | |
|---|
| 22 | patchfiles xc286-smallfixes.diff |
|---|
| 23 | |
|---|
| 24 | checksums 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 | |
|---|
| 31 | use_bzip2 yes |
|---|
| 32 | |
|---|
| 33 | depends_lib port:gtk2 port:perl5.8 |
|---|
| 34 | |
|---|
| 35 | patch.args -p1 |
|---|
| 36 | |
|---|
| 37 | configure.ldflags-append "-L${x11prefix}/lib" |
|---|
| 38 | configure.cflags-append "-I${prefix}/include" |
|---|
| 39 | configure.cppflags-append "-I${x11prefix}/include -no-cpp-precomp" |
|---|
| 40 | |
|---|
| 41 | configure.args --disable-python --disable-mmx |
|---|
| 42 | |
|---|
| 43 | platform darwin 6 { configure.args-append --enable-tcl=/System/Library/Tcl/8.3 } |
|---|
| 44 | platform darwin 7 { configure.args-append --enable-tcl=/usr/lib } |
|---|
| 45 | |
|---|
| 46 | variant xft { configure.args-append --enable-xft } |
|---|
| 47 | variant ssl { configure.args-append --enable-openssl } |
|---|
| 48 | variant ipv6 { configure.args-append --enable-ipv6 } |
|---|
| 49 | |
|---|
| 50 | livecheck.url http://www.xchat.org/files/source/2.8/?S=D |
|---|
| 51 | livecheck.regex xchat-(\[0-9.\]+)${extract.suffix} |
|---|