aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-22 22:07:26 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-22 22:07:26 +0000
commit1170ab8c6f386e7d090445fda77b37245bea6b29 (patch)
treefc4f5f8fd9af6045c59a0717aecaaae6527e6d47 /irc
parent533fb77b8ff252ffb270bd29a49b230aa2709262 (diff)
downloadports-1170ab8c6f386e7d090445fda77b37245bea6b29.tar.gz
ports-1170ab8c6f386e7d090445fda77b37245bea6b29.zip
Import of tirc: Token's IRC Client.
It has support for vi-like line editing, nickname completion ANSI-colours, flood protection, and more. PR: 13135 Submitted by: Dominik Rothert <dr@domix.de>
Notes
Notes: svn path=/head/; revision=20895
Diffstat (limited to 'irc')
-rw-r--r--irc/tirc/Makefile28
-rw-r--r--irc/tirc/distinfo1
-rw-r--r--irc/tirc/files/patch-aa11
-rw-r--r--irc/tirc/files/patch-ab11
-rw-r--r--irc/tirc/files/patch-ac11
-rw-r--r--irc/tirc/pkg-comment1
-rw-r--r--irc/tirc/pkg-descr3
-rw-r--r--irc/tirc/pkg-plist2
8 files changed, 68 insertions, 0 deletions
diff --git a/irc/tirc/Makefile b/irc/tirc/Makefile
new file mode 100644
index 000000000000..996250c092b6
--- /dev/null
+++ b/irc/tirc/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: tirc IRC-Client
+# Version required: 1.2
+# Date created: 14 August 1999
+# Whom: Dominik Rothert <dr@domix.de>
+#
+# $Id$
+#
+
+DISTNAME= tirc-1.2
+CATEGORIES= irc
+MASTER_SITES= http://www.domix.de/fbsd/ports/distfiles/
+
+MAINTAINER= dr@domix.de
+
+GNU_CONFIGURE= yes
+MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}"
+MAN1= tirc.1
+
+post-patch:
+ @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/*.c
+ @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/*.1
+
+post-install:
+ strip ${PREFIX}/bin/tirc
+ ${MKDIR} ${PREFIX}/share/tirc
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/dot.tircrc ${PREFIX}/share/tirc/tircrc
+
+.include <bsd.port.mk>
diff --git a/irc/tirc/distinfo b/irc/tirc/distinfo
new file mode 100644
index 000000000000..7f6359b2224e
--- /dev/null
+++ b/irc/tirc/distinfo
@@ -0,0 +1 @@
+MD5 (tirc-1.2.tar.gz) = d5e77df1f4e16c67cee602bc65dea6c6
diff --git a/irc/tirc/files/patch-aa b/irc/tirc/files/patch-aa
new file mode 100644
index 000000000000..64a319726184
--- /dev/null
+++ b/irc/tirc/files/patch-aa
@@ -0,0 +1,11 @@
+--- main.c.orig Sun Aug 22 14:44:04 1999
++++ main.c Sun Aug 22 14:44:26 1999
+@@ -278,7 +278,7 @@
+ fprintf(stderr, "DEBUG: visual debug output active.\n");
+ #endif
+ /* Parse the startup file(s) */
+- readrc("/usr/local/share/tircrc");
++ readrc("__PREFIX__/share/tirc/tircrc");
+
+ if ((home = getenv("HOME")) == NULL)
+ return 1;
diff --git a/irc/tirc/files/patch-ab b/irc/tirc/files/patch-ab
new file mode 100644
index 000000000000..fa006ff0f0cf
--- /dev/null
+++ b/irc/tirc/files/patch-ab
@@ -0,0 +1,11 @@
+--- tirc.1.orig Sun Aug 22 14:56:21 1999
++++ tirc.1 Sun Aug 22 14:56:40 1999
+@@ -618,7 +618,7 @@
+ .br
+ .SH FILES
+ .TP
+-.I /usr/local/share/tircrc
++.I __PREFIX__/share/tirc/tircrc
+ Global startup file.
+ .TP
+ .I $HOME/.tircrc
diff --git a/irc/tirc/files/patch-ac b/irc/tirc/files/patch-ac
new file mode 100644
index 000000000000..78fed8f9b55b
--- /dev/null
+++ b/irc/tirc/files/patch-ac
@@ -0,0 +1,11 @@
+--- configure.orig Sun Aug 22 14:55:40 1999
++++ configure Sun Aug 22 14:55:55 1999
+@@ -754,7 +754,7 @@
+ bsdi*) CC=${CC-"shlicc"}
+ OPTFLAG=${OPTFLAG-"-O2"}
+ LINTFLAGS=${LINTFLAGS-"-g -s"} ;;
+-freebsd*) OPTFLAG=${OPTFLAG-"-O2"}
++freebsd*) OPTFLAG=${OPTFLAG-"${CFLAGS}"}
+ LINTFLAGS=${LINTFLAGS-"-g -s"}
+ CXFLAGS=${CXFLAGS-"-xref all -html"} ;;
+ netbsd*) OPTFLAG=${OPTFLAG-"-O2"}
diff --git a/irc/tirc/pkg-comment b/irc/tirc/pkg-comment
new file mode 100644
index 000000000000..4317b1f62fd7
--- /dev/null
+++ b/irc/tirc/pkg-comment
@@ -0,0 +1 @@
+Token's 'Internet Relay Chat' Client
diff --git a/irc/tirc/pkg-descr b/irc/tirc/pkg-descr
new file mode 100644
index 000000000000..04ef1ad0744a
--- /dev/null
+++ b/irc/tirc/pkg-descr
@@ -0,0 +1,3 @@
+tirc is another IRC client. It has support for vi-like editor line and
+general usage, nickname completion, ANSI-colors, flood protection and
+many more.
diff --git a/irc/tirc/pkg-plist b/irc/tirc/pkg-plist
new file mode 100644
index 000000000000..2c42b07c4ea9
--- /dev/null
+++ b/irc/tirc/pkg-plist
@@ -0,0 +1,2 @@
+bin/tirc
+share/tirc/tircrc