summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-31 11:40:40 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-31 11:40:40 +0800
commit11f62c62f4000c837d7ea041ef3cd6b675361984 (patch)
tree9500c20c40188be3eb6de5414e5b2a92aaa471db /irc
parentffac773188a6e4b2626962dd0d0a79cd82728285 (diff)
downloadmarcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.tar
marcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.tar.gz
marcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.tar.bz2
marcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.tar.lz
marcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.tar.xz
marcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.tar.zst
marcuscom-ports-11f62c62f4000c837d7ea041ef3cd6b675361984.zip
X11BASE -> LOCALBASE, gdk-pixbuf-config lives in LOCALBASE. Bump the
PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6902 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'irc')
-rw-r--r--irc/xchat1/Makefile89
-rw-r--r--irc/xchat1/distinfo3
-rw-r--r--irc/xchat1/files/patch-configure11
-rw-r--r--irc/xchat1/files/patch-src::common::cfgfiles.c11
-rw-r--r--irc/xchat1/pkg-descr8
-rw-r--r--irc/xchat1/pkg-plist55
6 files changed, 177 insertions, 0 deletions
diff --git a/irc/xchat1/Makefile b/irc/xchat1/Makefile
new file mode 100644
index 000000000..62f548659
--- /dev/null
+++ b/irc/xchat1/Makefile
@@ -0,0 +1,89 @@
+# New ports collection makefile for: xchat
+# Date created: 17 Nov 1998
+# Whom: Jim Mock <jim@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xchat
+PORTVERSION= 1.8.11
+PORTREVISION= 7
+CATEGORIES+= irc gnome ipv6
+MASTER_SITES= http://xchat.org/files/source/1.8/ \
+ http://xchat.linuxpower.org/files/source/1.8/
+
+MAINTAINER?= ports@FreeBSD.org
+COMMENT= An X11 IRC client using the GTK+ toolkit, and optionally, GNOME
+
+# This port has a slave port japanese/xchat. Do not carelessly overwrite
+# the variables or the targets defined in it. When you need to, please
+# contact its maintainer.
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_ICONV= yes
+USE_PERL5= yes
+USE_GNOME= gtk12
+WANT_GNOME= yes
+GNU_CONFIGURE= yes
+# Assign with `+=' for slave ports
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lintl -liconv"
+CONFIGURE_ARGS+= --without-included-gettext \
+ --enable-nls \
+ --enable-ipv6 \
+ --datadir="${PREFIX}/share" \
+ --enable-perl
+LATEST_LINK= xchat1
+
+.if defined(WITH_SSL)
+USE_OPENSSL= YES
+CONFIGURE_ARGS+= --enable-openssl
+.endif
+
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+CONFIGURE_ARGS+= --enable-python
+.else
+CONFIGURE_ARGS+= --disable-python
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SOCKS)
+# Assign with `+=' for slave ports
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
+CONFIGURE_ARGS+= --enable-socks
+.endif
+
+.if defined(WITH_TRANSPARENCY)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/gdk-pixbuf-config:${PORTSDIR}/graphics/gdk-pixbuf
+CONFIGURE_ARGS+= --enable-gdk-pixbuf
+.endif
+
+.if ${HAVE_GNOME:Mimlib}!=""
+USE_GNOME= imlib
+CONFIGURE_ARGS+= --enable-gnome --enable-panel --enable-gdk-pixbuf \
+ --enable-zvt
+MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
+ utildir="${PREFIX}/share/gnome/apps/Internet"
+.else
+CONFIGURE_ARGS+= --disable-gnome --disable-zvt
+.endif
+
+post-patch:
+ @${PERL} -pi \
+ -e 's|-lpthread|${PTHREAD_LIBS}|g;' \
+ ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing xchat docs in ${PREFIX}/share/doc/xchat"
+ @${MKDIR} ${PREFIX}/share/doc/xchat && ${CHMOD} a+rx ${PREFIX}/share/doc/xchat
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/xchat
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchat
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xchat
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/irc/xchat1/distinfo b/irc/xchat1/distinfo
new file mode 100644
index 000000000..0e2f124dc
--- /dev/null
+++ b/irc/xchat1/distinfo
@@ -0,0 +1,3 @@
+MD5 (xchat-1.8.11.tar.bz2) = 951f5b2fe2d5deef08f7f519414072a1
+SHA256 (xchat-1.8.11.tar.bz2) = b3d457e014649e4b25ba5241e6dde600ffe2c8c6c4d462b8d4392b9f38b5abed
+SIZE (xchat-1.8.11.tar.bz2) = 850453
diff --git a/irc/xchat1/files/patch-configure b/irc/xchat1/files/patch-configure
new file mode 100644
index 000000000..1d6df50fa
--- /dev/null
+++ b/irc/xchat1/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Jan 15 23:38:08 2003
++++ configure Wed Jan 15 23:38:08 2003
+@@ -6017,4 +6017,4 @@
+ #include "confdefs.h"
+ #include <libintl.h>
+ extern int _nl_msg_cat_cntr;
+-extern int *_nl_domain_bindings;
++extern int *libintl_nl_domain_bindings;
+@@ -6031,2 +6031,2 @@
+-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
++return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings
diff --git a/irc/xchat1/files/patch-src::common::cfgfiles.c b/irc/xchat1/files/patch-src::common::cfgfiles.c
new file mode 100644
index 000000000..d33af116d
--- /dev/null
+++ b/irc/xchat1/files/patch-src::common::cfgfiles.c
@@ -0,0 +1,11 @@
+--- src/common/cfgfiles.c.orig Mon Mar 29 15:46:01 2004
++++ src/common/cfgfiles.c Mon Mar 29 15:46:20 2004
+@@ -600,7 +600,7 @@
+
+ prefs.autoresume = 1;
+ prefs.show_away_once = 1;
+- prefs.show_away_message = 1;
++ prefs.show_away_message = 0;
+ prefs.indent_pixels = 80;
+ prefs.dialog_indent_pixels = 80;
+ prefs.indent_nicks = 1;
diff --git a/irc/xchat1/pkg-descr b/irc/xchat1/pkg-descr
new file mode 100644
index 000000000..8fb4ab1a1
--- /dev/null
+++ b/irc/xchat1/pkg-descr
@@ -0,0 +1,8 @@
+XChat is a graphical IRC client. It requires a computer running a
+UNIX-like OS and the X Window System (X11), and the GTK library. It can
+also (optionally) take advantage of GNOME and use Perl and Python
+scripts.
+
+WWW: http://xchat.org/
+
+- Jim <jim@FreeBSD.org>
diff --git a/irc/xchat1/pkg-plist b/irc/xchat1/pkg-plist
new file mode 100644
index 000000000..feeacf15b
--- /dev/null
+++ b/irc/xchat1/pkg-plist
@@ -0,0 +1,55 @@
+bin/xchat
+bin/xchat-text
+%%NOGNOME:%%etc/X11/applnk/Internet/xchat.desktop
+%%PORTDOCS%%share/doc/xchat/ChangeLog
+%%PORTDOCS%%share/doc/xchat/README
+%%PORTDOCS%%share/doc/xchat/xchat-1.html
+%%PORTDOCS%%share/doc/xchat/xchat-10.html
+%%PORTDOCS%%share/doc/xchat/xchat-2.html
+%%PORTDOCS%%share/doc/xchat/xchat-3.html
+%%PORTDOCS%%share/doc/xchat/xchat-4.html
+%%PORTDOCS%%share/doc/xchat/xchat-5.html
+%%PORTDOCS%%share/doc/xchat/xchat-6.html
+%%PORTDOCS%%share/doc/xchat/xchat-7.html
+%%PORTDOCS%%share/doc/xchat/xchat-8.html
+%%PORTDOCS%%share/doc/xchat/xchat-9.html
+%%PORTDOCS%%share/doc/xchat/xchat.html
+%%PORTDOCS%%share/doc/xchat/xchat.sgml
+%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
+%%GNOME:%%share/gnome/pixmaps/xchat.png
+%%PORTDOCS%%@dirrm share/doc/xchat
+share/locale/ca/LC_MESSAGES/xchat.mo
+share/locale/cs/LC_MESSAGES/xchat.mo
+share/locale/da/LC_MESSAGES/xchat.mo
+share/locale/de/LC_MESSAGES/xchat.mo
+share/locale/el/LC_MESSAGES/xchat.mo
+share/locale/es/LC_MESSAGES/xchat.mo
+share/locale/fi/LC_MESSAGES/xchat.mo
+share/locale/fr/LC_MESSAGES/xchat.mo
+share/locale/he/LC_MESSAGES/xchat.mo
+share/locale/hu/LC_MESSAGES/xchat.mo
+share/locale/it/LC_MESSAGES/xchat.mo
+share/locale/ja/LC_MESSAGES/xchat.mo
+share/locale/ko/LC_MESSAGES/xchat.mo
+share/locale/lt/LC_MESSAGES/xchat.mo
+share/locale/lv/LC_MESSAGES/xchat.mo
+share/locale/nl/LC_MESSAGES/xchat.mo
+share/locale/no/LC_MESSAGES/xchat.mo
+share/locale/pl/LC_MESSAGES/xchat.mo
+share/locale/pt/LC_MESSAGES/xchat.mo
+share/locale/pt_BR/LC_MESSAGES/xchat.mo
+share/locale/ro/LC_MESSAGES/xchat.mo
+share/locale/ru/LC_MESSAGES/xchat.mo
+share/locale/sk/LC_MESSAGES/xchat.mo
+share/locale/sl/LC_MESSAGES/xchat.mo
+share/locale/sr/LC_MESSAGES/xchat.mo
+share/locale/sv/LC_MESSAGES/xchat.mo
+share/locale/tr/LC_MESSAGES/xchat.mo
+share/locale/uk/LC_MESSAGES/xchat.mo
+share/locale/vi/LC_MESSAGES/xchat.mo
+share/locale/zh_CN/LC_MESSAGES/xchat.mo
+share/locale/zh_TW.Big5/LC_MESSAGES/xchat.mo
+%%NOGNOME:%%share/pixmaps/xchat.png
+%%NOGNOME:%%@dirrmtry etc/X11/applnk/Internet
+%%NOGNOME:%%@dirrmtry etc/X11/applnk
+%%NOGNOME:%%@dirrmtry etc/X11