summaryrefslogtreecommitdiff
path: root/irc/yagirc
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-07-07 20:36:01 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-07-07 20:36:01 +0000
commit6c9d2bd51f8692f046678159097031d27016835a (patch)
tree589dd8827392e72cd94600c5c7bf696e5c257e20 /irc/yagirc
parentAdd two sites for retrieving, remove ftp.netlib.org (diff)
Import of yagirc 0.64, an IRC client with a Gtk interface and
a Perl scripting interface.
Notes
Notes: svn path=/head/; revision=11783
Diffstat (limited to 'irc/yagirc')
-rw-r--r--irc/yagirc/Makefile23
-rw-r--r--irc/yagirc/distinfo1
-rw-r--r--irc/yagirc/files/patch-aa46
-rw-r--r--irc/yagirc/pkg-comment1
-rw-r--r--irc/yagirc/pkg-descr4
-rw-r--r--irc/yagirc/pkg-plist5
6 files changed, 80 insertions, 0 deletions
diff --git a/irc/yagirc/Makefile b/irc/yagirc/Makefile
new file mode 100644
index 000000000000..00d7084de3d7
--- /dev/null
+++ b/irc/yagirc/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: yagirc
+# Version required: 0.64
+# Date created: 6 July 1998
+# Whom: mph
+#
+# $Id$
+#
+
+DISTNAME= yagirc-0.64
+CATEGORIES= net
+MASTER_SITES= http://www.sicom.fi/~ikioma/
+
+MAINTAINER= mph@freebsd.org
+
+LIB_DEPENDS= gtk\\.1\\.4:${PORTSDIR}/x11/gtk
+
+USE_GMAKE= yes
+USE_PERL5= yes
+
+do-configure:
+ @ perl -pe "s,@LOCALBASE@,${LOCALBASE},g; s,@X11BASE@,${X11BASE},g; s,@PREFIX@,${PREFIX},g;" ${FILESDIR}/config.h > ${WRKSRC}/config.h
+
+.include <bsd.port.mk>
diff --git a/irc/yagirc/distinfo b/irc/yagirc/distinfo
new file mode 100644
index 000000000000..7791c4cb9db9
--- /dev/null
+++ b/irc/yagirc/distinfo
@@ -0,0 +1 @@
+MD5 (yagirc-0.64.tar.gz) = ee56382603d1155b27560c8e61d712b3
diff --git a/irc/yagirc/files/patch-aa b/irc/yagirc/files/patch-aa
new file mode 100644
index 000000000000..35a51d0af0b2
--- /dev/null
+++ b/irc/yagirc/files/patch-aa
@@ -0,0 +1,46 @@
+--- Makefile.orig Sun Jul 5 13:57:46 1998
++++ Makefile Tue Jul 7 15:11:24 1998
+@@ -18,7 +18,7 @@
+
+ ifdef USE_SCRIPT
+ perl_cflags = -DUSE_SCRIPT -I$(perl_path)
+-perl_lflags = -L$(perl_path) -lperl
++perl_lflags = -L$(perl_path) -lperl -lcrypt
+ ifdef USE_CRYPT
+ perl_lflags += -lcrypt
+ endif
+@@ -36,13 +36,13 @@
+
+ ifdef USE_PTHREADS
+ thread_cflags = -DUSE_PTHREADS
+-thread_lflags = -lpthread
++thread_lflags = -lc_r
+ endif
+
+-cp = $(cc)
+-cflags = -Wall -g -O2 -m486 -pipe -DUNIX -DPREFIX=\"$(prefix)\" $(thread_cflags) $(gui_cflags) $(perl_cflags) $(gui_cflags) $(gnome_cflags)
++cp = $(CC)
++cflags = $(CFLAGS) -DUNIX -DPREFIX=\"$(prefix)\" $(thread_cflags) $(gui_cflags) $(perl_cflags) $(gui_cflags) $(gnome_cflags)
+
+-ld = cc
++ld = $(CC)
+ lflags = $(gui_lflags) $(perl_lflags) $(gnome_lflags) $(thread_lflags) -lm
+
+ .SUFFIXES: .c .cpp .o
+@@ -65,11 +65,11 @@
+ install: all
+ mkdir -p $(prefix)/bin
+ mkdir -p $(prefix)/etc
+- mkdir -p $(prefix)/lib/yagirc
+- install -s $(exe) $(prefix)/bin
+- install -m 0644 irc.pl $(prefix)/lib/yagirc
+- install -m 0644 startup.pm $(prefix)/lib/yagirc
+- install -m 0644 yagirc.conf $(prefix)/etc
++ mkdir -p $(prefix)/share/examples/yagirc
++ ${BSD_INSTALL_PROGRAM} $(exe) $(prefix)/bin
++ ${BSD_INSTALL_DATA} irc.pl $(prefix)/share/examples/yagirc
++ ${BSD_INSTALL_DATA} startup.pm $(prefix)/share/examples/yagirc
++ ${BSD_INSTALL_DATA} yagirc.conf $(prefix)/etc
+
+ clean:
+ /bin/rm -f core *.o $(exe)
diff --git a/irc/yagirc/pkg-comment b/irc/yagirc/pkg-comment
new file mode 100644
index 000000000000..18b5fcab74a4
--- /dev/null
+++ b/irc/yagirc/pkg-comment
@@ -0,0 +1 @@
+A graphical IRC client scriptable in Perl.
diff --git a/irc/yagirc/pkg-descr b/irc/yagirc/pkg-descr
new file mode 100644
index 000000000000..2a5d5a87333c
--- /dev/null
+++ b/irc/yagirc/pkg-descr
@@ -0,0 +1,4 @@
+This IRC client is graphical (based on the Gtk toolkit) and scriptable
+using Perl.
+
+http://www.sicom.fi/~ikioma/yagirc.html
diff --git a/irc/yagirc/pkg-plist b/irc/yagirc/pkg-plist
new file mode 100644
index 000000000000..4f57ddeb4e56
--- /dev/null
+++ b/irc/yagirc/pkg-plist
@@ -0,0 +1,5 @@
+bin/yagirc
+etc/yagirc.conf
+share/examples/yagirc/irc.pl
+share/examples/yagirc/startup.pm
+@dirrm share/examples/yagirc