aboutsummaryrefslogtreecommitdiffstats
path: root/net/gopher
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-12-12 08:44:48 +0800
committerats <ats@FreeBSD.org>1994-12-12 08:44:48 +0800
commit0c11cd0bcaa6b294d1703c4a6032a8bc77ad9559 (patch)
tree3bbfae487578e50e0702036d20d8d44436e30045 /net/gopher
parent2aa33d29e770abaf6d4804dd6d9282cecea4980e (diff)
downloadfreebsd-ports-gnome-0c11cd0bcaa6b294d1703c4a6032a8bc77ad9559.tar.gz
freebsd-ports-gnome-0c11cd0bcaa6b294d1703c4a6032a8bc77ad9559.tar.zst
freebsd-ports-gnome-0c11cd0bcaa6b294d1703c4a6032a8bc77ad9559.zip
Add gopher dir.
Diffstat (limited to 'net/gopher')
-rw-r--r--net/gopher/Makefile19
-rw-r--r--net/gopher/files/patch-aa48
-rw-r--r--net/gopher/pkg-comment1
-rw-r--r--net/gopher/pkg-descr2
-rw-r--r--net/gopher/pkg-plist11
5 files changed, 81 insertions, 0 deletions
diff --git a/net/gopher/Makefile b/net/gopher/Makefile
new file mode 100644
index 000000000000..5d4024ae67dd
--- /dev/null
+++ b/net/gopher/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: gopher
+# Version required: 2.1
+# Date created: 11 Dec 1994
+# Whom: ats
+#
+# $Id: Makefile,v 1.1.1.1 1994/10/23 01:24:26 torstenb Exp $
+#
+
+DISTNAME= gopher2.1
+MASTER_SITES= ftp://boombox.micro.umn.edu/pub/gopher/Unix/
+EXTRACT_SUFX= .tar.Z
+NCFTPFLAGS?= -P -N
+USE_GMAKE= yes
+
+pre-install:
+ mkdir -p ${PREFIX}/bin
+ mkdir -p ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/net/gopher/files/patch-aa b/net/gopher/files/patch-aa
new file mode 100644
index 000000000000..2c16f826bfca
--- /dev/null
+++ b/net/gopher/files/patch-aa
@@ -0,0 +1,48 @@
+*** gopherd/error.c.ORIG Tue Jul 19 22:27:54 1994
+--- gopherd/error.c Sun Dec 11 19:44:34 1994
+***************
+*** 287,293 ****
+
+ extern int errno; /* UNIX error number */
+ extern int sys_nerr; /* # of error message strings in sys table */
+- extern char *sys_errlist[]; /* the system error message table */
+
+ #ifdef SYS5
+ int t_errno;
+--- 287,292 ----
+*** gopher/globals.h.ORIG Wed Jul 6 17:38:40 1994
+--- gopher/globals.h Sun Dec 11 19:50:17 1994
+***************
+*** 120,126 ****
+
+ #ifndef VMS
+ extern char **environ; /* User environment array */
+- extern char *sys_errlist[];
+ #endif
+
+ /*** VMS needs special interrupt and subprocess handling ***/
+--- 120,125 ----
+*** gopher/gopher.c.ORIG Fri Nov 25 18:40:21 1994
+--- gopher/gopher.c Sun Dec 11 19:51:49 1994
+***************
+*** 1149,1155 ****
+ #else
+ extern int h_errno;
+ extern int sys_nerr;
+- extern char *sys_errlist[];
+ extern int errno;
+ #endif
+
+--- 1149,1154 ----
+*** Makefile.config.ORIG Wed Nov 30 01:12:16 1994
+--- Makefile.config Sun Dec 11 19:57:37 1994
+***************
+*** 304,309 ****
+--- 304,310 ----
+
+ OTHERLIBS = $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \
+ $(SVR4LIBS) $(AUXLIBS) $(DGUXLIBS)
++ OTHERLIBS = -lcompat -lcrypt
+
+ CLIENTLIBS = -lcurses -ltermcap -lgopher $(OTHERLIBS)
+ SERVERLIBS = -lm -lgopher $(OTHERLIBS) $(LOADLIBS)
diff --git a/net/gopher/pkg-comment b/net/gopher/pkg-comment
new file mode 100644
index 000000000000..9668d71384d5
--- /dev/null
+++ b/net/gopher/pkg-comment
@@ -0,0 +1 @@
+gopher - client and server for access to a distributed document service.
diff --git a/net/gopher/pkg-descr b/net/gopher/pkg-descr
new file mode 100644
index 000000000000..25ca6b9151b2
--- /dev/null
+++ b/net/gopher/pkg-descr
@@ -0,0 +1,2 @@
+Gopher - a system to connect and maintain a distributed document
+delivery service all over the world.
diff --git a/net/gopher/pkg-plist b/net/gopher/pkg-plist
new file mode 100644
index 000000000000..6651c1eb623c
--- /dev/null
+++ b/net/gopher/pkg-plist
@@ -0,0 +1,11 @@
+@cwd /usr/local
+bin/gopher
+bin/gophfilt
+etc/gopherd.conf
+etc/gopherd
+etc/gindexd
+etc/gopderdlocal.conf
+etc/gopherls
+lib/gopher.rc
+lib/gopher.hlp
+lib/gopherremote.rc