aboutsummaryrefslogtreecommitdiff
path: root/mbone/nte
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1996-11-10 21:14:52 +0000
committerBill Fenner <fenner@FreeBSD.org>1996-11-10 21:14:52 +0000
commit79d12622c61bd17f08cd7ef81165f57dc937d975 (patch)
treec5907cbbae376381518e7954bc3b12206134ac73 /mbone/nte
parent753492eaa252fc3473b259202a4ae41417dd7047 (diff)
downloadports-79d12622c61bd17f08cd7ef81165f57dc937d975.tar.gz
ports-79d12622c61bd17f08cd7ef81165f57dc937d975.zip
Notes
Diffstat (limited to 'mbone/nte')
-rw-r--r--mbone/nte/Makefile38
-rw-r--r--mbone/nte/distinfo1
-rw-r--r--mbone/nte/files/Makefile.freebsd15
-rw-r--r--mbone/nte/files/Makefile.work2
-rw-r--r--mbone/nte/files/patch-aa14
-rw-r--r--mbone/nte/files/patch-ab20
-rw-r--r--mbone/nte/files/patch-ac10
-rw-r--r--mbone/nte/files/patch-ad11
-rw-r--r--mbone/nte/files/patch-ae19
-rw-r--r--mbone/nte/pkg-comment1
-rw-r--r--mbone/nte/pkg-descr16
-rw-r--r--mbone/nte/pkg-plist1
-rw-r--r--mbone/nte/scripts/configure5
13 files changed, 153 insertions, 0 deletions
diff --git a/mbone/nte/Makefile b/mbone/nte/Makefile
new file mode 100644
index 000000000000..b9ace9939754
--- /dev/null
+++ b/mbone/nte/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: nte
+# Version required: 1.5a23
+# Date created: 5 September 1996
+# Whom: Bill Fenner <fenner@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= nt.1.5a23
+PKGNAME= nte-1.5a23
+CATEGORIES+= mbone
+MASTER_SITES= ftp://cs.ucl.ac.uk/mice/nte/
+RESTRICTED= "Contains DES encryption"
+
+MAINTAINER= fenner@FreeBSD.org
+
+TK_DIR= ${PORTSDIR}/x11/tk41
+TK_SRC= ${TK_DIR}/work/tk4.1
+
+DEPENDS= ${TK_DIR}
+LIB_DEPENDS= tk41\\.1:${TK_DIR}
+
+NO_WRKSUBDIR= yes
+USE_GMAKE= yes
+USE_X11= yes
+# Pass this on to our child
+MAKE_ENV= TK_SRC=${TK_SRC}
+
+#DISGUSTING HACK ALERT
+#Although nte includes an hsearch.c for those who don't have it in
+# libc, there's no way to get the default Makefile to build it.
+# So we build it here.
+pre-build: work/freebsd/hsearch.o
+
+work/freebsd/hsearch.o: work/src/hsearch.c
+ ${CC} -Iwork/src ${CFLAGS} -c -o $@ work/src/hsearch.c
+
+.include <bsd.port.mk>
diff --git a/mbone/nte/distinfo b/mbone/nte/distinfo
new file mode 100644
index 000000000000..0c75a5cb8088
--- /dev/null
+++ b/mbone/nte/distinfo
@@ -0,0 +1 @@
+MD5 (nt.1.5a23.tar.gz) = 1a7dcfe59c367361ee4414ff09254729
diff --git a/mbone/nte/files/Makefile.freebsd b/mbone/nte/files/Makefile.freebsd
new file mode 100644
index 000000000000..8bfb5cbcafcd
--- /dev/null
+++ b/mbone/nte/files/Makefile.freebsd
@@ -0,0 +1,15 @@
+CC=cc
+INCLUDES=-I${LOCALBASE}/include -I${X11BASE}/include -I${TK_SRC}/generic
+LIB_DIR=${LOCALBASE}/lib
+LIBS=-L${LIB_DIR} -ltk41 -ltcl75 -lm -L${X11BASE}/lib -lX11
+CFLAGS+=-ggdb $(INCLUDES) -DFREEBSD -DPROTOTYPES -DHAVE_NO_VALUES_H -DHAVE_LIMITS_H -DHAVE_UNISTD_H -DMAXINT=INT_MAX -DDEFINED_ERRLIST
+# for search.h
+CFLAGS+=-I../src
+
+OBJS+=hsearch.o
+
+install: all
+ install -c -s -m 755 -o bin -g bin nt ${PREFIX}/bin
+
+clean:
+ rm *.o *.tcl *.ehtml tcl2c
diff --git a/mbone/nte/files/Makefile.work b/mbone/nte/files/Makefile.work
new file mode 100644
index 000000000000..6b6d10192057
--- /dev/null
+++ b/mbone/nte/files/Makefile.work
@@ -0,0 +1,2 @@
+all install clean:
+ cd freebsd; $(MAKE) $@
diff --git a/mbone/nte/files/patch-aa b/mbone/nte/files/patch-aa
new file mode 100644
index 000000000000..4e6b46fff40a
--- /dev/null
+++ b/mbone/nte/files/patch-aa
@@ -0,0 +1,14 @@
+--- src/search.h.orig Wed Sep 4 03:54:13 1996
++++ src/search.h Thu Oct 31 14:19:33 1996
+@@ -14,11 +14,6 @@
+ extern "C" {
+ #endif
+
+-#ifndef _SIZE_T
+-#define _SIZE_T
+-typedef unsigned size_t;
+-#endif
+-
+ /* HSEARCH(3C) */
+ typedef enum { FIND, ENTER } ACTION;
+
diff --git a/mbone/nte/files/patch-ab b/mbone/nte/files/patch-ab
new file mode 100644
index 000000000000..74faff7e68cb
--- /dev/null
+++ b/mbone/nte/files/patch-ab
@@ -0,0 +1,20 @@
+--- src/Makefile.template.orig Thu Oct 31 14:35:42 1996
++++ src/Makefile.template Thu Oct 31 14:36:23 1996
+@@ -168,13 +168,13 @@
+ $(CC) $(CFLAGS) -c libs.c
+
+ ../src/help/blocks.ehtml: text2html ../src/help/blocks.html
+- text2html < ../src/help/blocks.html > ../src/help/blocks.ehtml
++ ./text2html < ../src/help/blocks.html > ../src/help/blocks.ehtml
+ ../src/help/bindings.ehtml: text2html ../src/help/bindings.html
+- text2html < ../src/help/bindings.html > ../src/help/bindings.ehtml
++ ./text2html < ../src/help/bindings.html > ../src/help/bindings.ehtml
+ ../src/help/menus.ehtml: text2html ../src/help/menus.html
+- text2html < ../src/help/menus.html > ../src/help/menus.ehtml
++ ./text2html < ../src/help/menus.html > ../src/help/menus.ehtml
+ ../src/help/xresources.ehtml: text2html ../src/help/xresources.html
+- text2html < ../src/help/xresources.html > ../src/help/xresources.ehtml
++ ./text2html < ../src/help/xresources.html > ../src/help/xresources.ehtml
+
+
+
diff --git a/mbone/nte/files/patch-ac b/mbone/nte/files/patch-ac
new file mode 100644
index 000000000000..f8253b211750
--- /dev/null
+++ b/mbone/nte/files/patch-ac
@@ -0,0 +1,10 @@
+--- src/www_fns.c.orig Thu Oct 31 14:35:46 1996
++++ src/www_fns.c Thu Oct 31 14:36:00 1996
+@@ -42,7 +42,6 @@
+ #include "ui_fns.h"
+ #include <tcl.h>
+ #include <tk.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <errno.h>
diff --git a/mbone/nte/files/patch-ad b/mbone/nte/files/patch-ad
new file mode 100644
index 000000000000..270999c42e0d
--- /dev/null
+++ b/mbone/nte/files/patch-ad
@@ -0,0 +1,11 @@
+--- src/qfdes/qfDES-memory.c.orig Thu Oct 31 14:39:50 1996
++++ src/qfdes/qfDES-memory.c Thu Oct 31 14:41:52 1996
+@@ -12,7 +12,7 @@
+
+ #include <stdio.h>
+ #include <memory.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include "qfDES.h"
+
diff --git a/mbone/nte/files/patch-ae b/mbone/nte/files/patch-ae
new file mode 100644
index 000000000000..67c19eb42c95
--- /dev/null
+++ b/mbone/nte/files/patch-ae
@@ -0,0 +1,19 @@
+*** src/hsearch.c.orig Thu Oct 31 16:19:42 1996
+--- src/hsearch.c Thu Oct 31 16:20:02 1996
+***************
+*** 19,25 ****
+ Cambridge, MA 02139, USA. */
+
+ #include "ansidecl.h"
+! #include <malloc.h>
+ #include <string.h>
+
+ #include "search.h"
+--- 19,25 ----
+ Cambridge, MA 02139, USA. */
+
+ #include "ansidecl.h"
+! #include <stdlib.h>
+ #include <string.h>
+
+ #include "search.h"
diff --git a/mbone/nte/pkg-comment b/mbone/nte/pkg-comment
new file mode 100644
index 000000000000..c0db014bdd8a
--- /dev/null
+++ b/mbone/nte/pkg-comment
@@ -0,0 +1 @@
+Multicast Network Text Editor
diff --git a/mbone/nte/pkg-descr b/mbone/nte/pkg-descr
new file mode 100644
index 000000000000..5ad644edc639
--- /dev/null
+++ b/mbone/nte/pkg-descr
@@ -0,0 +1,16 @@
+NTE is a shared text editor designed for use on the Mbone. It is
+not a word processor and it is not a whiteboard - if you want a
+whiteboard, wb from LBL is a much better whiteboard.
+
+Using NTE can be very interactive - unless you lock a block of
+text, anyone else in your session can edit that text or delete it.
+This is intentional. Many people can (if they wish) edit the same
+document simultaneously. Many people can even edit the same block
+of text simultaneously, but if more than one person tries to edit
+the same line at one time, a conflict will occur, which results in
+only one of the changes being preserved.
+
+In general, it is up to you how you use NTE. You must develop
+human protocols to be able to collaborate, even in face-to-face
+meetings, and NTE is no exception. It will work well if you
+cooperate, and not if you don't.
diff --git a/mbone/nte/pkg-plist b/mbone/nte/pkg-plist
new file mode 100644
index 000000000000..674ee76ebbf6
--- /dev/null
+++ b/mbone/nte/pkg-plist
@@ -0,0 +1 @@
+bin/nt
diff --git a/mbone/nte/scripts/configure b/mbone/nte/scripts/configure
new file mode 100644
index 000000000000..c1432a1bbbc8
--- /dev/null
+++ b/mbone/nte/scripts/configure
@@ -0,0 +1,5 @@
+if [ ! -d ${WRKSRC}/freebsd ]; then
+ mkdir ${WRKSRC}/freebsd
+fi
+cat ${WRKSRC}/src/Makefile.template ${FILESDIR}/Makefile.freebsd > ${WRKSRC}/freebsd/Makefile
+cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile