summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 06:22:27 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 06:22:27 +0800
commit363fae18ed1f97c352e334bf391808247186dcb8 (patch)
tree828b35e996e1dab4271495418e65170d094d46be /irc
parentf458ae6a7220e3c6a68f38dca11c6198805de3f8 (diff)
downloadmarcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar
marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.gz
marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.bz2
marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.lz
marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.xz
marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.zst
marcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9264 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'irc')
-rw-r--r--irc/lostirc/Makefile39
-rw-r--r--irc/lostirc/distinfo3
-rw-r--r--irc/lostirc/files/patch-src::libirc::DCC.cpp17
-rw-r--r--irc/lostirc/files/patch-src::libirc::Parser.cpp11
-rw-r--r--irc/lostirc/pkg-descr16
-rw-r--r--irc/lostirc/pkg-plist11
-rw-r--r--irc/xchat-gnome/Makefile119
-rw-r--r--irc/xchat-gnome/distinfo3
-rw-r--r--irc/xchat-gnome/pkg-descr11
-rw-r--r--irc/xchat-gnome/pkg-plist131
-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
16 files changed, 538 insertions, 0 deletions
diff --git a/irc/lostirc/Makefile b/irc/lostirc/Makefile
new file mode 100644
index 000000000..bfde407c8
--- /dev/null
+++ b/irc/lostirc/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: irc/lostirc
+# Date created: 01 Jul 2002
+# Whom: Juan Salaverria <rael@vectorstar.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lostirc
+PORTVERSION= 0.4.6
+PORTREVISION= 3
+CATEGORIES= irc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://demian.dyndns.org/src/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A simple and minimal IRC client for X
+
+LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget
+USE_GCC= 3.4+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-kde
+
+MAN1= lostirc.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog TODO README INSTALL
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/irc/lostirc/distinfo b/irc/lostirc/distinfo
new file mode 100644
index 000000000..7844ea7ae
--- /dev/null
+++ b/irc/lostirc/distinfo
@@ -0,0 +1,3 @@
+MD5 (lostirc-0.4.6.tar.gz) = 501cd56bc0740d599540fb415718b939
+SHA256 (lostirc-0.4.6.tar.gz) = 50f07178d65fdbed1e85980af039cdf251ae044fee639aaeb28e3949ef6e7edd
+SIZE (lostirc-0.4.6.tar.gz) = 622926
diff --git a/irc/lostirc/files/patch-src::libirc::DCC.cpp b/irc/lostirc/files/patch-src::libirc::DCC.cpp
new file mode 100644
index 000000000..ebebd2531
--- /dev/null
+++ b/irc/lostirc/files/patch-src::libirc::DCC.cpp
@@ -0,0 +1,17 @@
+--- src/libirc/DCC.cpp.ori Sat Feb 7 17:25:51 2004
++++ src/libirc/DCC.cpp Sat Feb 7 17:27:32 2004
+@@ -16,12 +16,13 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
++#include <sys/types.h>
++
+ #ifndef WIN32
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #else
+-#include <sys/types.h>
+ #include <sys/stat.h>
+ #define stat _stat
+ #endif
diff --git a/irc/lostirc/files/patch-src::libirc::Parser.cpp b/irc/lostirc/files/patch-src::libirc::Parser.cpp
new file mode 100644
index 000000000..a71575d93
--- /dev/null
+++ b/irc/lostirc/files/patch-src::libirc::Parser.cpp
@@ -0,0 +1,11 @@
+--- src/libirc/Parser.cpp.orig Sat May 31 09:25:44 2003
++++ src/libirc/Parser.cpp Mon Jul 7 00:37:53 2003
+@@ -681,7 +681,7 @@
+ ss >> time;
+
+ long date = std::atol(time.c_str());
+- time = std::ctime(&date);
++ time = std::ctime((const time_t *)&date);
+
+ Channel *c = _conn->findChannel(chan);
+ assert(c);
diff --git a/irc/lostirc/pkg-descr b/irc/lostirc/pkg-descr
new file mode 100644
index 000000000..ad04f7d08
--- /dev/null
+++ b/irc/lostirc/pkg-descr
@@ -0,0 +1,16 @@
+LostIRC is an IRC client for X, written in C++ using gtkmm as a widget set.
+The goal of the first stable version, is to make a simple, keyboard
+controlled IRC application with basic features implemented.
+
+Key features:
+
+ * Simple and minimal client, where the keyboard can be used almost
+ exclusively
+ * Tab-completion for both nicks and commands
+ * Autojoin servers and set which IRC commands to execute on connect
+ * Multi-server support
+ * DCC SEND support
+
+WWW: http://lostirc.sourceforge.net/
+
+morten@wtf.dk
diff --git a/irc/lostirc/pkg-plist b/irc/lostirc/pkg-plist
new file mode 100644
index 000000000..a7d25f92d
--- /dev/null
+++ b/irc/lostirc/pkg-plist
@@ -0,0 +1,11 @@
+bin/lostirc
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/applications/lostirc.desktop
+share/pixmaps/lostirc.png
+share/locale/da/LC_MESSAGES/lostirc.mo
+share/locale/fr/LC_MESSAGES/lostirc.mo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/irc/xchat-gnome/Makefile b/irc/xchat-gnome/Makefile
new file mode 100644
index 000000000..1cb8a72dc
--- /dev/null
+++ b/irc/xchat-gnome/Makefile
@@ -0,0 +1,119 @@
+# New ports collection makefile for: xchat-gnome
+# Date created: 04 May 2004
+# Whom: Koop Mast <kwm@rainbow-runner.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xchat
+PORTVERSION= 0.15
+PORTREVISION= 2
+CATEGORIES= irc gnome ipv6
+MASTER_SITES= http://releases.navi.cx/xchat-gnome/
+PKGNAMESUFFIX= -gnome
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
+
+MAINTAINER= ports@thepentagon.org
+COMMENT= An IRC client for GNOME 2 (development version)
+
+LIB_DEPENDS= sexy:${PORTSDIR}/x11-toolkits/libsexy \
+ notify:${PORTSDIR}/devel/libnotify
+
+USE_XLIB= yes
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix libgnomeui gnomedocutils desktopfileutils
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --disable-tcl
+GCONF_SCHEMAS= apps_xchat.schemas notification.schemas urlscraper.schemas
+INSTALLS_ICONS= yes
+INSTALLS_OMF= yes
+
+MAN1= xchat-gnome.1
+
+.if !defined(WITHOUT_DBUS)
+LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
+CONFIGURE_ARGS+= --enable-dbus
+USE_GNOME+= gconf2
+GCONF_SCHEMAS+= url_handler.schemas
+PLIST_SUB+= DBUS=""
+.else
+CONFIGURE_ARGS+=--disable-dbus
+PLIST_SUB+= DBUS="@comment "
+.endif
+
+.if defined(WITH_SOCKS)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
+CONFIGURE_ARGS+= --enable-socks
+.endif
+
+.if !defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+# openssl in now default in configure
+
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+CONFIGURE_ARGS+= --enable-python
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+= --disable-python
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.if defined(WITH_TCL)
+LIB_DEPENDS+= tcl83.1:${PORTSDIR}/lang/tcl83
+CONFIGURE_ARGS+=--enable-tcl=${LOCALBASE}/lib/tcl8.3
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
+ -I${LOCALBASE}/include/tcl8.3" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \
+ -L${LOCALBASE}/lib/tcl8.3"
+PLIST_SUB+= TCL=""
+.else
+CONFIGURE_ARGS+=--enable-tcl=no
+PLIST_SUB+= TCL="@comment "
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not build on 4.X
+.endif
+
+.if ${PERL_LEVEL} < 500600 || defined(WITHOUT_PERL)
+CONFIGURE_ARGS+=--disable-perl
+PLIST_SUB+= PERL="@comment "
+.else
+USE_PERL5= yes
+CONFIGURE_ARGS+=--enable-perl
+PLIST_SUB+= PERL=""
+.endif
+
+pre-everything::
+.if !defined(WITH_PYTHON) || !defined(WITH_SOCKS) || !defined(WITH_TCL)
+ @${ECHO_MSG} "You may specify the following on the command line:"
+ @${ECHO_MSG} ""
+.endif
+.if !defined(WITH_PYTHON)
+ @${ECHO_MSG} "WITH_PYTHON=yes for Python support"
+.endif
+.if !defined(WITH_SOCKS)
+ @${ECHO_MSG} "WITH_SOCKS=yes for SOCKS5 proxy support"
+.endif
+.if !defined(WITH_TCL)
+ @${ECHO_MSG} "WITH_TCL=yes for tcl support"
+.endif
+.if !defined(WITHOUT_PERL)
+ @${ECHO_MSG} "WITHOUT_PERL=yes to disable Perl support"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -E -e 's|PY_LIBS=.*|PY_LIBS="-L\$$PY_EXEC_PREFIX/lib/python\$$PY_VER/config -lpython\$$PY_VER ${PTHREAD_LIBS} -lutil"|' \
+ -e 's|tcl-8.4/lib|lib/tcl8.3|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/irc/xchat-gnome/distinfo b/irc/xchat-gnome/distinfo
new file mode 100644
index 000000000..f04e63716
--- /dev/null
+++ b/irc/xchat-gnome/distinfo
@@ -0,0 +1,3 @@
+MD5 (xchat-gnome-0.15.tar.bz2) = a0f1f011e594d85a5a5781cfc5f52221
+SHA256 (xchat-gnome-0.15.tar.bz2) = 1d066ee04e5ec2b2557e0e363078c4f38ec527522d958492c331facc24d2be57
+SIZE (xchat-gnome-0.15.tar.bz2) = 1501197
diff --git a/irc/xchat-gnome/pkg-descr b/irc/xchat-gnome/pkg-descr
new file mode 100644
index 000000000..5aa359429
--- /dev/null
+++ b/irc/xchat-gnome/pkg-descr
@@ -0,0 +1,11 @@
+Note that xchat-gnome is very young project and is under heavy development.
+You can consider xchat-gnome as alpha software, not that its unstable
+but in lack of (not-yet) implemented features.
+
+Xchat-gnome is a fork of the popular xchat irc client.
+But the difference between the two is that xchat-gnome aims at better
+gnome integration.
+
+For help see the website or visit #xchat-gnome on irc.freenode.net
+
+WWW: http://xchat-gnome.navi.cx/
diff --git a/irc/xchat-gnome/pkg-plist b/irc/xchat-gnome/pkg-plist
new file mode 100644
index 000000000..6bffdb06b
--- /dev/null
+++ b/irc/xchat-gnome/pkg-plist
@@ -0,0 +1,131 @@
+bin/xchat-gnome
+lib/xchat-gnome/plugins/autoaway.a
+lib/xchat-gnome/plugins/autoaway.la
+lib/xchat-gnome/plugins/autoaway.so
+%%DBUS%%lib/xchat-gnome/plugins/netmonitor.a
+%%DBUS%%lib/xchat-gnome/plugins/netmonitor.la
+%%DBUS%%lib/xchat-gnome/plugins/netmonitor.so
+lib/xchat-gnome/plugins/notification.a
+lib/xchat-gnome/plugins/notification.la
+lib/xchat-gnome/plugins/notification.so
+lib/xchat-gnome/plugins/notifyosd.a
+lib/xchat-gnome/plugins/notifyosd.la
+lib/xchat-gnome/plugins/notifyosd.so
+%%PERL%%lib/xchat-gnome/plugins/perl.a
+%%PERL%%lib/xchat-gnome/plugins/perl.la
+%%PERL%%lib/xchat-gnome/plugins/perl.so
+%%PYTHON%%lib/xchat-gnome/plugins/python.a
+%%PYTHON%%lib/xchat-gnome/plugins/python.la
+%%PYTHON%%lib/xchat-gnome/plugins/python.so
+lib/xchat-gnome/plugins/soundnotification.a
+lib/xchat-gnome/plugins/soundnotification.la
+lib/xchat-gnome/plugins/soundnotification.so
+%%TCL%%lib/xchat-gnome/plugins/tcl.a
+%%TCL%%lib/xchat-gnome/plugins/tcl.la
+%%TCL%%lib/xchat-gnome/plugins/tcl.so
+lib/xchat-gnome/plugins/urlscraper.a
+lib/xchat-gnome/plugins/urlscraper.la
+lib/xchat-gnome/plugins/urlscraper.so
+%%DBUS%%share/dbus-1/services/org.gnome.Xchat.service
+share/applications/xchat-gnome.desktop
+share/gnome/help/xchat-gnome/C/figures/xchat-gnome_main_window.png
+share/gnome/help/xchat-gnome/C/legal.xml
+share/gnome/help/xchat-gnome/C/xchat-gnome.xml
+share/omf/xchat-gnome/xchat-gnome-C.omf
+share/xchat-gnome/channel-list.glade
+share/xchat-gnome/connect-dialog.glade
+share/xchat-gnome/dcc-window.glade
+share/xchat-gnome/irc-network-editor.glade
+share/xchat-gnome/message.wav
+share/xchat-gnome/preferences-dialog.glade
+share/xchat-gnome/setup-dialog.glade
+share/xchat-gnome/topic-change.glade
+share/xchat-gnome/xchat-gnome-ui.xml
+share/xchat-gnome/xchat-gnome.glade
+share/icons/hicolor/128x128/apps/xchat-gnome.png
+share/icons/hicolor/16x16/apps/xchat-gnome-dcc.png
+share/icons/hicolor/16x16/apps/xchat-gnome-message-data.png
+share/icons/hicolor/16x16/apps/xchat-gnome-message-new.png
+share/icons/hicolor/16x16/apps/xchat-gnome-message-nickname-said.png
+share/icons/hicolor/16x16/apps/xchat-gnome-plugin.png
+share/icons/hicolor/16x16/apps/xchat-gnome-search-wrapped.png
+share/icons/hicolor/16x16/apps/xchat-gnome-status-halfop.png
+share/icons/hicolor/16x16/apps/xchat-gnome-status-operator.png
+share/icons/hicolor/16x16/apps/xchat-gnome-status-voice.png
+share/icons/hicolor/16x16/apps/xchat-gnome-users.png
+share/icons/hicolor/22x22/apps/xchat-gnome-message-new.png
+share/icons/hicolor/22x22/apps/xchat-gnome-message-nickname-said.png
+share/icons/hicolor/22x22/apps/xchat-gnome-plugin.png
+share/icons/hicolor/22x22/apps/xchat-gnome-status-halfop.png
+share/icons/hicolor/22x22/apps/xchat-gnome-status-operator.png
+share/icons/hicolor/22x22/apps/xchat-gnome-users.png
+share/icons/hicolor/48x48/apps/xchat-gnome.png
+share/icons/hicolor/scalable/apps/xchat-gnome-plugin.svg
+share/locale/am/LC_MESSAGES/xchat-gnome.mo
+share/locale/az/LC_MESSAGES/xchat-gnome.mo
+share/locale/bg/LC_MESSAGES/xchat-gnome.mo
+share/locale/bn/LC_MESSAGES/xchat-gnome.mo
+share/locale/ca/LC_MESSAGES/xchat-gnome.mo
+share/locale/cs/LC_MESSAGES/xchat-gnome.mo
+share/locale/da/LC_MESSAGES/xchat-gnome.mo
+share/locale/de/LC_MESSAGES/xchat-gnome.mo
+share/locale/el/LC_MESSAGES/xchat-gnome.mo
+share/locale/en_AU/LC_MESSAGES/xchat-gnome.mo
+share/locale/en_GB/LC_MESSAGES/xchat-gnome.mo
+share/locale/es/LC_MESSAGES/xchat-gnome.mo
+share/locale/et/LC_MESSAGES/xchat-gnome.mo
+share/locale/eu/LC_MESSAGES/xchat-gnome.mo
+share/locale/fi/LC_MESSAGES/xchat-gnome.mo
+share/locale/fr/LC_MESSAGES/xchat-gnome.mo
+share/locale/gl/LC_MESSAGES/xchat-gnome.mo
+share/locale/hi/LC_MESSAGES/xchat-gnome.mo
+share/locale/hr/LC_MESSAGES/xchat-gnome.mo
+share/locale/hu/LC_MESSAGES/xchat-gnome.mo
+share/locale/is/LC_MESSAGES/xchat-gnome.mo
+share/locale/it/LC_MESSAGES/xchat-gnome.mo
+share/locale/ja/LC_MESSAGES/xchat-gnome.mo
+share/locale/jbo/LC_MESSAGES/xchat-gnome.mo
+share/locale/ka/LC_MESSAGES/xchat-gnome.mo
+share/locale/ko/LC_MESSAGES/xchat-gnome.mo
+share/locale/ku/LC_MESSAGES/xchat-gnome.mo
+share/locale/lt/LC_MESSAGES/xchat-gnome.mo
+share/locale/lv/LC_MESSAGES/xchat-gnome.mo
+share/locale/mk/LC_MESSAGES/xchat-gnome.mo
+share/locale/ms/LC_MESSAGES/xchat-gnome.mo
+share/locale/nb/LC_MESSAGES/xchat-gnome.mo
+share/locale/oc/LC_MESSAGES/xchat-gnome.mo
+share/locale/pa/LC_MESSAGES/xchat-gnome.mo
+share/locale/pl/LC_MESSAGES/xchat-gnome.mo
+share/locale/pt/LC_MESSAGES/xchat-gnome.mo
+share/locale/pt_BR/LC_MESSAGES/xchat-gnome.mo
+share/locale/ru/LC_MESSAGES/xchat-gnome.mo
+share/locale/sk/LC_MESSAGES/xchat-gnome.mo
+share/locale/sl/LC_MESSAGES/xchat-gnome.mo
+share/locale/sq/LC_MESSAGES/xchat-gnome.mo
+share/locale/sr/LC_MESSAGES/xchat-gnome.mo
+share/locale/sv/LC_MESSAGES/xchat-gnome.mo
+share/locale/tl/LC_MESSAGES/xchat-gnome.mo
+share/locale/tr/LC_MESSAGES/xchat-gnome.mo
+share/locale/uk/LC_MESSAGES/xchat-gnome.mo
+share/locale/vi/LC_MESSAGES/xchat-gnome.mo
+share/locale/wa/LC_MESSAGES/xchat-gnome.mo
+share/locale/zh_CN/LC_MESSAGES/xchat-gnome.mo
+share/locale/zh_HK/LC_MESSAGES/xchat-gnome.mo
+share/locale/zh_TW/LC_MESSAGES/xchat-gnome.mo
+@dirrm share/xchat-gnome
+@dirrm share/omf/xchat-gnome
+@dirrm share/gnome/help/xchat-gnome/C/figures
+@dirrm share/gnome/help/xchat-gnome/C
+@dirrm share/gnome/help/xchat-gnome
+@dirrm lib/xchat-gnome/plugins
+@dirrm lib/xchat-gnome
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/tl/LC_MESSAGES
+@dirrmtry share/locale/tl
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/jbo/LC_MESSAGES
+@dirrmtry share/locale/jbo
diff --git a/irc/xchat1/Makefile b/irc/xchat1/Makefile
new file mode 100644
index 000000000..05597b5cc
--- /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= 9
+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/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..54af6d2ff
--- /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/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