summaryrefslogtreecommitdiff
path: root/net/pfnet
diff options
context:
space:
mode:
authortv <tv>1998-11-22 22:30:07 +0000
committertv <tv>1998-11-22 22:30:07 +0000
commitfdf980a89d6637a6087b50fa4d10d794c54ef946 (patch)
treeb805a5b5acf0c6fac448f87f135d3bf22cf7e3e1 /net/pfnet
parent920f041c68d9890462d34eeec602923983ff1b41 (diff)
downloadpkgsrc-fdf980a89d6637a6087b50fa4d10d794c54ef946.tar.gz
Import Perl fnet 1.4, an ICB client with the same minimal functionality as
C-icb, using perl, and without the termios/readline bugs of C-icb.
Diffstat (limited to 'net/pfnet')
-rw-r--r--net/pfnet/Makefile24
-rw-r--r--net/pfnet/files/md53
-rw-r--r--net/pfnet/patches/patch-aa13
-rw-r--r--net/pfnet/pkg/COMMENT1
-rw-r--r--net/pfnet/pkg/DESCR9
-rw-r--r--net/pfnet/pkg/PLIST4
6 files changed, 54 insertions, 0 deletions
diff --git a/net/pfnet/Makefile b/net/pfnet/Makefile
new file mode 100644
index 00000000000..8e7ba2af98a
--- /dev/null
+++ b/net/pfnet/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/22 22:30:07 tv Exp $
+#
+
+DISTNAME= fnet.pl-1.4
+PKGNAME= pfnet-1.4
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.abattoir.com/pub/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.abattoir.com/~banshee/Tech/
+
+USE_PERL5= yes
+
+WRKSRC= ${WRKDIR}/fnet-1.4
+
+do-build:
+ ${SED} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/fnet.pl >${WRKSRC}/pfnet
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/CMDLINE.pm ${WRKSRC}/FNET.pm \
+ ${PREFIX}/lib/perl5/site_perl/
+ ${INSTALL_SCRIPT} ${WRKSRC}/pfnet ${PREFIX}/bin/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/pfnet/files/md5 b/net/pfnet/files/md5
new file mode 100644
index 00000000000..37f8272bb7e
--- /dev/null
+++ b/net/pfnet/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/11/22 22:30:08 tv Exp $
+
+MD5 (fnet.pl-1.4.tar.gz) = e3a0b08b2e5be413349e7d1b5cde5ec0
diff --git a/net/pfnet/patches/patch-aa b/net/pfnet/patches/patch-aa
new file mode 100644
index 00000000000..cac9996120e
--- /dev/null
+++ b/net/pfnet/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/11/22 22:30:08 tv Exp $
+
+--- CMDLINE.pm.orig Sun Nov 22 17:14:46 1998
++++ CMDLINE.pm Sun Nov 22 17:15:10 1998
+@@ -50,7 +50,7 @@
+ }
+ $line = '';
+ $backspace = $linelen;
+- } elsif ($ordch == 8) { # Ctrl-h
++ } elsif ($ordch == 8 || $ordch == 127) { # Ctrl-h
+ if ($linelen == 0) {
+ goto EXIT;
+ }
diff --git a/net/pfnet/pkg/COMMENT b/net/pfnet/pkg/COMMENT
new file mode 100644
index 00000000000..da755fc9eb4
--- /dev/null
+++ b/net/pfnet/pkg/COMMENT
@@ -0,0 +1 @@
+Minimal FNET-like ICB client written in Perl
diff --git a/net/pfnet/pkg/DESCR b/net/pfnet/pkg/DESCR
new file mode 100644
index 00000000000..801628e9fbc
--- /dev/null
+++ b/net/pfnet/pkg/DESCR
@@ -0,0 +1,9 @@
+This is the perl fnet client for those times when you just don't want to
+compile fnet on your target machine. It was written primarily as an easy
+way to interface bots and intelligence into a standard client without the
+pain of C's string handling. However, perl runs so large that in good
+conscience I can't suggest that one run this all of the time.
+
+As the author uses only the old C client, none of the the fancy schmancy
+TCL commands have been included here. This release is a full featured
+client with most commands.
diff --git a/net/pfnet/pkg/PLIST b/net/pfnet/pkg/PLIST
new file mode 100644
index 00000000000..b8cf9a22cbc
--- /dev/null
+++ b/net/pfnet/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/22 22:30:08 tv Exp $
+bin/pfnet
+lib/perl5/site_perl/CMDLINE.pm
+lib/perl5/site_perl/FNET.pm