summaryrefslogtreecommitdiffstats
path: root/irc/lostirc
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/lostirc
parentf458ae6a7220e3c6a68f38dca11c6198805de3f8 (diff)
downloadmarcuscom-ports-363fae18ed1f97c352e334bf391808247186dcb8.tar.gz
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/lostirc')
-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
6 files changed, 97 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%%